Class Mask
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.Mask
-
public class Mask extends CFacade
Generated facet for DNA struct type 'Mask'.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__adt
Field descriptor (offset) for struct member 'adt'.static long[]
__DNA__FIELD__efra
Field descriptor (offset) for struct member 'efra'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.static long[]
__DNA__FIELD__masklay_act
Field descriptor (offset) for struct member 'masklay_act'.static long[]
__DNA__FIELD__masklay_tot
Field descriptor (offset) for struct member 'masklay_tot'.static long[]
__DNA__FIELD__masklayers
Field descriptor (offset) for struct member 'masklayers'.static long[]
__DNA__FIELD__sfra
Field descriptor (offset) for struct member 'sfra'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct Mask.-
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 Mask(long __address, Block __block, BlockTable __blockTable)
protected
Mask(Mask that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<Mask>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CPointer<AnimData>
getAdt()
Get method for struct member 'adt'.int
getEfra()
Get method for struct member 'efra'.int
getFlag()
Get method for struct member 'flag'.ID
getId()
Get method for struct member 'id'.int
getMasklay_act()
Get method for struct member 'masklay_act'.int
getMasklay_tot()
Get method for struct member 'masklay_tot'.ListBase
getMasklayers()
Get method for struct member 'masklayers'.int
getSfra()
Get method for struct member 'sfra'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setAdt(CPointer<AnimData> adt)
Set method for struct member 'adt'.void
setEfra(int efra)
Set method for struct member 'efra'.void
setFlag(int flag)
Set method for struct member 'flag'.void
setId(ID id)
Set method for struct member 'id'.void
setMasklay_act(int masklay_act)
Set method for struct member 'masklay_act'.void
setMasklay_tot(int masklay_tot)
Set method for struct member 'masklay_tot'.void
setMasklayers(ListBase masklayers)
Set method for struct member 'masklayers'.void
setSfra(int sfra)
Set method for struct member 'sfra'.-
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 Mask.It is required when allocating a new block to store data for Mask.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__id
public static final long[] __DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mask mask = ...; CPointer<Object> p = mask.__dna__addressof(Mask.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
Metadata
- Field: 'id'
- Signature: 'ID'
- Actual Size (32bit/64bit): 152/192
-
__DNA__FIELD__adt
public static final long[] __DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mask mask = ...; CPointer<Object> p = mask.__dna__addressof(Mask.__DNA__FIELD__adt); CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
Metadata
- Field: 'adt'
- Signature: 'AnimData*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__masklayers
public static final long[] __DNA__FIELD__masklayers
Field descriptor (offset) for struct member 'masklayers'.Field Documentation
Blender Source Code
Mask
layers.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mask mask = ...; CPointer<Object> p = mask.__dna__addressof(Mask.__DNA__FIELD__masklayers); CPointer<ListBase> p_masklayers = p.cast(new Class[]{ListBase.class});
Metadata
- Field: 'masklayers'
- Signature: 'ListBase'
- Actual Size (32bit/64bit): 8/16
-
__DNA__FIELD__masklay_act
public static final long[] __DNA__FIELD__masklay_act
Field descriptor (offset) for struct member 'masklay_act'.Field Documentation
Blender Source Code
Index of active mask layer (-1 == None).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mask mask = ...; CPointer<Object> p = mask.__dna__addressof(Mask.__DNA__FIELD__masklay_act); CPointer<Integer> p_masklay_act = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'masklay_act'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__masklay_tot
public static final long[] __DNA__FIELD__masklay_tot
Field descriptor (offset) for struct member 'masklay_tot'.Field Documentation
Blender Source Code
Total number of mask layers.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mask mask = ...; CPointer<Object> p = mask.__dna__addressof(Mask.__DNA__FIELD__masklay_tot); CPointer<Integer> p_masklay_tot = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'masklay_tot'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__sfra
public static final long[] __DNA__FIELD__sfra
Field descriptor (offset) for struct member 'sfra'.Field Documentation
Blender Source Code
Frames, used by the sequencer.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mask mask = ...; CPointer<Object> p = mask.__dna__addressof(Mask.__DNA__FIELD__sfra); CPointer<Integer> p_sfra = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'sfra'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__efra
public static final long[] __DNA__FIELD__efra
Field descriptor (offset) for struct member 'efra'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mask mask = ...; CPointer<Object> p = mask.__dna__addressof(Mask.__DNA__FIELD__efra); CPointer<Integer> p_efra = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'efra'
- 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
For anim info.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mask mask = ...; CPointer<Object> p = mask.__dna__addressof(Mask.__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___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:
Mask mask = ...; CPointer<Object> p = mask.__dna__addressof(Mask.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
Mask
public Mask(long __address, Block __block, BlockTable __blockTable)
-
Mask
protected Mask(Mask that)
-
-
Method Detail
-
getId
public ID getId() throws java.io.IOException
Get method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
setId
public void setId(ID id) throws java.io.IOException
Set method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
getAdt
public CPointer<AnimData> getAdt() throws java.io.IOException
Get method for struct member 'adt'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__adt
-
setAdt
public void setAdt(CPointer<AnimData> adt) throws java.io.IOException
Set method for struct member 'adt'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__adt
-
getMasklayers
public ListBase getMasklayers() throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__masklayers
-
setMasklayers
public void setMasklayers(ListBase masklayers) throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__masklayers
-
getMasklay_act
public int getMasklay_act() throws java.io.IOException
Get method for struct member 'masklay_act'.Field Documentation
Blender Source Code
Index of active mask layer (-1 == None).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__masklay_act
-
setMasklay_act
public void setMasklay_act(int masklay_act) throws java.io.IOException
Set method for struct member 'masklay_act'.Field Documentation
Blender Source Code
Index of active mask layer (-1 == None).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__masklay_act
-
getMasklay_tot
public int getMasklay_tot() throws java.io.IOException
Get method for struct member 'masklay_tot'.Field Documentation
Blender Source Code
Total number of mask layers.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__masklay_tot
-
setMasklay_tot
public void setMasklay_tot(int masklay_tot) throws java.io.IOException
Set method for struct member 'masklay_tot'.Field Documentation
Blender Source Code
Total number of mask layers.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__masklay_tot
-
getSfra
public int getSfra() throws java.io.IOException
Get method for struct member 'sfra'.Field Documentation
Blender Source Code
Frames, used by the sequencer.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sfra
-
setSfra
public void setSfra(int sfra) throws java.io.IOException
Set method for struct member 'sfra'.Field Documentation
Blender Source Code
Frames, used by the sequencer.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sfra
-
getEfra
public int getEfra() throws java.io.IOException
Get method for struct member 'efra'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__efra
-
setEfra
public void setEfra(int efra) throws java.io.IOException
Set method for struct member 'efra'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__efra
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Blender Source Code
For anim info.
- 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
For anim info.
- 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
-
-