public class SolidLight extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad0
Field descriptor (offset) for struct member '_pad0'.
|
static long[] |
__DNA__FIELD__col
Field descriptor (offset) for struct member 'col'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__smooth
Field descriptor (offset) for struct member 'smooth'.
|
static long[] |
__DNA__FIELD__spec
Field descriptor (offset) for struct member 'spec'.
|
static long[] |
__DNA__FIELD__vec
Field descriptor (offset) for struct member 'vec'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct SolidLight.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
SolidLight(long __address,
Block __block,
BlockTable __blockTable) |
protected |
SolidLight(SolidLight that) |
Modifier and Type | Method and Description |
---|---|
CPointer<SolidLight> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad0()
Get method for struct member '_pad0'.
|
CArrayFacade<java.lang.Float> |
getCol()
Get method for struct member 'col'.
|
int |
getFlag()
Get method for struct member 'flag'.
|
float |
getSmooth()
Get method for struct member 'smooth'.
|
CArrayFacade<java.lang.Float> |
getSpec()
Get method for struct member 'spec'.
|
CArrayFacade<java.lang.Float> |
getVec()
Get method for struct member 'vec'.
|
void |
set_pad0(CArrayFacade<java.lang.Byte> _pad0)
Set method for struct member '_pad0'.
|
void |
setCol(CArrayFacade<java.lang.Float> col)
Set method for struct member 'col'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setSmooth(float smooth)
Set method for struct member 'smooth'.
|
void |
setSpec(CArrayFacade<java.lang.Float> spec)
Set method for struct member 'spec'.
|
void |
setVec(CArrayFacade<java.lang.Float> vec)
Set method for struct member 'vec'.
|
__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 SolidLight.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
SolidLight solidlight = ...; CPointer<Object> p = solidlight.__dna__addressof(SolidLight.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__smooth
This is how you get a reference on the corresponding field in the struct:
SolidLight solidlight = ...; CPointer<Object> p = solidlight.__dna__addressof(SolidLight.__DNA__FIELD__smooth); CPointer<Float> p_smooth = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD___pad0
This is how you get a reference on the corresponding field in the struct:
SolidLight solidlight = ...; CPointer<Object> p = solidlight.__dna__addressof(SolidLight.__DNA__FIELD___pad0); CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__col
This is how you get a reference on the corresponding field in the struct:
SolidLight solidlight = ...; CPointer<Object> p = solidlight.__dna__addressof(SolidLight.__DNA__FIELD__col); CPointer<CArrayFacade<Float>> p_col = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__spec
This is how you get a reference on the corresponding field in the struct:
SolidLight solidlight = ...; CPointer<Object> p = solidlight.__dna__addressof(SolidLight.__DNA__FIELD__spec); CPointer<CArrayFacade<Float>> p_spec = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__vec
This is how you get a reference on the corresponding field in the struct:
SolidLight solidlight = ...; CPointer<Object> p = solidlight.__dna__addressof(SolidLight.__DNA__FIELD__vec); CPointer<CArrayFacade<Float>> p_vec = p.cast(new Class[]{CArrayFacade.class, Float.class});
public SolidLight(long __address, Block __block, BlockTable __blockTable)
protected SolidLight(SolidLight that)
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 float getSmooth() throws java.io.IOException
java.io.IOException
__DNA__FIELD__smooth
public void setSmooth(float smooth) throws java.io.IOException
java.io.IOException
__DNA__FIELD__smooth
public CArrayFacade<java.lang.Byte> get_pad0() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad0
public void set_pad0(CArrayFacade<java.lang.Byte> _pad0) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad0
public CArrayFacade<java.lang.Float> getCol() throws java.io.IOException
java.io.IOException
__DNA__FIELD__col
public void setCol(CArrayFacade<java.lang.Float> col) throws java.io.IOException
java.io.IOException
__DNA__FIELD__col
public CArrayFacade<java.lang.Float> getSpec() throws java.io.IOException
java.io.IOException
__DNA__FIELD__spec
public void setSpec(CArrayFacade<java.lang.Float> spec) throws java.io.IOException
java.io.IOException
__DNA__FIELD__spec
public CArrayFacade<java.lang.Float> getVec() throws java.io.IOException
java.io.IOException
__DNA__FIELD__vec
public void setVec(CArrayFacade<java.lang.Float> vec) throws java.io.IOException
java.io.IOException
__DNA__FIELD__vec
public CPointer<SolidLight> __io__addressof()