Class MaskLayerShape
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.MaskLayerShape
-
public class MaskLayerShape extends CFacade
Generated facet for DNA struct type 'MaskLayerShape'.Class Documentation
Blender Source Code
one per frame
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__data
Field descriptor (offset) for struct member 'data'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__frame
Field descriptor (offset) for struct member 'frame'.static long[]
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.static long[]
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.static long[]
__DNA__FIELD__tot_vert
Field descriptor (offset) for struct member 'tot_vert'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct MaskLayerShape.-
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 MaskLayerShape(long __address, Block __block, BlockTable __blockTable)
protected
MaskLayerShape(MaskLayerShape that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<MaskLayerShape>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CPointer<java.lang.Float>
getData()
Get method for struct member 'data'.byte
getFlag()
Get method for struct member 'flag'.int
getFrame()
Get method for struct member 'frame'.CPointer<MaskLayerShape>
getNext()
Get method for struct member 'next'.CPointer<MaskLayerShape>
getPrev()
Get method for struct member 'prev'.int
getTot_vert()
Get method for struct member 'tot_vert'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setData(CPointer<java.lang.Float> data)
Set method for struct member 'data'.void
setFlag(byte flag)
Set method for struct member 'flag'.void
setFrame(int frame)
Set method for struct member 'frame'.void
setNext(CPointer<MaskLayerShape> next)
Set method for struct member 'next'.void
setPrev(CPointer<MaskLayerShape> prev)
Set method for struct member 'prev'.void
setTot_vert(int tot_vert)
Set method for struct member 'tot_vert'.-
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 MaskLayerShape.It is required when allocating a new block to store data for MaskLayerShape.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__next
public static final long[] __DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskLayerShape masklayershape = ...; CPointer<Object> p = masklayershape.__dna__addressof(MaskLayerShape.__DNA__FIELD__next); CPointer<CPointer<MaskLayerShape>> p_next = p.cast(new Class[]{CPointer.class, MaskLayerShape.class});
Metadata
- Field: 'next'
- Signature: 'MaskLayerShape*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__prev
public static final long[] __DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskLayerShape masklayershape = ...; CPointer<Object> p = masklayershape.__dna__addressof(MaskLayerShape.__DNA__FIELD__prev); CPointer<CPointer<MaskLayerShape>> p_prev = p.cast(new Class[]{CPointer.class, MaskLayerShape.class});
Metadata
- Field: 'prev'
- Signature: 'MaskLayerShape*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__data
public static final long[] __DNA__FIELD__data
Field descriptor (offset) for struct member 'data'.Field Documentation
Blender Source Code
U coordinate along spline segment and weight of this point.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskLayerShape masklayershape = ...; CPointer<Object> p = masklayershape.__dna__addressof(MaskLayerShape.__DNA__FIELD__data); CPointer<CPointer<Float>> p_data = p.cast(new Class[]{CPointer.class, Float.class});
Metadata
- Field: 'data'
- Signature: 'float*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__tot_vert
public static final long[] __DNA__FIELD__tot_vert
Field descriptor (offset) for struct member 'tot_vert'.Field Documentation
Blender Source Code
To ensure no buffer overruns's: alloc size is (tot_vert * MASK_OBJECT_SHAPE_ELEM_SIZE).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskLayerShape masklayershape = ...; CPointer<Object> p = masklayershape.__dna__addressof(MaskLayerShape.__DNA__FIELD__tot_vert); CPointer<Integer> p_tot_vert = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'tot_vert'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__frame
public static final long[] __DNA__FIELD__frame
Field descriptor (offset) for struct member 'frame'.Field Documentation
Blender Source Code
Different flags of this point.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskLayerShape masklayershape = ...; CPointer<Object> p = masklayershape.__dna__addressof(MaskLayerShape.__DNA__FIELD__frame); CPointer<Integer> p_frame = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'frame'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Field Documentation
Blender Source Code
Animation flag.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskLayerShape masklayershape = ...; CPointer<Object> p = masklayershape.__dna__addressof(MaskLayerShape.__DNA__FIELD__flag); CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'flag'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__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:
MaskLayerShape masklayershape = ...; CPointer<Object> p = masklayershape.__dna__addressof(MaskLayerShape.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[7]'
- Actual Size (32bit/64bit): 7/7
-
-
Constructor Detail
-
MaskLayerShape
public MaskLayerShape(long __address, Block __block, BlockTable __blockTable)
-
MaskLayerShape
protected MaskLayerShape(MaskLayerShape that)
-
-
Method Detail
-
getNext
public CPointer<MaskLayerShape> getNext() throws java.io.IOException
Get method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
setNext
public void setNext(CPointer<MaskLayerShape> next) throws java.io.IOException
Set method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
getPrev
public CPointer<MaskLayerShape> getPrev() throws java.io.IOException
Get method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
setPrev
public void setPrev(CPointer<MaskLayerShape> prev) throws java.io.IOException
Set method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
getData
public CPointer<java.lang.Float> getData() throws java.io.IOException
Get method for struct member 'data'.Field Documentation
Blender Source Code
U coordinate along spline segment and weight of this point.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data
-
setData
public void setData(CPointer<java.lang.Float> data) throws java.io.IOException
Set method for struct member 'data'.Field Documentation
Blender Source Code
U coordinate along spline segment and weight of this point.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data
-
getTot_vert
public int getTot_vert() throws java.io.IOException
Get method for struct member 'tot_vert'.Field Documentation
Blender Source Code
To ensure no buffer overruns's: alloc size is (tot_vert * MASK_OBJECT_SHAPE_ELEM_SIZE).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tot_vert
-
setTot_vert
public void setTot_vert(int tot_vert) throws java.io.IOException
Set method for struct member 'tot_vert'.Field Documentation
Blender Source Code
To ensure no buffer overruns's: alloc size is (tot_vert * MASK_OBJECT_SHAPE_ELEM_SIZE).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tot_vert
-
getFrame
public int getFrame() throws java.io.IOException
Get method for struct member 'frame'.Field Documentation
Blender Source Code
Different flags of this point.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__frame
-
setFrame
public void setFrame(int frame) throws java.io.IOException
Set method for struct member 'frame'.Field Documentation
Blender Source Code
Different flags of this point.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__frame
-
getFlag
public byte getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Blender Source Code
Animation flag.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(byte flag) throws java.io.IOException
Set method for struct member 'flag'.Field Documentation
Blender Source Code
Animation flag.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
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<MaskLayerShape> __io__addressof()
Instantiates a pointer on this instance.
-
-