public class Hair extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.
|
static long[] |
__DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.
|
static long[] |
__DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.
|
static long[] |
__DNA__FIELD__batch_cache
Field descriptor (offset) for struct member 'batch_cache'.
|
static long[] |
__DNA__FIELD__cdata
Field descriptor (offset) for struct member 'cdata'.
|
static long[] |
__DNA__FIELD__curves
Field descriptor (offset) for struct member 'curves'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__mapping
Field descriptor (offset) for struct member 'mapping'.
|
static long[] |
__DNA__FIELD__mat
Field descriptor (offset) for struct member 'mat'.
|
static long[] |
__DNA__FIELD__pdata
Field descriptor (offset) for struct member 'pdata'.
|
static long[] |
__DNA__FIELD__radius
Field descriptor (offset) for struct member 'radius'.
|
static long[] |
__DNA__FIELD__totcol
Field descriptor (offset) for struct member 'totcol'.
|
static long[] |
__DNA__FIELD__totcurve
Field descriptor (offset) for struct member 'totcurve'.
|
static long[] |
__DNA__FIELD__totpoint
Field descriptor (offset) for struct member 'totpoint'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct Hair.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
Hair(Hair that) |
|
Hair(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<Hair> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Integer> |
get_pad1()
Get method for struct member '_pad1'.
|
CArrayFacade<java.lang.Short> |
get_pad2()
Get method for struct member '_pad2'.
|
CPointer<AnimData> |
getAdt()
Get method for struct member 'adt'.
|
CPointer<java.lang.Object> |
getBatch_cache()
Get method for struct member 'batch_cache'.
|
CustomData |
getCdata()
Get method for struct member 'cdata'.
|
CPointer<HairCurve> |
getCurves()
Get method for struct member 'curves'.
|
int |
getFlag()
Get method for struct member 'flag'.
|
ID |
getId()
Get method for struct member 'id'.
|
CPointer<java.lang.Object> |
getMapping()
Get method for struct member 'mapping'.
|
CPointer<CPointer<Material>> |
getMat()
Get method for struct member 'mat'.
|
CustomData |
getPdata()
Get method for struct member 'pdata'.
|
CPointer<java.lang.Float> |
getRadius()
Get method for struct member 'radius'.
|
short |
getTotcol()
Get method for struct member 'totcol'.
|
int |
getTotcurve()
Get method for struct member 'totcurve'.
|
int |
getTotpoint()
Get method for struct member 'totpoint'.
|
void |
set_pad1(CArrayFacade<java.lang.Integer> _pad1)
Set method for struct member '_pad1'.
|
void |
set_pad2(CArrayFacade<java.lang.Short> _pad2)
Set method for struct member '_pad2'.
|
void |
setAdt(CPointer<AnimData> adt)
Set method for struct member 'adt'.
|
void |
setBatch_cache(CPointer<java.lang.Object> batch_cache)
Set method for struct member 'batch_cache'.
|
void |
setCdata(CustomData cdata)
Set method for struct member 'cdata'.
|
void |
setCurves(CPointer<HairCurve> curves)
Set method for struct member 'curves'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setId(ID id)
Set method for struct member 'id'.
|
void |
setMapping(CPointer<java.lang.Object> mapping)
Set method for struct member 'mapping'.
|
void |
setMat(CPointer<CPointer<Material>> mat)
Set method for struct member 'mat'.
|
void |
setPdata(CustomData pdata)
Set method for struct member 'pdata'.
|
void |
setRadius(CPointer<java.lang.Float> radius)
Set method for struct member 'radius'.
|
void |
setTotcol(short totcol)
Set method for struct member 'totcol'.
|
void |
setTotcurve(int totcurve)
Set method for struct member 'totcurve'.
|
void |
setTotpoint(int totpoint)
Set method for struct member 'totpoint'.
|
__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
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for Hair.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__id
This is how you get a reference on the corresponding field in the struct:
Hair hair = ...; CPointer<Object> p = hair.__dna__addressof(Hair.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
public static final long[] __DNA__FIELD__adt
animation data (must be immediately after id)
This is how you get a reference on the corresponding field in the struct:
Hair hair = ...; CPointer<Object> p = hair.__dna__addressof(Hair.__DNA__FIELD__adt); CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
Hair hair = ...; CPointer<Object> p = hair.__dna__addressof(Hair.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD___pad1
This is how you get a reference on the corresponding field in the struct:
Hair hair = ...; CPointer<Object> p = hair.__dna__addressof(Hair.__DNA__FIELD___pad1); CPointer<CArrayFacade<Integer>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Integer.class});
public static final long[] __DNA__FIELD__radius
This is how you get a reference on the corresponding field in the struct:
Hair hair = ...; CPointer<Object> p = hair.__dna__addressof(Hair.__DNA__FIELD__radius); CPointer<CPointer<Float>> p_radius = p.cast(new Class[]{CPointer.class, Float.class});
public static final long[] __DNA__FIELD__curves
This is how you get a reference on the corresponding field in the struct:
Hair hair = ...; CPointer<Object> p = hair.__dna__addressof(Hair.__DNA__FIELD__curves); CPointer<CPointer<HairCurve>> p_curves = p.cast(new Class[]{CPointer.class, HairCurve.class});
public static final long[] __DNA__FIELD__mapping
This is how you get a reference on the corresponding field in the struct:
Hair hair = ...; CPointer<Object> p = hair.__dna__addressof(Hair.__DNA__FIELD__mapping); CPointer<CPointer<Object>> p_mapping = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__totpoint
This is how you get a reference on the corresponding field in the struct:
Hair hair = ...; CPointer<Object> p = hair.__dna__addressof(Hair.__DNA__FIELD__totpoint); CPointer<Integer> p_totpoint = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__totcurve
This is how you get a reference on the corresponding field in the struct:
Hair hair = ...; CPointer<Object> p = hair.__dna__addressof(Hair.__DNA__FIELD__totcurve); CPointer<Integer> p_totcurve = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__pdata
Custom Data
This is how you get a reference on the corresponding field in the struct:
Hair hair = ...; CPointer<Object> p = hair.__dna__addressof(Hair.__DNA__FIELD__pdata); CPointer<CustomData> p_pdata = p.cast(new Class[]{CustomData.class});
public static final long[] __DNA__FIELD__cdata
This is how you get a reference on the corresponding field in the struct:
Hair hair = ...; CPointer<Object> p = hair.__dna__addressof(Hair.__DNA__FIELD__cdata); CPointer<CustomData> p_cdata = p.cast(new Class[]{CustomData.class});
public static final long[] __DNA__FIELD__mat
This is how you get a reference on the corresponding field in the struct:
Hair hair = ...; CPointer<Object> p = hair.__dna__addressof(Hair.__DNA__FIELD__mat); CPointer<CPointer<CPointer<Material>>> p_mat = p.cast(new Class[]{CPointer.class, CPointer.class, Material.class});
public static final long[] __DNA__FIELD__totcol
This is how you get a reference on the corresponding field in the struct:
Hair hair = ...; CPointer<Object> p = hair.__dna__addressof(Hair.__DNA__FIELD__totcol); CPointer<Short> p_totcol = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD___pad2
This is how you get a reference on the corresponding field in the struct:
Hair hair = ...; CPointer<Object> p = hair.__dna__addressof(Hair.__DNA__FIELD___pad2); CPointer<CArrayFacade<Short>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Short.class});
public static final long[] __DNA__FIELD__batch_cache
Draw Cache
This is how you get a reference on the corresponding field in the struct:
Hair hair = ...; CPointer<Object> p = hair.__dna__addressof(Hair.__DNA__FIELD__batch_cache); CPointer<CPointer<Object>> p_batch_cache = p.cast(new Class[]{CPointer.class, Object.class});
public Hair(long __address, Block __block, BlockTable __blockTable)
protected Hair(Hair that)
public ID getId() throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public void setId(ID id) throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public CPointer<AnimData> getAdt() throws java.io.IOException
animation data (must be immediately after id)
java.io.IOException
__DNA__FIELD__adt
public void setAdt(CPointer<AnimData> adt) throws java.io.IOException
animation data (must be immediately after id)
java.io.IOException
__DNA__FIELD__adt
public int getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public CArrayFacade<java.lang.Integer> get_pad1() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad1
public void set_pad1(CArrayFacade<java.lang.Integer> _pad1) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad1
public CPointer<java.lang.Float> getRadius() throws java.io.IOException
java.io.IOException
__DNA__FIELD__radius
public void setRadius(CPointer<java.lang.Float> radius) throws java.io.IOException
java.io.IOException
__DNA__FIELD__radius
public CPointer<HairCurve> getCurves() throws java.io.IOException
java.io.IOException
__DNA__FIELD__curves
public void setCurves(CPointer<HairCurve> curves) throws java.io.IOException
java.io.IOException
__DNA__FIELD__curves
public CPointer<java.lang.Object> getMapping() throws java.io.IOException
java.io.IOException
__DNA__FIELD__mapping
public void setMapping(CPointer<java.lang.Object> mapping) throws java.io.IOException
java.io.IOException
__DNA__FIELD__mapping
public int getTotpoint() throws java.io.IOException
java.io.IOException
__DNA__FIELD__totpoint
public void setTotpoint(int totpoint) throws java.io.IOException
java.io.IOException
__DNA__FIELD__totpoint
public int getTotcurve() throws java.io.IOException
java.io.IOException
__DNA__FIELD__totcurve
public void setTotcurve(int totcurve) throws java.io.IOException
java.io.IOException
__DNA__FIELD__totcurve
public CustomData getPdata() throws java.io.IOException
Custom Data
java.io.IOException
__DNA__FIELD__pdata
public void setPdata(CustomData pdata) throws java.io.IOException
Custom Data
java.io.IOException
__DNA__FIELD__pdata
public CustomData getCdata() throws java.io.IOException
java.io.IOException
__DNA__FIELD__cdata
public void setCdata(CustomData cdata) throws java.io.IOException
java.io.IOException
__DNA__FIELD__cdata
public CPointer<CPointer<Material>> getMat() throws java.io.IOException
java.io.IOException
__DNA__FIELD__mat
public void setMat(CPointer<CPointer<Material>> mat) throws java.io.IOException
java.io.IOException
__DNA__FIELD__mat
public short getTotcol() throws java.io.IOException
java.io.IOException
__DNA__FIELD__totcol
public void setTotcol(short totcol) throws java.io.IOException
java.io.IOException
__DNA__FIELD__totcol
public CArrayFacade<java.lang.Short> get_pad2() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad2
public void set_pad2(CArrayFacade<java.lang.Short> _pad2) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad2
public CPointer<java.lang.Object> getBatch_cache() throws java.io.IOException
Draw Cache
java.io.IOException
__DNA__FIELD__batch_cache
public void setBatch_cache(CPointer<java.lang.Object> batch_cache) throws java.io.IOException
Draw Cache
java.io.IOException
__DNA__FIELD__batch_cache