Package org.blender.dna
Class NodeTexSky
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.NodeTexSky
-
public class NodeTexSky extends CFacade
Generated facet for DNA struct type 'NodeTexSky'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__base
Field descriptor (offset) for struct member 'base'.static long[]
__DNA__FIELD__ground_albedo
Field descriptor (offset) for struct member 'ground_albedo'.static long[]
__DNA__FIELD__sky_model
Field descriptor (offset) for struct member 'sky_model'.static long[]
__DNA__FIELD__sun_direction
Field descriptor (offset) for struct member 'sun_direction'.static long[]
__DNA__FIELD__turbidity
Field descriptor (offset) for struct member 'turbidity'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct NodeTexSky.-
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 NodeTexSky(long __address, Block __block, BlockTable __blockTable)
protected
NodeTexSky(NodeTexSky that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<NodeTexSky>
__io__addressof()
Instantiates a pointer on this instance.NodeTexBase
getBase()
Get method for struct member 'base'.float
getGround_albedo()
Get method for struct member 'ground_albedo'.int
getSky_model()
Get method for struct member 'sky_model'.CArrayFacade<java.lang.Float>
getSun_direction()
Get method for struct member 'sun_direction'.float
getTurbidity()
Get method for struct member 'turbidity'.void
setBase(NodeTexBase base)
Set method for struct member 'base'.void
setGround_albedo(float ground_albedo)
Set method for struct member 'ground_albedo'.void
setSky_model(int sky_model)
Set method for struct member 'sky_model'.void
setSun_direction(CArrayFacade<java.lang.Float> sun_direction)
Set method for struct member 'sun_direction'.void
setTurbidity(float turbidity)
Set method for struct member 'turbidity'.-
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 NodeTexSky.It is required when allocating a new block to store data for NodeTexSky.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__base
public static final long[] __DNA__FIELD__base
Field descriptor (offset) for struct member 'base'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
NodeTexSky nodetexsky = ...; CPointer<Object> p = nodetexsky.__dna__addressof(NodeTexSky.__DNA__FIELD__base); CPointer<NodeTexBase> p_base = p.cast(new Class[]{NodeTexBase.class});
Metadata
- Field: 'base'
- Signature: 'NodeTexBase'
- Actual Size (32bit/64bit): 956/960
-
__DNA__FIELD__sky_model
public static final long[] __DNA__FIELD__sky_model
Field descriptor (offset) for struct member 'sky_model'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
NodeTexSky nodetexsky = ...; CPointer<Object> p = nodetexsky.__dna__addressof(NodeTexSky.__DNA__FIELD__sky_model); CPointer<Integer> p_sky_model = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'sky_model'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__sun_direction
public static final long[] __DNA__FIELD__sun_direction
Field descriptor (offset) for struct member 'sun_direction'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
NodeTexSky nodetexsky = ...; CPointer<Object> p = nodetexsky.__dna__addressof(NodeTexSky.__DNA__FIELD__sun_direction); CPointer<CArrayFacade<Float>> p_sun_direction = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'sun_direction'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__turbidity
public static final long[] __DNA__FIELD__turbidity
Field descriptor (offset) for struct member 'turbidity'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
NodeTexSky nodetexsky = ...; CPointer<Object> p = nodetexsky.__dna__addressof(NodeTexSky.__DNA__FIELD__turbidity); CPointer<Float> p_turbidity = p.cast(new Class[]{Float.class});
Metadata
- Field: 'turbidity'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__ground_albedo
public static final long[] __DNA__FIELD__ground_albedo
Field descriptor (offset) for struct member 'ground_albedo'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
NodeTexSky nodetexsky = ...; CPointer<Object> p = nodetexsky.__dna__addressof(NodeTexSky.__DNA__FIELD__ground_albedo); CPointer<Float> p_ground_albedo = p.cast(new Class[]{Float.class});
Metadata
- Field: 'ground_albedo'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
NodeTexSky
public NodeTexSky(long __address, Block __block, BlockTable __blockTable)
-
NodeTexSky
protected NodeTexSky(NodeTexSky that)
-
-
Method Detail
-
getBase
public NodeTexBase getBase() throws java.io.IOException
Get method for struct member 'base'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__base
-
setBase
public void setBase(NodeTexBase base) throws java.io.IOException
Set method for struct member 'base'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__base
-
getSky_model
public int getSky_model() throws java.io.IOException
Get method for struct member 'sky_model'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sky_model
-
setSky_model
public void setSky_model(int sky_model) throws java.io.IOException
Set method for struct member 'sky_model'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sky_model
-
getSun_direction
public CArrayFacade<java.lang.Float> getSun_direction() throws java.io.IOException
Get method for struct member 'sun_direction'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sun_direction
-
setSun_direction
public void setSun_direction(CArrayFacade<java.lang.Float> sun_direction) throws java.io.IOException
Set method for struct member 'sun_direction'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sun_direction
-
getTurbidity
public float getTurbidity() throws java.io.IOException
Get method for struct member 'turbidity'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__turbidity
-
setTurbidity
public void setTurbidity(float turbidity) throws java.io.IOException
Set method for struct member 'turbidity'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__turbidity
-
getGround_albedo
public float getGround_albedo() throws java.io.IOException
Get method for struct member 'ground_albedo'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ground_albedo
-
setGround_albedo
public void setGround_albedo(float ground_albedo) throws java.io.IOException
Set method for struct member 'ground_albedo'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ground_albedo
-
__io__addressof
public CPointer<NodeTexSky> __io__addressof()
Instantiates a pointer on this instance.
-
-