Class MaskLayer
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.MaskLayer
-
public class MaskLayer extends CFacade
Generated facet for DNA struct type 'MaskLayer'.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__act_point
Field descriptor (offset) for struct member 'act_point'.static long[]
__DNA__FIELD__act_spline
Field descriptor (offset) for struct member 'act_spline'.static long[]
__DNA__FIELD__alpha
Field descriptor (offset) for struct member 'alpha'.static long[]
__DNA__FIELD__blend
Field descriptor (offset) for struct member 'blend'.static long[]
__DNA__FIELD__blend_flag
Field descriptor (offset) for struct member 'blend_flag'.static long[]
__DNA__FIELD__falloff
Field descriptor (offset) for struct member 'falloff'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.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__restrictflag
Field descriptor (offset) for struct member 'restrictflag'.static long[]
__DNA__FIELD__splines
Field descriptor (offset) for struct member 'splines'.static long[]
__DNA__FIELD__splines_shapes
Field descriptor (offset) for struct member 'splines_shapes'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct MaskLayer.-
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 MaskLayer(long __address, Block __block, BlockTable __blockTable)
protected
MaskLayer(MaskLayer that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<MaskLayer>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CPointer<MaskSplinePoint>
getAct_point()
Get method for struct member 'act_point'.CPointer<MaskSpline>
getAct_spline()
Get method for struct member 'act_spline'.float
getAlpha()
Get method for struct member 'alpha'.byte
getBlend()
Get method for struct member 'blend'.byte
getBlend_flag()
Get method for struct member 'blend_flag'.byte
getFalloff()
Get method for struct member 'falloff'.byte
getFlag()
Get method for struct member 'flag'.CArrayFacade<java.lang.Byte>
getName()
Get method for struct member 'name'.CPointer<MaskLayer>
getNext()
Get method for struct member 'next'.CPointer<MaskLayer>
getPrev()
Get method for struct member 'prev'.byte
getRestrictflag()
Get method for struct member 'restrictflag'.ListBase
getSplines()
Get method for struct member 'splines'.ListBase
getSplines_shapes()
Get method for struct member 'splines_shapes'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setAct_point(CPointer<MaskSplinePoint> act_point)
Set method for struct member 'act_point'.void
setAct_spline(CPointer<MaskSpline> act_spline)
Set method for struct member 'act_spline'.void
setAlpha(float alpha)
Set method for struct member 'alpha'.void
setBlend(byte blend)
Set method for struct member 'blend'.void
setBlend_flag(byte blend_flag)
Set method for struct member 'blend_flag'.void
setFalloff(byte falloff)
Set method for struct member 'falloff'.void
setFlag(byte flag)
Set method for struct member 'flag'.void
setName(CArrayFacade<java.lang.Byte> name)
Set method for struct member 'name'.void
setNext(CPointer<MaskLayer> next)
Set method for struct member 'next'.void
setPrev(CPointer<MaskLayer> prev)
Set method for struct member 'prev'.void
setRestrictflag(byte restrictflag)
Set method for struct member 'restrictflag'.void
setSplines(ListBase splines)
Set method for struct member 'splines'.void
setSplines_shapes(ListBase splines_shapes)
Set method for struct member 'splines_shapes'.-
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 MaskLayer.It is required when allocating a new block to store data for MaskLayer.
- 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:
MaskLayer masklayer = ...; CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__next); CPointer<CPointer<MaskLayer>> p_next = p.cast(new Class[]{CPointer.class, MaskLayer.class});
Metadata
- Field: 'next'
- Signature: 'MaskLayer*'
- 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:
MaskLayer masklayer = ...; CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__prev); CPointer<CPointer<MaskLayer>> p_prev = p.cast(new Class[]{CPointer.class, MaskLayer.class});
Metadata
- Field: 'prev'
- Signature: 'MaskLayer*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__name
public static final long[] __DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.Field Documentation
Blender Python API
Unique name of layerBlender Source Code
Name of the mask layer (64 = MAD_ID_NAME - 2).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskLayer masklayer = ...; CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__name); CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'name'
- Signature: 'char[64]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__splines
public static final long[] __DNA__FIELD__splines
Field descriptor (offset) for struct member 'splines'.Field Documentation
Blender Python API
(read-only) Collection of splines which defines this layerBlender Source Code
List of splines which defines this mask layer.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskLayer masklayer = ...; CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__splines); CPointer<ListBase> p_splines = p.cast(new Class[]{ListBase.class});
Metadata
- Field: 'splines'
- Signature: 'ListBase'
- Actual Size (32bit/64bit): 8/16
-
__DNA__FIELD__splines_shapes
public static final long[] __DNA__FIELD__splines_shapes
Field descriptor (offset) for struct member 'splines_shapes'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskLayer masklayer = ...; CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__splines_shapes); CPointer<ListBase> p_splines_shapes = p.cast(new Class[]{ListBase.class});
Metadata
- Field: 'splines_shapes'
- Signature: 'ListBase'
- Actual Size (32bit/64bit): 8/16
-
__DNA__FIELD__act_spline
public static final long[] __DNA__FIELD__act_spline
Field descriptor (offset) for struct member 'act_spline'.Field Documentation
Blender Source Code
Active spline.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskLayer masklayer = ...; CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__act_spline); CPointer<CPointer<MaskSpline>> p_act_spline = p.cast(new Class[]{CPointer.class, MaskSpline.class});
Metadata
- Field: 'act_spline'
- Signature: 'MaskSpline*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__act_point
public static final long[] __DNA__FIELD__act_point
Field descriptor (offset) for struct member 'act_point'.Field Documentation
Blender Source Code
Active point.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskLayer masklayer = ...; CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__act_point); CPointer<CPointer<MaskSplinePoint>> p_act_point = p.cast(new Class[]{CPointer.class, MaskSplinePoint.class});
Metadata
- Field: 'act_point'
- Signature: 'MaskSplinePoint*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__alpha
public static final long[] __DNA__FIELD__alpha
Field descriptor (offset) for struct member 'alpha'.Field Documentation
Blender Python API
Render OpacityBlender Source Code
blending options
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskLayer masklayer = ...; CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__alpha); CPointer<Float> p_alpha = p.cast(new Class[]{Float.class});
Metadata
- Field: 'alpha'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__blend
public static final long[] __DNA__FIELD__blend
Field descriptor (offset) for struct member 'blend'.Field Documentation
Blender Python API
Method of blending mask layersPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskLayer masklayer = ...; CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__blend); CPointer<Byte> p_blend = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'blend'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__blend_flag
public static final long[] __DNA__FIELD__blend_flag
Field descriptor (offset) for struct member 'blend_flag'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskLayer masklayer = ...; CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__blend_flag); CPointer<Byte> p_blend_flag = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'blend_flag'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__falloff
public static final long[] __DNA__FIELD__falloff
Field descriptor (offset) for struct member 'falloff'.Field Documentation
Blender Python API
Falloff type the featherPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskLayer masklayer = ...; CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__falloff); CPointer<Byte> p_falloff = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'falloff'
- 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:
MaskLayer masklayer = ...; CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__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
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Field Documentation
Blender Source Code
For animation.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskLayer masklayer = ...; CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__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__restrictflag
public static final long[] __DNA__FIELD__restrictflag
Field descriptor (offset) for struct member 'restrictflag'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskLayer masklayer = ...; CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__restrictflag); CPointer<Byte> p_restrictflag = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'restrictflag'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
-
Constructor Detail
-
MaskLayer
public MaskLayer(long __address, Block __block, BlockTable __blockTable)
-
MaskLayer
protected MaskLayer(MaskLayer that)
-
-
Method Detail
-
getNext
public CPointer<MaskLayer> 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<MaskLayer> next) throws java.io.IOException
Set method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
getPrev
public CPointer<MaskLayer> 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<MaskLayer> prev) throws java.io.IOException
Set method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
getName
public CArrayFacade<java.lang.Byte> getName() throws java.io.IOException
Get method for struct member 'name'.Field Documentation
Blender Python API
Unique name of layerBlender Source Code
Name of the mask layer (64 = MAD_ID_NAME - 2).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__name
-
setName
public void setName(CArrayFacade<java.lang.Byte> name) throws java.io.IOException
Set method for struct member 'name'.Field Documentation
Blender Python API
Unique name of layerBlender Source Code
Name of the mask layer (64 = MAD_ID_NAME - 2).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__name
-
getSplines
public ListBase getSplines() throws java.io.IOException
Get method for struct member 'splines'.Field Documentation
Blender Python API
(read-only) Collection of splines which defines this layerBlender Source Code
List of splines which defines this mask layer.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__splines
-
setSplines
public void setSplines(ListBase splines) throws java.io.IOException
Set method for struct member 'splines'.Field Documentation
Blender Python API
(read-only) Collection of splines which defines this layerBlender Source Code
List of splines which defines this mask layer.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__splines
-
getSplines_shapes
public ListBase getSplines_shapes() throws java.io.IOException
Get method for struct member 'splines_shapes'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__splines_shapes
-
setSplines_shapes
public void setSplines_shapes(ListBase splines_shapes) throws java.io.IOException
Set method for struct member 'splines_shapes'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__splines_shapes
-
getAct_spline
public CPointer<MaskSpline> getAct_spline() throws java.io.IOException
Get method for struct member 'act_spline'.Field Documentation
Blender Source Code
Active spline.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__act_spline
-
setAct_spline
public void setAct_spline(CPointer<MaskSpline> act_spline) throws java.io.IOException
Set method for struct member 'act_spline'.Field Documentation
Blender Source Code
Active spline.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__act_spline
-
getAct_point
public CPointer<MaskSplinePoint> getAct_point() throws java.io.IOException
Get method for struct member 'act_point'.Field Documentation
Blender Source Code
Active point.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__act_point
-
setAct_point
public void setAct_point(CPointer<MaskSplinePoint> act_point) throws java.io.IOException
Set method for struct member 'act_point'.Field Documentation
Blender Source Code
Active point.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__act_point
-
getAlpha
public float getAlpha() throws java.io.IOException
Get method for struct member 'alpha'.Field Documentation
Blender Python API
Render OpacityBlender Source Code
blending options
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__alpha
-
setAlpha
public void setAlpha(float alpha) throws java.io.IOException
Set method for struct member 'alpha'.Field Documentation
Blender Python API
Render OpacityBlender Source Code
blending options
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__alpha
-
getBlend
public byte getBlend() throws java.io.IOException
Get method for struct member 'blend'.Field Documentation
Blender Python API
Method of blending mask layers- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__blend
-
setBlend
public void setBlend(byte blend) throws java.io.IOException
Set method for struct member 'blend'.Field Documentation
Blender Python API
Method of blending mask layers- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__blend
-
getBlend_flag
public byte getBlend_flag() throws java.io.IOException
Get method for struct member 'blend_flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__blend_flag
-
setBlend_flag
public void setBlend_flag(byte blend_flag) throws java.io.IOException
Set method for struct member 'blend_flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__blend_flag
-
getFalloff
public byte getFalloff() throws java.io.IOException
Get method for struct member 'falloff'.Field Documentation
Blender Python API
Falloff type the feather- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__falloff
-
setFalloff
public void setFalloff(byte falloff) throws java.io.IOException
Set method for struct member 'falloff'.Field Documentation
Blender Python API
Falloff type the feather- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__falloff
-
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
-
getFlag
public byte getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Blender Source Code
For animation.
- 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
For animation.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getRestrictflag
public byte getRestrictflag() throws java.io.IOException
Get method for struct member 'restrictflag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__restrictflag
-
setRestrictflag
public void setRestrictflag(byte restrictflag) throws java.io.IOException
Set method for struct member 'restrictflag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__restrictflag
-
-