Class CurveMapping
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.CurveMapping
-
public class CurveMapping extends CFacade
Generated facet for DNA struct type 'CurveMapping'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__black
Field descriptor (offset) for struct member 'black'.static long[]
__DNA__FIELD__bwmul
Field descriptor (offset) for struct member 'bwmul'.static long[]
__DNA__FIELD__changed_timestamp
Field descriptor (offset) for struct member 'changed_timestamp'.static long[]
__DNA__FIELD__clipr
Field descriptor (offset) for struct member 'clipr'.static long[]
__DNA__FIELD__cm
Field descriptor (offset) for struct member 'cm'.static long[]
__DNA__FIELD__cur
Field descriptor (offset) for struct member 'cur'.static long[]
__DNA__FIELD__curr
Field descriptor (offset) for struct member 'curr'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__preset
Field descriptor (offset) for struct member 'preset'.static long[]
__DNA__FIELD__sample
Field descriptor (offset) for struct member 'sample'.static long[]
__DNA__FIELD__tone
Field descriptor (offset) for struct member 'tone'.static long[]
__DNA__FIELD__white
Field descriptor (offset) for struct member 'white'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct CurveMapping.-
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 CurveMapping(long __address, Block __block, BlockTable __blockTable)
protected
CurveMapping(CurveMapping that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<CurveMapping>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CArrayFacade<java.lang.Float>
getBlack()
Get method for struct member 'black'.CArrayFacade<java.lang.Float>
getBwmul()
Get method for struct member 'bwmul'.int
getChanged_timestamp()
Get method for struct member 'changed_timestamp'.rctf
getClipr()
Get method for struct member 'clipr'.CArrayFacade<CurveMap>
getCm()
Get method for struct member 'cm'.int
getCur()
Get method for struct member 'cur'.rctf
getCurr()
Get method for struct member 'curr'.int
getFlag()
Get method for struct member 'flag'.int
getPreset()
Get method for struct member 'preset'.CArrayFacade<java.lang.Float>
getSample()
Get method for struct member 'sample'.short
getTone()
Get method for struct member 'tone'.CArrayFacade<java.lang.Float>
getWhite()
Get method for struct member 'white'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setBlack(CArrayFacade<java.lang.Float> black)
Set method for struct member 'black'.void
setBwmul(CArrayFacade<java.lang.Float> bwmul)
Set method for struct member 'bwmul'.void
setChanged_timestamp(int changed_timestamp)
Set method for struct member 'changed_timestamp'.void
setClipr(rctf clipr)
Set method for struct member 'clipr'.void
setCm(CArrayFacade<CurveMap> cm)
Set method for struct member 'cm'.void
setCur(int cur)
Set method for struct member 'cur'.void
setCurr(rctf curr)
Set method for struct member 'curr'.void
setFlag(int flag)
Set method for struct member 'flag'.void
setPreset(int preset)
Set method for struct member 'preset'.void
setSample(CArrayFacade<java.lang.Float> sample)
Set method for struct member 'sample'.void
setTone(short tone)
Set method for struct member 'tone'.void
setWhite(CArrayFacade<java.lang.Float> white)
Set method for struct member 'white'.-
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 CurveMapping.It is required when allocating a new block to store data for CurveMapping.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Field Documentation
Blender Source Code
Cur; for buttons, to show active curve.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMapping curvemapping = ...; CPointer<Object> p = curvemapping.__dna__addressof(CurveMapping.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'flag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__cur
public static final long[] __DNA__FIELD__cur
Field descriptor (offset) for struct member 'cur'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMapping curvemapping = ...; CPointer<Object> p = curvemapping.__dna__addressof(CurveMapping.__DNA__FIELD__cur); CPointer<Integer> p_cur = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'cur'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__preset
public static final long[] __DNA__FIELD__preset
Field descriptor (offset) for struct member 'preset'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMapping curvemapping = ...; CPointer<Object> p = curvemapping.__dna__addressof(CurveMapping.__DNA__FIELD__preset); CPointer<Integer> p_preset = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'preset'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__changed_timestamp
public static final long[] __DNA__FIELD__changed_timestamp
Field descriptor (offset) for struct member 'changed_timestamp'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMapping curvemapping = ...; CPointer<Object> p = curvemapping.__dna__addressof(CurveMapping.__DNA__FIELD__changed_timestamp); CPointer<Integer> p_changed_timestamp = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'changed_timestamp'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__curr
public static final long[] __DNA__FIELD__curr
Field descriptor (offset) for struct member 'curr'.Field Documentation
Blender Source Code
Current rect, clip rect (is default rect too).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMapping curvemapping = ...; CPointer<Object> p = curvemapping.__dna__addressof(CurveMapping.__DNA__FIELD__curr); CPointer<rctf> p_curr = p.cast(new Class[]{rctf.class});
Metadata
- Field: 'curr'
- Signature: 'rctf'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__clipr
public static final long[] __DNA__FIELD__clipr
Field descriptor (offset) for struct member 'clipr'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMapping curvemapping = ...; CPointer<Object> p = curvemapping.__dna__addressof(CurveMapping.__DNA__FIELD__clipr); CPointer<rctf> p_clipr = p.cast(new Class[]{rctf.class});
Metadata
- Field: 'clipr'
- Signature: 'rctf'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__cm
public static final long[] __DNA__FIELD__cm
Field descriptor (offset) for struct member 'cm'.Field Documentation
Blender Source Code
Max 4 builtin curves per mapping struct now.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMapping curvemapping = ...; CPointer<Object> p = curvemapping.__dna__addressof(CurveMapping.__DNA__FIELD__cm); CPointer<CArrayFacade<CurveMap>> p_cm = p.cast(new Class[]{CArrayFacade.class, CurveMap.class});
Metadata
- Field: 'cm'
- Signature: 'CurveMap[4]'
- Actual Size (32bit/64bit): 240/288
-
__DNA__FIELD__black
public static final long[] __DNA__FIELD__black
Field descriptor (offset) for struct member 'black'.Field Documentation
Blender Source Code
Black/white point (black[0] abused for current frame).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMapping curvemapping = ...; CPointer<Object> p = curvemapping.__dna__addressof(CurveMapping.__DNA__FIELD__black); CPointer<CArrayFacade<Float>> p_black = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'black'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__white
public static final long[] __DNA__FIELD__white
Field descriptor (offset) for struct member 'white'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMapping curvemapping = ...; CPointer<Object> p = curvemapping.__dna__addressof(CurveMapping.__DNA__FIELD__white); CPointer<CArrayFacade<Float>> p_white = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'white'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__bwmul
public static final long[] __DNA__FIELD__bwmul
Field descriptor (offset) for struct member 'bwmul'.Field Documentation
Blender Source Code
Black/white point multiply value, for speed.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMapping curvemapping = ...; CPointer<Object> p = curvemapping.__dna__addressof(CurveMapping.__DNA__FIELD__bwmul); CPointer<CArrayFacade<Float>> p_bwmul = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'bwmul'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__sample
public static final long[] __DNA__FIELD__sample
Field descriptor (offset) for struct member 'sample'.Field Documentation
Blender Source Code
Sample values, if flag set it draws line and intersection.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMapping curvemapping = ...; CPointer<Object> p = curvemapping.__dna__addressof(CurveMapping.__DNA__FIELD__sample); CPointer<CArrayFacade<Float>> p_sample = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'sample'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__tone
public static final long[] __DNA__FIELD__tone
Field descriptor (offset) for struct member 'tone'.Field Documentation
Blender Python API
Tone of the curvePointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMapping curvemapping = ...; CPointer<Object> p = curvemapping.__dna__addressof(CurveMapping.__DNA__FIELD__tone); CPointer<Short> p_tone = p.cast(new Class[]{Short.class});
Metadata
- Field: 'tone'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD___pad
public static final long[] __DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMapping curvemapping = ...; CPointer<Object> p = curvemapping.__dna__addressof(CurveMapping.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[6]'
- Actual Size (32bit/64bit): 6/6
-
-
Constructor Detail
-
CurveMapping
public CurveMapping(long __address, Block __block, BlockTable __blockTable)
-
CurveMapping
protected CurveMapping(CurveMapping that)
-
-
Method Detail
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Blender Source Code
Cur; for buttons, to show active curve.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(int flag) throws java.io.IOException
Set method for struct member 'flag'.Field Documentation
Blender Source Code
Cur; for buttons, to show active curve.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getCur
public int getCur() throws java.io.IOException
Get method for struct member 'cur'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cur
-
setCur
public void setCur(int cur) throws java.io.IOException
Set method for struct member 'cur'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cur
-
getPreset
public int getPreset() throws java.io.IOException
Get method for struct member 'preset'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__preset
-
setPreset
public void setPreset(int preset) throws java.io.IOException
Set method for struct member 'preset'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__preset
-
getChanged_timestamp
public int getChanged_timestamp() throws java.io.IOException
Get method for struct member 'changed_timestamp'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__changed_timestamp
-
setChanged_timestamp
public void setChanged_timestamp(int changed_timestamp) throws java.io.IOException
Set method for struct member 'changed_timestamp'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__changed_timestamp
-
getCurr
public rctf getCurr() throws java.io.IOException
Get method for struct member 'curr'.Field Documentation
Blender Source Code
Current rect, clip rect (is default rect too).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__curr
-
setCurr
public void setCurr(rctf curr) throws java.io.IOException
Set method for struct member 'curr'.Field Documentation
Blender Source Code
Current rect, clip rect (is default rect too).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__curr
-
getClipr
public rctf getClipr() throws java.io.IOException
Get method for struct member 'clipr'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__clipr
-
setClipr
public void setClipr(rctf clipr) throws java.io.IOException
Set method for struct member 'clipr'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__clipr
-
getCm
public CArrayFacade<CurveMap> getCm() throws java.io.IOException
Get method for struct member 'cm'.Field Documentation
Blender Source Code
Max 4 builtin curves per mapping struct now.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cm
-
setCm
public void setCm(CArrayFacade<CurveMap> cm) throws java.io.IOException
Set method for struct member 'cm'.Field Documentation
Blender Source Code
Max 4 builtin curves per mapping struct now.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cm
-
getBlack
public CArrayFacade<java.lang.Float> getBlack() throws java.io.IOException
Get method for struct member 'black'.Field Documentation
Blender Source Code
Black/white point (black[0] abused for current frame).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__black
-
setBlack
public void setBlack(CArrayFacade<java.lang.Float> black) throws java.io.IOException
Set method for struct member 'black'.Field Documentation
Blender Source Code
Black/white point (black[0] abused for current frame).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__black
-
getWhite
public CArrayFacade<java.lang.Float> getWhite() throws java.io.IOException
Get method for struct member 'white'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__white
-
setWhite
public void setWhite(CArrayFacade<java.lang.Float> white) throws java.io.IOException
Set method for struct member 'white'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__white
-
getBwmul
public CArrayFacade<java.lang.Float> getBwmul() throws java.io.IOException
Get method for struct member 'bwmul'.Field Documentation
Blender Source Code
Black/white point multiply value, for speed.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__bwmul
-
setBwmul
public void setBwmul(CArrayFacade<java.lang.Float> bwmul) throws java.io.IOException
Set method for struct member 'bwmul'.Field Documentation
Blender Source Code
Black/white point multiply value, for speed.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__bwmul
-
getSample
public CArrayFacade<java.lang.Float> getSample() throws java.io.IOException
Get method for struct member 'sample'.Field Documentation
Blender Source Code
Sample values, if flag set it draws line and intersection.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sample
-
setSample
public void setSample(CArrayFacade<java.lang.Float> sample) throws java.io.IOException
Set method for struct member 'sample'.Field Documentation
Blender Source Code
Sample values, if flag set it draws line and intersection.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sample
-
getTone
public short getTone() throws java.io.IOException
Get method for struct member 'tone'.Field Documentation
Blender Python API
Tone of the curve- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tone
-
setTone
public void setTone(short tone) throws java.io.IOException
Set method for struct member 'tone'.Field Documentation
Blender Python API
Tone of the curve- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tone
-
get_pad
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
Get method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
set_pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
Set method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
__io__addressof
public CPointer<CurveMapping> __io__addressof()
Instantiates a pointer on this instance.
-
-