public class FMod_Envelope extends CFacade
envelope-like adjustment to values (for fade in/out)
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__data
Field descriptor (offset) for struct member 'data'.
|
static long[] |
__DNA__FIELD__max
Field descriptor (offset) for struct member 'max'.
|
static long[] |
__DNA__FIELD__midval
Field descriptor (offset) for struct member 'midval'.
|
static long[] |
__DNA__FIELD__min
Field descriptor (offset) for struct member 'min'.
|
static long[] |
__DNA__FIELD__totvert
Field descriptor (offset) for struct member 'totvert'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct FMod_Envelope.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
FMod_Envelope(FMod_Envelope that) |
|
FMod_Envelope(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<FMod_Envelope> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<FCM_EnvelopeData> |
getData()
Get method for struct member 'data'.
|
float |
getMax()
Get method for struct member 'max'.
|
float |
getMidval()
Get method for struct member 'midval'.
|
float |
getMin()
Get method for struct member 'min'.
|
int |
getTotvert()
Get method for struct member 'totvert'.
|
void |
setData(CPointer<FCM_EnvelopeData> data)
Set method for struct member 'data'.
|
void |
setMax(float max)
Set method for struct member 'max'.
|
void |
setMidval(float midval)
Set method for struct member 'midval'.
|
void |
setMin(float min)
Set method for struct member 'min'.
|
void |
setTotvert(int totvert)
Set method for struct member 'totvert'.
|
__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_Envelope.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__data
Data-points defining envelope to apply (array) .
This is how you get a reference on the corresponding field in the struct:
FMod_Envelope fmod_envelope = ...; CPointer<Object> p = fmod_envelope.__dna__addressof(FMod_Envelope.__DNA__FIELD__data); CPointer<CPointer<FCM_EnvelopeData>> p_data = p.cast(new Class[]{CPointer.class, FCM_EnvelopeData.class});
public static final long[] __DNA__FIELD__totvert
Number of envelope points.
This is how you get a reference on the corresponding field in the struct:
FMod_Envelope fmod_envelope = ...; CPointer<Object> p = fmod_envelope.__dna__addressof(FMod_Envelope.__DNA__FIELD__totvert); CPointer<Integer> p_totvert = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__midval
Value that envelope's influence is centered around / based on.
This is how you get a reference on the corresponding field in the struct:
FMod_Envelope fmod_envelope = ...; CPointer<Object> p = fmod_envelope.__dna__addressof(FMod_Envelope.__DNA__FIELD__midval); CPointer<Float> p_midval = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__min
Distances from 'middle-value' for 1:1 envelope influence.
This is how you get a reference on the corresponding field in the struct:
FMod_Envelope fmod_envelope = ...; CPointer<Object> p = fmod_envelope.__dna__addressof(FMod_Envelope.__DNA__FIELD__min); CPointer<Float> p_min = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__max
This is how you get a reference on the corresponding field in the struct:
FMod_Envelope fmod_envelope = ...; CPointer<Object> p = fmod_envelope.__dna__addressof(FMod_Envelope.__DNA__FIELD__max); CPointer<Float> p_max = p.cast(new Class[]{Float.class});
public FMod_Envelope(long __address, Block __block, BlockTable __blockTable)
protected FMod_Envelope(FMod_Envelope that)
public CPointer<FCM_EnvelopeData> getData() throws java.io.IOException
Data-points defining envelope to apply (array) .
java.io.IOException
__DNA__FIELD__data
public void setData(CPointer<FCM_EnvelopeData> data) throws java.io.IOException
Data-points defining envelope to apply (array) .
java.io.IOException
__DNA__FIELD__data
public int getTotvert() throws java.io.IOException
Number of envelope points.
java.io.IOException
__DNA__FIELD__totvert
public void setTotvert(int totvert) throws java.io.IOException
Number of envelope points.
java.io.IOException
__DNA__FIELD__totvert
public float getMidval() throws java.io.IOException
Value that envelope's influence is centered around / based on.
java.io.IOException
__DNA__FIELD__midval
public void setMidval(float midval) throws java.io.IOException
Value that envelope's influence is centered around / based on.
java.io.IOException
__DNA__FIELD__midval
public float getMin() throws java.io.IOException
Distances from 'middle-value' for 1:1 envelope influence.
java.io.IOException
__DNA__FIELD__min
public void setMin(float min) throws java.io.IOException
Distances from 'middle-value' for 1:1 envelope influence.
java.io.IOException
__DNA__FIELD__min
public float getMax() throws java.io.IOException
java.io.IOException
__DNA__FIELD__max
public void setMax(float max) throws java.io.IOException
java.io.IOException
__DNA__FIELD__max
public CPointer<FMod_Envelope> __io__addressof()