Class bGPDlayer
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.bGPDlayer
-
public class bGPDlayer extends CFacade
Generated facet for DNA struct type 'bGPDlayer'.Class Documentation
Blender Source Code
Grease-Pencil Annotations - 'Layer'
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.static long[]
__DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.static long[]
__DNA__FIELD__act_mask
Field descriptor (offset) for struct member 'act_mask'.static long[]
__DNA__FIELD__actframe
Field descriptor (offset) for struct member 'actframe'.static long[]
__DNA__FIELD__blend_mode
Field descriptor (offset) for struct member 'blend_mode'.static long[]
__DNA__FIELD__color
Field descriptor (offset) for struct member 'color'.static long[]
__DNA__FIELD__fill
Field descriptor (offset) for struct member 'fill'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__frames
Field descriptor (offset) for struct member 'frames'.static long[]
__DNA__FIELD__gcolor_next
Field descriptor (offset) for struct member 'gcolor_next'.static long[]
__DNA__FIELD__gcolor_prev
Field descriptor (offset) for struct member 'gcolor_prev'.static long[]
__DNA__FIELD__gstep
Field descriptor (offset) for struct member 'gstep'.static long[]
__DNA__FIELD__gstep_next
Field descriptor (offset) for struct member 'gstep_next'.static long[]
__DNA__FIELD__info
Field descriptor (offset) for struct member 'info'.static long[]
__DNA__FIELD__inverse
Field descriptor (offset) for struct member 'inverse'.static long[]
__DNA__FIELD__line_change
Field descriptor (offset) for struct member 'line_change'.static long[]
__DNA__FIELD__mask_layers
Field descriptor (offset) for struct member 'mask_layers'.static long[]
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.static long[]
__DNA__FIELD__onion_flag
Field descriptor (offset) for struct member 'onion_flag'.static long[]
__DNA__FIELD__opacity
Field descriptor (offset) for struct member 'opacity'.static long[]
__DNA__FIELD__parent
Field descriptor (offset) for struct member 'parent'.static long[]
__DNA__FIELD__parsubstr
Field descriptor (offset) for struct member 'parsubstr'.static long[]
__DNA__FIELD__partype
Field descriptor (offset) for struct member 'partype'.static long[]
__DNA__FIELD__pass_index
Field descriptor (offset) for struct member 'pass_index'.static long[]
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.static long[]
__DNA__FIELD__runtime
Field descriptor (offset) for struct member 'runtime'.static long[]
__DNA__FIELD__thickness
Field descriptor (offset) for struct member 'thickness'.static long[]
__DNA__FIELD__tintcolor
Field descriptor (offset) for struct member 'tintcolor'.static long[]
__DNA__FIELD__vertex_paint_opacity
Field descriptor (offset) for struct member 'vertex_paint_opacity'.static long[]
__DNA__FIELD__viewlayername
Field descriptor (offset) for struct member 'viewlayername'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct bGPDlayer.-
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 bGPDlayer(long __address, Block __block, BlockTable __blockTable)
protected
bGPDlayer(bGPDlayer that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<bGPDlayer>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad1()
Get method for struct member '_pad1'.CArrayFacade<java.lang.Byte>
get_pad2()
Get method for struct member '_pad2'.int
getAct_mask()
Get method for struct member 'act_mask'.CPointer<bGPDframe>
getActframe()
Get method for struct member 'actframe'.int
getBlend_mode()
Get method for struct member 'blend_mode'.CArrayFacade<java.lang.Float>
getColor()
Get method for struct member 'color'.CArrayFacade<java.lang.Float>
getFill()
Get method for struct member 'fill'.short
getFlag()
Get method for struct member 'flag'.ListBase
getFrames()
Get method for struct member 'frames'.CArrayFacade<java.lang.Float>
getGcolor_next()
Get method for struct member 'gcolor_next'.CArrayFacade<java.lang.Float>
getGcolor_prev()
Get method for struct member 'gcolor_prev'.short
getGstep()
Get method for struct member 'gstep'.short
getGstep_next()
Get method for struct member 'gstep_next'.CArrayFacade<java.lang.Byte>
getInfo()
Get method for struct member 'info'.CArrayFacade<CArrayFacade<java.lang.Float>>
getInverse()
Get method for struct member 'inverse'.short
getLine_change()
Get method for struct member 'line_change'.ListBase
getMask_layers()
Get method for struct member 'mask_layers'.CPointer<bGPDlayer>
getNext()
Get method for struct member 'next'.short
getOnion_flag()
Get method for struct member 'onion_flag'.float
getOpacity()
Get method for struct member 'opacity'.CPointer<BlenderObject>
getParent()
Get method for struct member 'parent'.CArrayFacade<java.lang.Byte>
getParsubstr()
Get method for struct member 'parsubstr'.short
getPartype()
Get method for struct member 'partype'.short
getPass_index()
Get method for struct member 'pass_index'.CPointer<bGPDlayer>
getPrev()
Get method for struct member 'prev'.bGPDlayer_Runtime
getRuntime()
Get method for struct member 'runtime'.short
getThickness()
Get method for struct member 'thickness'.CArrayFacade<java.lang.Float>
getTintcolor()
Get method for struct member 'tintcolor'.float
getVertex_paint_opacity()
Get method for struct member 'vertex_paint_opacity'.CArrayFacade<java.lang.Byte>
getViewlayername()
Get method for struct member 'viewlayername'.void
set_pad1(CArrayFacade<java.lang.Byte> _pad1)
Set method for struct member '_pad1'.void
set_pad2(CArrayFacade<java.lang.Byte> _pad2)
Set method for struct member '_pad2'.void
setAct_mask(int act_mask)
Set method for struct member 'act_mask'.void
setActframe(CPointer<bGPDframe> actframe)
Set method for struct member 'actframe'.void
setBlend_mode(int blend_mode)
Set method for struct member 'blend_mode'.void
setColor(CArrayFacade<java.lang.Float> color)
Set method for struct member 'color'.void
setFill(CArrayFacade<java.lang.Float> fill)
Set method for struct member 'fill'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setFrames(ListBase frames)
Set method for struct member 'frames'.void
setGcolor_next(CArrayFacade<java.lang.Float> gcolor_next)
Set method for struct member 'gcolor_next'.void
setGcolor_prev(CArrayFacade<java.lang.Float> gcolor_prev)
Set method for struct member 'gcolor_prev'.void
setGstep(short gstep)
Set method for struct member 'gstep'.void
setGstep_next(short gstep_next)
Set method for struct member 'gstep_next'.void
setInfo(CArrayFacade<java.lang.Byte> info)
Set method for struct member 'info'.void
setInverse(CArrayFacade<CArrayFacade<java.lang.Float>> inverse)
Set method for struct member 'inverse'.void
setLine_change(short line_change)
Set method for struct member 'line_change'.void
setMask_layers(ListBase mask_layers)
Set method for struct member 'mask_layers'.void
setNext(CPointer<bGPDlayer> next)
Set method for struct member 'next'.void
setOnion_flag(short onion_flag)
Set method for struct member 'onion_flag'.void
setOpacity(float opacity)
Set method for struct member 'opacity'.void
setParent(CPointer<BlenderObject> parent)
Set method for struct member 'parent'.void
setParsubstr(CArrayFacade<java.lang.Byte> parsubstr)
Set method for struct member 'parsubstr'.void
setPartype(short partype)
Set method for struct member 'partype'.void
setPass_index(short pass_index)
Set method for struct member 'pass_index'.void
setPrev(CPointer<bGPDlayer> prev)
Set method for struct member 'prev'.void
setRuntime(bGPDlayer_Runtime runtime)
Set method for struct member 'runtime'.void
setThickness(short thickness)
Set method for struct member 'thickness'.void
setTintcolor(CArrayFacade<java.lang.Float> tintcolor)
Set method for struct member 'tintcolor'.void
setVertex_paint_opacity(float vertex_paint_opacity)
Set method for struct member 'vertex_paint_opacity'.void
setViewlayername(CArrayFacade<java.lang.Byte> viewlayername)
Set method for struct member 'viewlayername'.-
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 bGPDlayer.It is required when allocating a new block to store data for bGPDlayer.
- 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:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__next); CPointer<CPointer<bGPDlayer>> p_next = p.cast(new Class[]{CPointer.class, bGPDlayer.class});
Metadata
- Field: 'next'
- Signature: 'bGPDlayer*'
- 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:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__prev); CPointer<CPointer<bGPDlayer>> p_prev = p.cast(new Class[]{CPointer.class, bGPDlayer.class});
Metadata
- Field: 'prev'
- Signature: 'bGPDlayer*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__frames
public static final long[] __DNA__FIELD__frames
Field descriptor (offset) for struct member 'frames'.Field Documentation
Blender Source Code
List of annotations to display for frames (
bGPDframe
list).Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__frames); CPointer<ListBase> p_frames = p.cast(new Class[]{ListBase.class});
Metadata
- Field: 'frames'
- Signature: 'ListBase'
- Actual Size (32bit/64bit): 8/16
-
__DNA__FIELD__actframe
public static final long[] __DNA__FIELD__actframe
Field descriptor (offset) for struct member 'actframe'.Field Documentation
Blender Source Code
Active frame (should be the frame that is currently being displayed).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__actframe); CPointer<CPointer<bGPDframe>> p_actframe = p.cast(new Class[]{CPointer.class, bGPDframe.class});
Metadata
- Field: 'actframe'
- Signature: 'bGPDframe*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Field Documentation
Blender Source Code
Settings for layer.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
Metadata
- Field: 'flag'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__onion_flag
public static final long[] __DNA__FIELD__onion_flag
Field descriptor (offset) for struct member 'onion_flag'.Field Documentation
Blender Source Code
Per-layer onion-skinning flags (eGPDlayer_OnionFlag).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__onion_flag); CPointer<Short> p_onion_flag = p.cast(new Class[]{Short.class});
Metadata
- Field: 'onion_flag'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__color
public static final long[] __DNA__FIELD__color
Field descriptor (offset) for struct member 'color'.Field Documentation
Blender Source Code
Color for strokes in layers. Used for annotations, and for ruler (which uses GPencil internally).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__color); CPointer<CArrayFacade<Float>> p_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'color'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__fill
public static final long[] __DNA__FIELD__fill
Field descriptor (offset) for struct member 'fill'.Field Documentation
Blender Source Code
Fill color for strokes in layers. Not used anymore (was only for).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__fill); CPointer<CArrayFacade<Float>> p_fill = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'fill'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__info
public static final long[] __DNA__FIELD__info
Field descriptor (offset) for struct member 'info'.Field Documentation
Blender Source Code
Name/reference info for this layer (i.e. "director's comments, 12/.3") needs to be kept unique, as it's used as the layer identifier
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__info); CPointer<CArrayFacade<Byte>> p_info = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'info'
- Signature: 'char[128]'
- Actual Size (32bit/64bit): 128/128
-
__DNA__FIELD__thickness
public static final long[] __DNA__FIELD__thickness
Field descriptor (offset) for struct member 'thickness'.Field Documentation
Blender Source Code
Thickness to apply to strokes (Annotations).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__thickness); CPointer<Short> p_thickness = p.cast(new Class[]{Short.class});
Metadata
- Field: 'thickness'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__pass_index
public static final long[] __DNA__FIELD__pass_index
Field descriptor (offset) for struct member 'pass_index'.Field Documentation
Blender Source Code
Used to filter groups of layers in modifiers.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__pass_index); CPointer<Short> p_pass_index = p.cast(new Class[]{Short.class});
Metadata
- Field: 'pass_index'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__parent
public static final long[] __DNA__FIELD__parent
Field descriptor (offset) for struct member 'parent'.Field Documentation
Blender Source Code
Parent object.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__parent); CPointer<CPointer<BlenderObject>> p_parent = p.cast(new Class[]{CPointer.class, BlenderObject.class});
Metadata
- Field: 'parent'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__inverse
public static final long[] __DNA__FIELD__inverse
Field descriptor (offset) for struct member 'inverse'.Field Documentation
Blender Source Code
Inverse matrix (only used if parented).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__inverse); CPointer<CArrayFacade<CArrayFacade<Float>>> p_inverse = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
Metadata
- Field: 'inverse'
- Signature: 'float[4][4]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__parsubstr
public static final long[] __DNA__FIELD__parsubstr
Field descriptor (offset) for struct member 'parsubstr'.Field Documentation
Blender Source Code
String describing subobject info, MAX_ID_NAME-2.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__parsubstr); CPointer<CArrayFacade<Byte>> p_parsubstr = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'parsubstr'
- Signature: 'char[64]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__partype
public static final long[] __DNA__FIELD__partype
Field descriptor (offset) for struct member 'partype'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__partype); CPointer<Short> p_partype = p.cast(new Class[]{Short.class});
Metadata
- Field: 'partype'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__line_change
public static final long[] __DNA__FIELD__line_change
Field descriptor (offset) for struct member 'line_change'.Field Documentation
Blender Source Code
Thickness adjustment.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__line_change); CPointer<Short> p_line_change = p.cast(new Class[]{Short.class});
Metadata
- Field: 'line_change'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__tintcolor
public static final long[] __DNA__FIELD__tintcolor
Field descriptor (offset) for struct member 'tintcolor'.Field Documentation
Blender Source Code
Color used to tint layer, alpha value is used as factor.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__tintcolor); CPointer<CArrayFacade<Float>> p_tintcolor = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'tintcolor'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__opacity
public static final long[] __DNA__FIELD__opacity
Field descriptor (offset) for struct member 'opacity'.Field Documentation
Blender Source Code
Opacity of the layer.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__opacity); CPointer<Float> p_opacity = p.cast(new Class[]{Float.class});
Metadata
- Field: 'opacity'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__viewlayername
public static final long[] __DNA__FIELD__viewlayername
Field descriptor (offset) for struct member 'viewlayername'.Field Documentation
Blender Source Code
Name of the layer used to filter render output.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__viewlayername); CPointer<CArrayFacade<Byte>> p_viewlayername = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'viewlayername'
- Signature: 'char[64]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__blend_mode
public static final long[] __DNA__FIELD__blend_mode
Field descriptor (offset) for struct member 'blend_mode'.Field Documentation
Blender Source Code
Blend modes.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__blend_mode); CPointer<Integer> p_blend_mode = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'blend_mode'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__vertex_paint_opacity
public static final long[] __DNA__FIELD__vertex_paint_opacity
Field descriptor (offset) for struct member 'vertex_paint_opacity'.Field Documentation
Blender Source Code
Vertex
Paint
opacity by Layer.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__vertex_paint_opacity); CPointer<Float> p_vertex_paint_opacity = p.cast(new Class[]{Float.class});
Metadata
- Field: 'vertex_paint_opacity'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__gstep
public static final long[] __DNA__FIELD__gstep
Field descriptor (offset) for struct member 'gstep'.Field Documentation
Blender Source Code
annotation onion skin Ghosts Before: max number of ghost frames to show between active frame and the one before it (0 = only the ghost itself).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__gstep); CPointer<Short> p_gstep = p.cast(new Class[]{Short.class});
Metadata
- Field: 'gstep'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__gstep_next
public static final long[] __DNA__FIELD__gstep_next
Field descriptor (offset) for struct member 'gstep_next'.Field Documentation
Blender Source Code
Ghosts After: max number of ghost frames to show after active frame and the following it (0 = only the ghost itself).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__gstep_next); CPointer<Short> p_gstep_next = p.cast(new Class[]{Short.class});
Metadata
- Field: 'gstep_next'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__gcolor_prev
public static final long[] __DNA__FIELD__gcolor_prev
Field descriptor (offset) for struct member 'gcolor_prev'.Field Documentation
Blender Source Code
Color for ghosts before the active frame.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__gcolor_prev); CPointer<CArrayFacade<Float>> p_gcolor_prev = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'gcolor_prev'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__gcolor_next
public static final long[] __DNA__FIELD__gcolor_next
Field descriptor (offset) for struct member 'gcolor_next'.Field Documentation
Blender Source Code
Color for ghosts after the active frame.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__gcolor_next); CPointer<CArrayFacade<Float>> p_gcolor_next = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'gcolor_next'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD___pad1
public static final long[] __DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD___pad1); CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad1'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__mask_layers
public static final long[] __DNA__FIELD__mask_layers
Field descriptor (offset) for struct member 'mask_layers'.Field Documentation
Blender Source Code
Mask
list (bGPDlayer_Mask
).Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__mask_layers); CPointer<ListBase> p_mask_layers = p.cast(new Class[]{ListBase.class});
Metadata
- Field: 'mask_layers'
- Signature: 'ListBase'
- Actual Size (32bit/64bit): 8/16
-
__DNA__FIELD__act_mask
public static final long[] __DNA__FIELD__act_mask
Field descriptor (offset) for struct member 'act_mask'.Field Documentation
Blender Source Code
Current
Mask
index (noted base 1).Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__act_mask); CPointer<Integer> p_act_mask = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'act_mask'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD___pad2
public static final long[] __DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD___pad2); CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad2'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__runtime
public static final long[] __DNA__FIELD__runtime
Field descriptor (offset) for struct member 'runtime'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPDlayer bgpdlayer = ...; CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__runtime); CPointer<bGPDlayer_Runtime> p_runtime = p.cast(new Class[]{bGPDlayer_Runtime.class});
Metadata
- Field: 'runtime'
- Signature: 'bGPDlayer_Runtime'
- Actual Size (32bit/64bit): 12/16
-
-
Constructor Detail
-
bGPDlayer
public bGPDlayer(long __address, Block __block, BlockTable __blockTable)
-
bGPDlayer
protected bGPDlayer(bGPDlayer that)
-
-
Method Detail
-
getNext
public CPointer<bGPDlayer> 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<bGPDlayer> next) throws java.io.IOException
Set method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
getPrev
public CPointer<bGPDlayer> 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<bGPDlayer> prev) throws java.io.IOException
Set method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
getFrames
public ListBase getFrames() throws java.io.IOException
Get method for struct member 'frames'.Field Documentation
Blender Source Code
List of annotations to display for frames (
bGPDframe
list).- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__frames
-
setFrames
public void setFrames(ListBase frames) throws java.io.IOException
Set method for struct member 'frames'.Field Documentation
Blender Source Code
List of annotations to display for frames (
bGPDframe
list).- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__frames
-
getActframe
public CPointer<bGPDframe> getActframe() throws java.io.IOException
Get method for struct member 'actframe'.Field Documentation
Blender Source Code
Active frame (should be the frame that is currently being displayed).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__actframe
-
setActframe
public void setActframe(CPointer<bGPDframe> actframe) throws java.io.IOException
Set method for struct member 'actframe'.Field Documentation
Blender Source Code
Active frame (should be the frame that is currently being displayed).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__actframe
-
getFlag
public short getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Blender Source Code
Settings for layer.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(short flag) throws java.io.IOException
Set method for struct member 'flag'.Field Documentation
Blender Source Code
Settings for layer.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getOnion_flag
public short getOnion_flag() throws java.io.IOException
Get method for struct member 'onion_flag'.Field Documentation
Blender Source Code
Per-layer onion-skinning flags (eGPDlayer_OnionFlag).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__onion_flag
-
setOnion_flag
public void setOnion_flag(short onion_flag) throws java.io.IOException
Set method for struct member 'onion_flag'.Field Documentation
Blender Source Code
Per-layer onion-skinning flags (eGPDlayer_OnionFlag).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__onion_flag
-
getColor
public CArrayFacade<java.lang.Float> getColor() throws java.io.IOException
Get method for struct member 'color'.Field Documentation
Blender Source Code
Color for strokes in layers. Used for annotations, and for ruler (which uses GPencil internally).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__color
-
setColor
public void setColor(CArrayFacade<java.lang.Float> color) throws java.io.IOException
Set method for struct member 'color'.Field Documentation
Blender Source Code
Color for strokes in layers. Used for annotations, and for ruler (which uses GPencil internally).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__color
-
getFill
public CArrayFacade<java.lang.Float> getFill() throws java.io.IOException
Get method for struct member 'fill'.Field Documentation
Blender Source Code
Fill color for strokes in layers. Not used anymore (was only for).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__fill
-
setFill
public void setFill(CArrayFacade<java.lang.Float> fill) throws java.io.IOException
Set method for struct member 'fill'.Field Documentation
Blender Source Code
Fill color for strokes in layers. Not used anymore (was only for).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__fill
-
getInfo
public CArrayFacade<java.lang.Byte> getInfo() throws java.io.IOException
Get method for struct member 'info'.Field Documentation
Blender Source Code
Name/reference info for this layer (i.e. "director's comments, 12/.3") needs to be kept unique, as it's used as the layer identifier
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__info
-
setInfo
public void setInfo(CArrayFacade<java.lang.Byte> info) throws java.io.IOException
Set method for struct member 'info'.Field Documentation
Blender Source Code
Name/reference info for this layer (i.e. "director's comments, 12/.3") needs to be kept unique, as it's used as the layer identifier
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__info
-
getThickness
public short getThickness() throws java.io.IOException
Get method for struct member 'thickness'.Field Documentation
Blender Source Code
Thickness to apply to strokes (Annotations).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__thickness
-
setThickness
public void setThickness(short thickness) throws java.io.IOException
Set method for struct member 'thickness'.Field Documentation
Blender Source Code
Thickness to apply to strokes (Annotations).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__thickness
-
getPass_index
public short getPass_index() throws java.io.IOException
Get method for struct member 'pass_index'.Field Documentation
Blender Source Code
Used to filter groups of layers in modifiers.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pass_index
-
setPass_index
public void setPass_index(short pass_index) throws java.io.IOException
Set method for struct member 'pass_index'.Field Documentation
Blender Source Code
Used to filter groups of layers in modifiers.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pass_index
-
getParent
public CPointer<BlenderObject> getParent() throws java.io.IOException
Get method for struct member 'parent'.Field Documentation
Blender Source Code
Parent object.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__parent
-
setParent
public void setParent(CPointer<BlenderObject> parent) throws java.io.IOException
Set method for struct member 'parent'.Field Documentation
Blender Source Code
Parent object.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__parent
-
getInverse
public CArrayFacade<CArrayFacade<java.lang.Float>> getInverse() throws java.io.IOException
Get method for struct member 'inverse'.Field Documentation
Blender Source Code
Inverse matrix (only used if parented).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__inverse
-
setInverse
public void setInverse(CArrayFacade<CArrayFacade<java.lang.Float>> inverse) throws java.io.IOException
Set method for struct member 'inverse'.Field Documentation
Blender Source Code
Inverse matrix (only used if parented).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__inverse
-
getParsubstr
public CArrayFacade<java.lang.Byte> getParsubstr() throws java.io.IOException
Get method for struct member 'parsubstr'.Field Documentation
Blender Source Code
String describing subobject info, MAX_ID_NAME-2.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__parsubstr
-
setParsubstr
public void setParsubstr(CArrayFacade<java.lang.Byte> parsubstr) throws java.io.IOException
Set method for struct member 'parsubstr'.Field Documentation
Blender Source Code
String describing subobject info, MAX_ID_NAME-2.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__parsubstr
-
getPartype
public short getPartype() throws java.io.IOException
Get method for struct member 'partype'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__partype
-
setPartype
public void setPartype(short partype) throws java.io.IOException
Set method for struct member 'partype'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__partype
-
getLine_change
public short getLine_change() throws java.io.IOException
Get method for struct member 'line_change'.Field Documentation
Blender Source Code
Thickness adjustment.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__line_change
-
setLine_change
public void setLine_change(short line_change) throws java.io.IOException
Set method for struct member 'line_change'.Field Documentation
Blender Source Code
Thickness adjustment.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__line_change
-
getTintcolor
public CArrayFacade<java.lang.Float> getTintcolor() throws java.io.IOException
Get method for struct member 'tintcolor'.Field Documentation
Blender Source Code
Color used to tint layer, alpha value is used as factor.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tintcolor
-
setTintcolor
public void setTintcolor(CArrayFacade<java.lang.Float> tintcolor) throws java.io.IOException
Set method for struct member 'tintcolor'.Field Documentation
Blender Source Code
Color used to tint layer, alpha value is used as factor.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tintcolor
-
getOpacity
public float getOpacity() throws java.io.IOException
Get method for struct member 'opacity'.Field Documentation
Blender Source Code
Opacity of the layer.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__opacity
-
setOpacity
public void setOpacity(float opacity) throws java.io.IOException
Set method for struct member 'opacity'.Field Documentation
Blender Source Code
Opacity of the layer.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__opacity
-
getViewlayername
public CArrayFacade<java.lang.Byte> getViewlayername() throws java.io.IOException
Get method for struct member 'viewlayername'.Field Documentation
Blender Source Code
Name of the layer used to filter render output.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__viewlayername
-
setViewlayername
public void setViewlayername(CArrayFacade<java.lang.Byte> viewlayername) throws java.io.IOException
Set method for struct member 'viewlayername'.Field Documentation
Blender Source Code
Name of the layer used to filter render output.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__viewlayername
-
getBlend_mode
public int getBlend_mode() throws java.io.IOException
Get method for struct member 'blend_mode'.Field Documentation
Blender Source Code
Blend modes.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__blend_mode
-
setBlend_mode
public void setBlend_mode(int blend_mode) throws java.io.IOException
Set method for struct member 'blend_mode'.Field Documentation
Blender Source Code
Blend modes.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__blend_mode
-
getVertex_paint_opacity
public float getVertex_paint_opacity() throws java.io.IOException
Get method for struct member 'vertex_paint_opacity'.Field Documentation
Blender Source Code
Vertex
Paint
opacity by Layer.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__vertex_paint_opacity
-
setVertex_paint_opacity
public void setVertex_paint_opacity(float vertex_paint_opacity) throws java.io.IOException
Set method for struct member 'vertex_paint_opacity'.Field Documentation
Blender Source Code
Vertex
Paint
opacity by Layer.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__vertex_paint_opacity
-
getGstep
public short getGstep() throws java.io.IOException
Get method for struct member 'gstep'.Field Documentation
Blender Source Code
annotation onion skin Ghosts Before: max number of ghost frames to show between active frame and the one before it (0 = only the ghost itself).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gstep
-
setGstep
public void setGstep(short gstep) throws java.io.IOException
Set method for struct member 'gstep'.Field Documentation
Blender Source Code
annotation onion skin Ghosts Before: max number of ghost frames to show between active frame and the one before it (0 = only the ghost itself).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gstep
-
getGstep_next
public short getGstep_next() throws java.io.IOException
Get method for struct member 'gstep_next'.Field Documentation
Blender Source Code
Ghosts After: max number of ghost frames to show after active frame and the following it (0 = only the ghost itself).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gstep_next
-
setGstep_next
public void setGstep_next(short gstep_next) throws java.io.IOException
Set method for struct member 'gstep_next'.Field Documentation
Blender Source Code
Ghosts After: max number of ghost frames to show after active frame and the following it (0 = only the ghost itself).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gstep_next
-
getGcolor_prev
public CArrayFacade<java.lang.Float> getGcolor_prev() throws java.io.IOException
Get method for struct member 'gcolor_prev'.Field Documentation
Blender Source Code
Color for ghosts before the active frame.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gcolor_prev
-
setGcolor_prev
public void setGcolor_prev(CArrayFacade<java.lang.Float> gcolor_prev) throws java.io.IOException
Set method for struct member 'gcolor_prev'.Field Documentation
Blender Source Code
Color for ghosts before the active frame.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gcolor_prev
-
getGcolor_next
public CArrayFacade<java.lang.Float> getGcolor_next() throws java.io.IOException
Get method for struct member 'gcolor_next'.Field Documentation
Blender Source Code
Color for ghosts after the active frame.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gcolor_next
-
setGcolor_next
public void setGcolor_next(CArrayFacade<java.lang.Float> gcolor_next) throws java.io.IOException
Set method for struct member 'gcolor_next'.Field Documentation
Blender Source Code
Color for ghosts after the active frame.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gcolor_next
-
get_pad1
public CArrayFacade<java.lang.Byte> get_pad1() throws java.io.IOException
Get method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
set_pad1
public void set_pad1(CArrayFacade<java.lang.Byte> _pad1) throws java.io.IOException
Set method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
getMask_layers
public ListBase getMask_layers() throws java.io.IOException
Get method for struct member 'mask_layers'.Field Documentation
Blender Source Code
Mask
list (bGPDlayer_Mask
).- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mask_layers
-
setMask_layers
public void setMask_layers(ListBase mask_layers) throws java.io.IOException
Set method for struct member 'mask_layers'.Field Documentation
Blender Source Code
Mask
list (bGPDlayer_Mask
).- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mask_layers
-
getAct_mask
public int getAct_mask() throws java.io.IOException
Get method for struct member 'act_mask'.Field Documentation
Blender Source Code
Current
Mask
index (noted base 1).- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__act_mask
-
setAct_mask
public void setAct_mask(int act_mask) throws java.io.IOException
Set method for struct member 'act_mask'.Field Documentation
Blender Source Code
Current
Mask
index (noted base 1).- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__act_mask
-
get_pad2
public CArrayFacade<java.lang.Byte> get_pad2() throws java.io.IOException
Get method for struct member '_pad2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad2
-
set_pad2
public void set_pad2(CArrayFacade<java.lang.Byte> _pad2) throws java.io.IOException
Set method for struct member '_pad2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad2
-
getRuntime
public bGPDlayer_Runtime getRuntime() throws java.io.IOException
Get method for struct member 'runtime'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__runtime
-
setRuntime
public void setRuntime(bGPDlayer_Runtime runtime) throws java.io.IOException
Set method for struct member 'runtime'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__runtime
-
-