public class FMod_FunctionGenerator extends CFacade
'Built-In Function' Generator modifier data
This uses the general equation for equations: y = amplitude * fn(phase_multiplier*x + phase_offset) + y_offset
where amplitude, phase_multiplier/offset, y_offset are user-defined coefficients, x is the evaluation 'time', and 'y' is the resultant value
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__amplitude
Field descriptor (offset) for struct member 'amplitude'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__phase_multiplier
Field descriptor (offset) for struct member 'phase_multiplier'.
|
static long[] |
__DNA__FIELD__phase_offset
Field descriptor (offset) for struct member 'phase_offset'.
|
static long[] |
__DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.
|
static long[] |
__DNA__FIELD__value_offset
Field descriptor (offset) for struct member 'value_offset'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct FMod_FunctionGenerator.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
FMod_FunctionGenerator(FMod_FunctionGenerator that) |
|
FMod_FunctionGenerator(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<FMod_FunctionGenerator> |
__io__addressof()
Instantiates a pointer on this instance.
|
float |
getAmplitude()
Get method for struct member 'amplitude'.
|
int |
getFlag()
Get method for struct member 'flag'.
|
float |
getPhase_multiplier()
Get method for struct member 'phase_multiplier'.
|
float |
getPhase_offset()
Get method for struct member 'phase_offset'.
|
int |
getType()
Get method for struct member 'type'.
|
float |
getValue_offset()
Get method for struct member 'value_offset'.
|
void |
setAmplitude(float amplitude)
Set method for struct member 'amplitude'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setPhase_multiplier(float phase_multiplier)
Set method for struct member 'phase_multiplier'.
|
void |
setPhase_offset(float phase_offset)
Set method for struct member 'phase_offset'.
|
void |
setType(int type)
Set method for struct member 'type'.
|
void |
setValue_offset(float value_offset)
Set method for struct member 'value_offset'.
|
__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_FunctionGenerator.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__amplitude
Coefficients for general equation (as above).
This is how you get a reference on the corresponding field in the struct:
FMod_FunctionGenerator fmod_functiongenerator = ...; CPointer<Object> p = fmod_functiongenerator.__dna__addressof(FMod_FunctionGenerator.__DNA__FIELD__amplitude); CPointer<Float> p_amplitude = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__phase_multiplier
This is how you get a reference on the corresponding field in the struct:
FMod_FunctionGenerator fmod_functiongenerator = ...; CPointer<Object> p = fmod_functiongenerator.__dna__addressof(FMod_FunctionGenerator.__DNA__FIELD__phase_multiplier); CPointer<Float> p_phase_multiplier = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__phase_offset
This is how you get a reference on the corresponding field in the struct:
FMod_FunctionGenerator fmod_functiongenerator = ...; CPointer<Object> p = fmod_functiongenerator.__dna__addressof(FMod_FunctionGenerator.__DNA__FIELD__phase_offset); CPointer<Float> p_phase_offset = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__value_offset
This is how you get a reference on the corresponding field in the struct:
FMod_FunctionGenerator fmod_functiongenerator = ...; CPointer<Object> p = fmod_functiongenerator.__dna__addressof(FMod_FunctionGenerator.__DNA__FIELD__value_offset); CPointer<Float> p_value_offset = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__type
flags eFMod_Generator_Functions
.
This is how you get a reference on the corresponding field in the struct:
FMod_FunctionGenerator fmod_functiongenerator = ...; CPointer<Object> p = fmod_functiongenerator.__dna__addressof(FMod_FunctionGenerator.__DNA__FIELD__type); CPointer<Integer> p_type = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__flag
#eFMod_Generator_flags.
This is how you get a reference on the corresponding field in the struct:
FMod_FunctionGenerator fmod_functiongenerator = ...; CPointer<Object> p = fmod_functiongenerator.__dna__addressof(FMod_FunctionGenerator.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public FMod_FunctionGenerator(long __address, Block __block, BlockTable __blockTable)
protected FMod_FunctionGenerator(FMod_FunctionGenerator that)
public float getAmplitude() throws java.io.IOException
Coefficients for general equation (as above).
java.io.IOException
__DNA__FIELD__amplitude
public void setAmplitude(float amplitude) throws java.io.IOException
Coefficients for general equation (as above).
java.io.IOException
__DNA__FIELD__amplitude
public float getPhase_multiplier() throws java.io.IOException
java.io.IOException
__DNA__FIELD__phase_multiplier
public void setPhase_multiplier(float phase_multiplier) throws java.io.IOException
java.io.IOException
__DNA__FIELD__phase_multiplier
public float getPhase_offset() throws java.io.IOException
java.io.IOException
__DNA__FIELD__phase_offset
public void setPhase_offset(float phase_offset) throws java.io.IOException
java.io.IOException
__DNA__FIELD__phase_offset
public float getValue_offset() throws java.io.IOException
java.io.IOException
__DNA__FIELD__value_offset
public void setValue_offset(float value_offset) throws java.io.IOException
java.io.IOException
__DNA__FIELD__value_offset
public int getType() throws java.io.IOException
flags eFMod_Generator_Functions
.
java.io.IOException
__DNA__FIELD__type
public void setType(int type) throws java.io.IOException
flags eFMod_Generator_Functions
.
java.io.IOException
__DNA__FIELD__type
public int getFlag() throws java.io.IOException
#eFMod_Generator_flags.
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
#eFMod_Generator_flags.
java.io.IOException
__DNA__FIELD__flag
public CPointer<FMod_FunctionGenerator> __io__addressof()