Class ClothModifierData
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.ClothModifierData
-
public class ClothModifierData extends CFacade
Generated facet for DNA struct type 'ClothModifierData'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__clothObject
Field descriptor (offset) for struct member 'clothObject'.static long[]
__DNA__FIELD__coll_parms
Field descriptor (offset) for struct member 'coll_parms'.static long[]
__DNA__FIELD__hair_grid_cellsize
Field descriptor (offset) for struct member 'hair_grid_cellsize'.static long[]
__DNA__FIELD__hair_grid_max
Field descriptor (offset) for struct member 'hair_grid_max'.static long[]
__DNA__FIELD__hair_grid_min
Field descriptor (offset) for struct member 'hair_grid_min'.static long[]
__DNA__FIELD__hair_grid_res
Field descriptor (offset) for struct member 'hair_grid_res'.static long[]
__DNA__FIELD__hairdata
Field descriptor (offset) for struct member 'hairdata'.static long[]
__DNA__FIELD__modifier
Field descriptor (offset) for struct member 'modifier'.static long[]
__DNA__FIELD__point_cache
Field descriptor (offset) for struct member 'point_cache'.static long[]
__DNA__FIELD__ptcaches
Field descriptor (offset) for struct member 'ptcaches'.static long[]
__DNA__FIELD__sim_parms
Field descriptor (offset) for struct member 'sim_parms'.static long[]
__DNA__FIELD__solver_result
Field descriptor (offset) for struct member 'solver_result'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct ClothModifierData.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description ClothModifierData(long __address, Block __block, BlockTable __blockTable)
protected
ClothModifierData(ClothModifierData that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<ClothModifierData>
__io__addressof()
Instantiates a pointer on this instance.CPointer<java.lang.Object>
getClothObject()
Get method for struct member 'clothObject'.CPointer<ClothCollSettings>
getColl_parms()
Get method for struct member 'coll_parms'.float
getHair_grid_cellsize()
Get method for struct member 'hair_grid_cellsize'.CArrayFacade<java.lang.Float>
getHair_grid_max()
Get method for struct member 'hair_grid_max'.CArrayFacade<java.lang.Float>
getHair_grid_min()
Get method for struct member 'hair_grid_min'.CArrayFacade<java.lang.Integer>
getHair_grid_res()
Get method for struct member 'hair_grid_res'.CPointer<java.lang.Object>
getHairdata()
Get method for struct member 'hairdata'.ModifierData
getModifier()
Get method for struct member 'modifier'.CPointer<PointCache>
getPoint_cache()
Get method for struct member 'point_cache'.ListBase
getPtcaches()
Get method for struct member 'ptcaches'.CPointer<ClothSimSettings>
getSim_parms()
Get method for struct member 'sim_parms'.CPointer<java.lang.Object>
getSolver_result()
Get method for struct member 'solver_result'.void
setClothObject(CPointer<java.lang.Object> clothObject)
Set method for struct member 'clothObject'.void
setColl_parms(CPointer<ClothCollSettings> coll_parms)
Set method for struct member 'coll_parms'.void
setHair_grid_cellsize(float hair_grid_cellsize)
Set method for struct member 'hair_grid_cellsize'.void
setHair_grid_max(CArrayFacade<java.lang.Float> hair_grid_max)
Set method for struct member 'hair_grid_max'.void
setHair_grid_min(CArrayFacade<java.lang.Float> hair_grid_min)
Set method for struct member 'hair_grid_min'.void
setHair_grid_res(CArrayFacade<java.lang.Integer> hair_grid_res)
Set method for struct member 'hair_grid_res'.void
setHairdata(CPointer<java.lang.Object> hairdata)
Set method for struct member 'hairdata'.void
setModifier(ModifierData modifier)
Set method for struct member 'modifier'.void
setPoint_cache(CPointer<PointCache> point_cache)
Set method for struct member 'point_cache'.void
setPtcaches(ListBase ptcaches)
Set method for struct member 'ptcaches'.void
setSim_parms(CPointer<ClothSimSettings> sim_parms)
Set method for struct member 'sim_parms'.void
setSolver_result(CPointer<java.lang.Object> solver_result)
Set method for struct member 'solver_result'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct ClothModifierData.It is required when allocating a new block to store data for ClothModifierData.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__modifier
public static final long[] __DNA__FIELD__modifier
Field descriptor (offset) for struct member 'modifier'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ClothModifierData clothmodifierdata = ...; CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__modifier); CPointer<ModifierData> p_modifier = p.cast(new Class[]{ModifierData.class});
Metadata
- Field: 'modifier'
- Signature: 'ModifierData'
- Actual Size (32bit/64bit): 104/120
-
__DNA__FIELD__clothObject
public static final long[] __DNA__FIELD__clothObject
Field descriptor (offset) for struct member 'clothObject'.Field Documentation
Blender Source Code
The internal data structure for cloth.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ClothModifierData clothmodifierdata = ...; CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__clothObject); CPointer<CPointer<Object>> p_clothObject = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'clothObject'
- Signature: 'Cloth*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__sim_parms
public static final long[] __DNA__FIELD__sim_parms
Field descriptor (offset) for struct member 'sim_parms'.Field Documentation
Blender Source Code
Definition is in DNA_cloth_types.h .
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ClothModifierData clothmodifierdata = ...; CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__sim_parms); CPointer<CPointer<ClothSimSettings>> p_sim_parms = p.cast(new Class[]{CPointer.class, ClothSimSettings.class});
Metadata
- Field: 'sim_parms'
- Signature: 'ClothSimSettings*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__coll_parms
public static final long[] __DNA__FIELD__coll_parms
Field descriptor (offset) for struct member 'coll_parms'.Field Documentation
Blender Source Code
Definition is in DNA_cloth_types.h .
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ClothModifierData clothmodifierdata = ...; CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__coll_parms); CPointer<CPointer<ClothCollSettings>> p_coll_parms = p.cast(new Class[]{CPointer.class, ClothCollSettings.class});
Metadata
- Field: 'coll_parms'
- Signature: 'ClothCollSettings*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__point_cache
public static final long[] __DNA__FIELD__point_cache
Field descriptor (offset) for struct member 'point_cache'.Field Documentation
Blender Source Code
PointCache
can be shared with other instances ofClothModifierData
to find out. Definition is in DNA_object_force_types.h .
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ClothModifierData clothmodifierdata = ...; CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__point_cache); CPointer<CPointer<PointCache>> p_point_cache = p.cast(new Class[]{CPointer.class, PointCache.class});
Metadata
- Field: 'point_cache'
- Signature: 'PointCache*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__ptcaches
public static final long[] __DNA__FIELD__ptcaches
Field descriptor (offset) for struct member 'ptcaches'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ClothModifierData clothmodifierdata = ...; CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__ptcaches); CPointer<ListBase> p_ptcaches = p.cast(new Class[]{ListBase.class});
Metadata
- Field: 'ptcaches'
- Signature: 'ListBase'
- Actual Size (32bit/64bit): 8/16
-
__DNA__FIELD__hairdata
public static final long[] __DNA__FIELD__hairdata
Field descriptor (offset) for struct member 'hairdata'.Field Documentation
Blender Source Code
XXX: nasty hack, remove once hair can be separated from cloth modifier data.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ClothModifierData clothmodifierdata = ...; CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__hairdata); CPointer<CPointer<Object>> p_hairdata = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'hairdata'
- Signature: 'ClothHairData*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__hair_grid_min
public static final long[] __DNA__FIELD__hair_grid_min
Field descriptor (offset) for struct member 'hair_grid_min'.Field Documentation
Blender Source Code
Grid geometry values of hair continuum.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ClothModifierData clothmodifierdata = ...; CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__hair_grid_min); CPointer<CArrayFacade<Float>> p_hair_grid_min = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'hair_grid_min'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__hair_grid_max
public static final long[] __DNA__FIELD__hair_grid_max
Field descriptor (offset) for struct member 'hair_grid_max'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ClothModifierData clothmodifierdata = ...; CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__hair_grid_max); CPointer<CArrayFacade<Float>> p_hair_grid_max = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'hair_grid_max'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__hair_grid_res
public static final long[] __DNA__FIELD__hair_grid_res
Field descriptor (offset) for struct member 'hair_grid_res'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ClothModifierData clothmodifierdata = ...; CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__hair_grid_res); CPointer<CArrayFacade<Integer>> p_hair_grid_res = p.cast(new Class[]{CArrayFacade.class, Integer.class});
Metadata
- Field: 'hair_grid_res'
- Signature: 'int[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__hair_grid_cellsize
public static final long[] __DNA__FIELD__hair_grid_cellsize
Field descriptor (offset) for struct member 'hair_grid_cellsize'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ClothModifierData clothmodifierdata = ...; CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__hair_grid_cellsize); CPointer<Float> p_hair_grid_cellsize = p.cast(new Class[]{Float.class});
Metadata
- Field: 'hair_grid_cellsize'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__solver_result
public static final long[] __DNA__FIELD__solver_result
Field descriptor (offset) for struct member 'solver_result'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ClothModifierData clothmodifierdata = ...; CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__solver_result); CPointer<CPointer<Object>> p_solver_result = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'solver_result'
- Signature: 'ClothSolverResult*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
ClothModifierData
public ClothModifierData(long __address, Block __block, BlockTable __blockTable)
-
ClothModifierData
protected ClothModifierData(ClothModifierData that)
-
-
Method Detail
-
getModifier
public ModifierData getModifier() throws java.io.IOException
Get method for struct member 'modifier'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__modifier
-
setModifier
public void setModifier(ModifierData modifier) throws java.io.IOException
Set method for struct member 'modifier'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__modifier
-
getClothObject
public CPointer<java.lang.Object> getClothObject() throws java.io.IOException
Get method for struct member 'clothObject'.Field Documentation
Blender Source Code
The internal data structure for cloth.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__clothObject
-
setClothObject
public void setClothObject(CPointer<java.lang.Object> clothObject) throws java.io.IOException
Set method for struct member 'clothObject'.Field Documentation
Blender Source Code
The internal data structure for cloth.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__clothObject
-
getSim_parms
public CPointer<ClothSimSettings> getSim_parms() throws java.io.IOException
Get method for struct member 'sim_parms'.Field Documentation
Blender Source Code
Definition is in DNA_cloth_types.h .
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sim_parms
-
setSim_parms
public void setSim_parms(CPointer<ClothSimSettings> sim_parms) throws java.io.IOException
Set method for struct member 'sim_parms'.Field Documentation
Blender Source Code
Definition is in DNA_cloth_types.h .
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sim_parms
-
getColl_parms
public CPointer<ClothCollSettings> getColl_parms() throws java.io.IOException
Get method for struct member 'coll_parms'.Field Documentation
Blender Source Code
Definition is in DNA_cloth_types.h .
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__coll_parms
-
setColl_parms
public void setColl_parms(CPointer<ClothCollSettings> coll_parms) throws java.io.IOException
Set method for struct member 'coll_parms'.Field Documentation
Blender Source Code
Definition is in DNA_cloth_types.h .
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__coll_parms
-
getPoint_cache
public CPointer<PointCache> getPoint_cache() throws java.io.IOException
Get method for struct member 'point_cache'.Field Documentation
Blender Source Code
PointCache
can be shared with other instances ofClothModifierData
to find out. Definition is in DNA_object_force_types.h .
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__point_cache
-
setPoint_cache
public void setPoint_cache(CPointer<PointCache> point_cache) throws java.io.IOException
Set method for struct member 'point_cache'.Field Documentation
Blender Source Code
PointCache
can be shared with other instances ofClothModifierData
to find out. Definition is in DNA_object_force_types.h .
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__point_cache
-
getPtcaches
public ListBase getPtcaches() throws java.io.IOException
Get method for struct member 'ptcaches'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ptcaches
-
setPtcaches
public void setPtcaches(ListBase ptcaches) throws java.io.IOException
Set method for struct member 'ptcaches'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ptcaches
-
getHairdata
public CPointer<java.lang.Object> getHairdata() throws java.io.IOException
Get method for struct member 'hairdata'.Field Documentation
Blender Source Code
XXX: nasty hack, remove once hair can be separated from cloth modifier data.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hairdata
-
setHairdata
public void setHairdata(CPointer<java.lang.Object> hairdata) throws java.io.IOException
Set method for struct member 'hairdata'.Field Documentation
Blender Source Code
XXX: nasty hack, remove once hair can be separated from cloth modifier data.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hairdata
-
getHair_grid_min
public CArrayFacade<java.lang.Float> getHair_grid_min() throws java.io.IOException
Get method for struct member 'hair_grid_min'.Field Documentation
Blender Source Code
Grid geometry values of hair continuum.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hair_grid_min
-
setHair_grid_min
public void setHair_grid_min(CArrayFacade<java.lang.Float> hair_grid_min) throws java.io.IOException
Set method for struct member 'hair_grid_min'.Field Documentation
Blender Source Code
Grid geometry values of hair continuum.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hair_grid_min
-
getHair_grid_max
public CArrayFacade<java.lang.Float> getHair_grid_max() throws java.io.IOException
Get method for struct member 'hair_grid_max'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hair_grid_max
-
setHair_grid_max
public void setHair_grid_max(CArrayFacade<java.lang.Float> hair_grid_max) throws java.io.IOException
Set method for struct member 'hair_grid_max'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hair_grid_max
-
getHair_grid_res
public CArrayFacade<java.lang.Integer> getHair_grid_res() throws java.io.IOException
Get method for struct member 'hair_grid_res'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hair_grid_res
-
setHair_grid_res
public void setHair_grid_res(CArrayFacade<java.lang.Integer> hair_grid_res) throws java.io.IOException
Set method for struct member 'hair_grid_res'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hair_grid_res
-
getHair_grid_cellsize
public float getHair_grid_cellsize() throws java.io.IOException
Get method for struct member 'hair_grid_cellsize'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hair_grid_cellsize
-
setHair_grid_cellsize
public void setHair_grid_cellsize(float hair_grid_cellsize) throws java.io.IOException
Set method for struct member 'hair_grid_cellsize'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hair_grid_cellsize
-
getSolver_result
public CPointer<java.lang.Object> getSolver_result() throws java.io.IOException
Get method for struct member 'solver_result'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__solver_result
-
setSolver_result
public void setSolver_result(CPointer<java.lang.Object> solver_result) throws java.io.IOException
Set method for struct member 'solver_result'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__solver_result
-
__io__addressof
public CPointer<ClothModifierData> __io__addressof()
Instantiates a pointer on this instance.
-
-