Class FMod_Envelope
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.FMod_Envelope
-
public class FMod_Envelope extends CFacade
Generated facet for DNA struct type 'FMod_Envelope'.Class Documentation
Blender Source Code
envelope-like adjustment to values (for fade in/out)
-
-
Field Summary
Fields Modifier and Type Field 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.-
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 FMod_Envelope(long __address, Block __block, BlockTable __blockTable)
protected
FMod_Envelope(FMod_Envelope that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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'.-
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 FMod_Envelope.It is required when allocating a new block to store data for FMod_Envelope.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__data
public static final long[] __DNA__FIELD__data
Field descriptor (offset) for struct member 'data'.Field Documentation
Blender Source Code
Data-points defining envelope to apply (array).
Pointer Arithmetics
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});
Metadata
- Field: 'data'
- Signature: 'FCM_EnvelopeData*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__totvert
public static final long[] __DNA__FIELD__totvert
Field descriptor (offset) for struct member 'totvert'.Field Documentation
Blender Source Code
Number of envelope points.
Pointer Arithmetics
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});
Metadata
- Field: 'totvert'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__midval
public static final long[] __DNA__FIELD__midval
Field descriptor (offset) for struct member 'midval'.Field Documentation
Blender Source Code
Value that envelope's influence is centered around / based on.
Pointer Arithmetics
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});
Metadata
- Field: 'midval'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__min
public static final long[] __DNA__FIELD__min
Field descriptor (offset) for struct member 'min'.Field Documentation
Blender Source Code
Distances from 'middle-value' for 1:1 envelope influence.
Pointer Arithmetics
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});
Metadata
- Field: 'min'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__max
public static final long[] __DNA__FIELD__max
Field descriptor (offset) for struct member 'max'.Pointer Arithmetics
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});
Metadata
- Field: 'max'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
FMod_Envelope
public FMod_Envelope(long __address, Block __block, BlockTable __blockTable)
-
FMod_Envelope
protected FMod_Envelope(FMod_Envelope that)
-
-
Method Detail
-
getData
public CPointer<FCM_EnvelopeData> getData() throws java.io.IOException
Get method for struct member 'data'.Field Documentation
Blender Source Code
Data-points defining envelope to apply (array).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data
-
setData
public void setData(CPointer<FCM_EnvelopeData> data) throws java.io.IOException
Set method for struct member 'data'.Field Documentation
Blender Source Code
Data-points defining envelope to apply (array).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data
-
getTotvert
public int getTotvert() throws java.io.IOException
Get method for struct member 'totvert'.Field Documentation
Blender Source Code
Number of envelope points.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totvert
-
setTotvert
public void setTotvert(int totvert) throws java.io.IOException
Set method for struct member 'totvert'.Field Documentation
Blender Source Code
Number of envelope points.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totvert
-
getMidval
public float getMidval() throws java.io.IOException
Get method for struct member 'midval'.Field Documentation
Blender Source Code
Value that envelope's influence is centered around / based on.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__midval
-
setMidval
public void setMidval(float midval) throws java.io.IOException
Set method for struct member 'midval'.Field Documentation
Blender Source Code
Value that envelope's influence is centered around / based on.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__midval
-
getMin
public float getMin() throws java.io.IOException
Get method for struct member 'min'.Field Documentation
Blender Source Code
Distances from 'middle-value' for 1:1 envelope influence.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__min
-
setMin
public void setMin(float min) throws java.io.IOException
Set method for struct member 'min'.Field Documentation
Blender Source Code
Distances from 'middle-value' for 1:1 envelope influence.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__min
-
getMax
public float getMax() throws java.io.IOException
Get method for struct member 'max'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__max
-
setMax
public void setMax(float max) throws java.io.IOException
Set method for struct member 'max'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__max
-
__io__addressof
public CPointer<FMod_Envelope> __io__addressof()
Instantiates a pointer on this instance.
-
-