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