public class FMod_Generator extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__arraysize
Field descriptor (offset) for struct member 'arraysize'.
|
static long[] |
__DNA__FIELD__coefficients
Field descriptor (offset) for struct member 'coefficients'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.
|
static long[] |
__DNA__FIELD__poly_order
Field descriptor (offset) for struct member 'poly_order'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct FMod_Generator.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
FMod_Generator(FMod_Generator that) |
|
FMod_Generator(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<FMod_Generator> |
__io__addressof()
Instantiates a pointer on this instance.
|
int |
getArraysize()
Get method for struct member 'arraysize'.
|
CPointer<java.lang.Float> |
getCoefficients()
Get method for struct member 'coefficients'.
|
int |
getFlag()
Get method for struct member 'flag'.
|
int |
getMode()
Get method for struct member 'mode'.
|
int |
getPoly_order()
Get method for struct member 'poly_order'.
|
void |
setArraysize(int arraysize)
Set method for struct member 'arraysize'.
|
void |
setCoefficients(CPointer<java.lang.Float> coefficients)
Set method for struct member 'coefficients'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setMode(int mode)
Set method for struct member 'mode'.
|
void |
setPoly_order(int poly_order)
Set method for struct member 'poly_order'.
|
__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 FMod_Generator.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__coefficients
general generator information Coefficients array.
This is how you get a reference on the corresponding field in the struct:
FMod_Generator fmod_generator = ...; CPointer<Object> p = fmod_generator.__dna__addressof(FMod_Generator.__DNA__FIELD__coefficients); CPointer<CPointer<Float>> p_coefficients = p.cast(new Class[]{CPointer.class, Float.class});
public static final long[] __DNA__FIELD__arraysize
Size of the coefficients array.
This is how you get a reference on the corresponding field in the struct:
FMod_Generator fmod_generator = ...; CPointer<Object> p = fmod_generator.__dna__addressof(FMod_Generator.__DNA__FIELD__arraysize); CPointer<Integer> p_arraysize = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__poly_order
Order of polynomial generated (i.e. 1 for linear, 2 for quadratic).
This is how you get a reference on the corresponding field in the struct:
FMod_Generator fmod_generator = ...; CPointer<Object> p = fmod_generator.__dna__addressof(FMod_Generator.__DNA__FIELD__poly_order); CPointer<Integer> p_poly_order = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__mode
Which 'generator' to use eFMod_Generator_Modes.
This is how you get a reference on the corresponding field in the struct:
FMod_Generator fmod_generator = ...; CPointer<Object> p = fmod_generator.__dna__addressof(FMod_Generator.__DNA__FIELD__mode); CPointer<Integer> p_mode = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__flag
Settings.
This is how you get a reference on the corresponding field in the struct:
FMod_Generator fmod_generator = ...; CPointer<Object> p = fmod_generator.__dna__addressof(FMod_Generator.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public FMod_Generator(long __address, Block __block, BlockTable __blockTable)
protected FMod_Generator(FMod_Generator that)
public CPointer<java.lang.Float> getCoefficients() throws java.io.IOException
general generator information Coefficients array.
java.io.IOException
__DNA__FIELD__coefficients
public void setCoefficients(CPointer<java.lang.Float> coefficients) throws java.io.IOException
general generator information Coefficients array.
java.io.IOException
__DNA__FIELD__coefficients
public int getArraysize() throws java.io.IOException
Size of the coefficients array.
java.io.IOException
__DNA__FIELD__arraysize
public void setArraysize(int arraysize) throws java.io.IOException
Size of the coefficients array.
java.io.IOException
__DNA__FIELD__arraysize
public int getPoly_order() throws java.io.IOException
Order of polynomial generated (i.e. 1 for linear, 2 for quadratic).
java.io.IOException
__DNA__FIELD__poly_order
public void setPoly_order(int poly_order) throws java.io.IOException
Order of polynomial generated (i.e. 1 for linear, 2 for quadratic).
java.io.IOException
__DNA__FIELD__poly_order
public int getMode() throws java.io.IOException
Which 'generator' to use eFMod_Generator_Modes.
java.io.IOException
__DNA__FIELD__mode
public void setMode(int mode) throws java.io.IOException
Which 'generator' to use eFMod_Generator_Modes.
java.io.IOException
__DNA__FIELD__mode
public int getFlag() throws java.io.IOException
Settings.
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
Settings.
java.io.IOException
__DNA__FIELD__flag
public CPointer<FMod_Generator> __io__addressof()