Package org.blender.dna
Class ColorMixVars
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.ColorMixVars
-
public class ColorMixVars extends CFacade
Generated facet for DNA struct type 'ColorMixVars'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__blend_effect
Field descriptor (offset) for struct member 'blend_effect'.static long[]
__DNA__FIELD__factor
Field descriptor (offset) for struct member 'factor'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct ColorMixVars.-
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 ColorMixVars(long __address, Block __block, BlockTable __blockTable)
protected
ColorMixVars(ColorMixVars that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<ColorMixVars>
__io__addressof()
Instantiates a pointer on this instance.int
getBlend_effect()
Get method for struct member 'blend_effect'.float
getFactor()
Get method for struct member 'factor'.void
setBlend_effect(int blend_effect)
Set method for struct member 'blend_effect'.void
setFactor(float factor)
Set method for struct member 'factor'.-
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 ColorMixVars.It is required when allocating a new block to store data for ColorMixVars.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__blend_effect
public static final long[] __DNA__FIELD__blend_effect
Field descriptor (offset) for struct member 'blend_effect'.Field Documentation
Blender Source Code
Value from SEQ_TYPE_XXX enumeration.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ColorMixVars colormixvars = ...; CPointer<Object> p = colormixvars.__dna__addressof(ColorMixVars.__DNA__FIELD__blend_effect); CPointer<Integer> p_blend_effect = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'blend_effect'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__factor
public static final long[] __DNA__FIELD__factor
Field descriptor (offset) for struct member 'factor'.Field Documentation
Blender Source Code
Blend factor [0.0f, 1.0f].
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ColorMixVars colormixvars = ...; CPointer<Object> p = colormixvars.__dna__addressof(ColorMixVars.__DNA__FIELD__factor); CPointer<Float> p_factor = p.cast(new Class[]{Float.class});
Metadata
- Field: 'factor'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
ColorMixVars
public ColorMixVars(long __address, Block __block, BlockTable __blockTable)
-
ColorMixVars
protected ColorMixVars(ColorMixVars that)
-
-
Method Detail
-
getBlend_effect
public int getBlend_effect() throws java.io.IOException
Get method for struct member 'blend_effect'.Field Documentation
Blender Source Code
Value from SEQ_TYPE_XXX enumeration.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__blend_effect
-
setBlend_effect
public void setBlend_effect(int blend_effect) throws java.io.IOException
Set method for struct member 'blend_effect'.Field Documentation
Blender Source Code
Value from SEQ_TYPE_XXX enumeration.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__blend_effect
-
getFactor
public float getFactor() throws java.io.IOException
Get method for struct member 'factor'.Field Documentation
Blender Source Code
Blend factor [0.0f, 1.0f].
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__factor
-
setFactor
public void setFactor(float factor) throws java.io.IOException
Set method for struct member 'factor'.Field Documentation
Blender Source Code
Blend factor [0.0f, 1.0f].
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__factor
-
__io__addressof
public CPointer<ColorMixVars> __io__addressof()
Instantiates a pointer on this instance.
-
-