public class bGPDlayer extends CFacade
Grease-Pencil Annotations - 'Layer'
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__actframe
Field descriptor (offset) for struct member 'actframe'.
|
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__next
Field descriptor (offset) for struct member 'next'.
|
static long[] |
__DNA__FIELD__opacity
Field descriptor (offset) for struct member 'opacity'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
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__prev
Field descriptor (offset) for struct member 'prev'.
|
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 int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bGPDlayer.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bGPDlayer(bGPDlayer that) |
|
bGPDlayer(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bGPDlayer> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<bGPDframe> |
getActframe()
Get method for struct member 'actframe'.
|
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_next()
Get method for struct member 'gstep_next'.
|
short |
getGstep()
Get method for struct member 'gstep'.
|
CArrayFacade<java.lang.Byte> |
getInfo()
Get method for struct member 'info'.
|
CArrayFacade<CArrayFacade<java.lang.Float>> |
getInverse()
Get method for struct member 'inverse'.
|
CPointer<bGPDlayer> |
getNext()
Get method for struct member 'next'.
|
float |
getOpacity()
Get method for struct member 'opacity'.
|
short |
getPad()
Get method for struct member 'pad'.
|
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'.
|
CPointer<bGPDlayer> |
getPrev()
Get method for struct member 'prev'.
|
short |
getThickness()
Get method for struct member 'thickness'.
|
CArrayFacade<java.lang.Float> |
getTintcolor()
Get method for struct member 'tintcolor'.
|
void |
setActframe(CPointer<bGPDframe> actframe)
Set method for struct member 'actframe'.
|
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_next(short gstep_next)
Set method for struct member 'gstep_next'.
|
void |
setGstep(short gstep)
Set method for struct member 'gstep'.
|
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 |
setNext(CPointer<bGPDlayer> next)
Set method for struct member 'next'.
|
void |
setOpacity(float opacity)
Set method for struct member 'opacity'.
|
void |
setPad(short pad)
Set method for struct member 'pad'.
|
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 |
setPrev(CPointer<bGPDlayer> prev)
Set method for struct member 'prev'.
|
void |
setThickness(short thickness)
Set method for struct member 'thickness'.
|
void |
setTintcolor(CArrayFacade<java.lang.Float> tintcolor)
Set method for struct member 'tintcolor'.
|
__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
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for bGPDlayer.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__next
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});
public static final long[] __DNA__FIELD__prev
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});
public static final long[] __DNA__FIELD__frames
list of annotations to display for frames (bGPDframe
list)
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});
public static final long[] __DNA__FIELD__actframe
active frame (should be the frame that is currently being displayed)
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});
public static final long[] __DNA__FIELD__flag
settings for layer
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});
public static final long[] __DNA__FIELD__thickness
current thickness to apply to strokes
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});
public static final long[] __DNA__FIELD__gstep
Ghosts Before: max number of ghost frames to show between active frame and the one before it (0 = only the ghost itself)
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});
public static final long[] __DNA__FIELD__gstep_next
Ghosts After: max number of ghost frames to show after active frame and the following it (0 = only the ghost itself)
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});
public static final long[] __DNA__FIELD__gcolor_prev
optional color for ghosts before the active frame
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});
public static final long[] __DNA__FIELD__gcolor_next
optional color for ghosts after the active frame
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});
public static final long[] __DNA__FIELD__color
Color for strokes in layers (replaced by palettecolor). Only used for ruler (which uses GPencil internally)
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});
public static final long[] __DNA__FIELD__fill
Fill color for strokes in layers. Not used and replaced by palettecolor fill
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});
public static final long[] __DNA__FIELD__info
optional reference info about this layer (i.e. "director's comments, 12/3") this is used for the name of the layer too and kept unique.
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});
public static final long[] __DNA__FIELD__parent
parent object
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});
public static final long[] __DNA__FIELD__inverse
inverse matrix (only used if parented)
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});
public static final long[] __DNA__FIELD__parsubstr
String describing subobject info, MAX_ID_NAME-2
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});
public static final long[] __DNA__FIELD__partype
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});
public static final long[] __DNA__FIELD__pad
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__pad); CPointer<Short> p_pad = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__tintcolor
Color used to tint layer, alpha value is used as factor
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});
public static final long[] __DNA__FIELD__opacity
Opacity of the layer
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});
public bGPDlayer(long __address, Block __block, BlockTable __blockTable)
protected bGPDlayer(bGPDlayer that)
public CPointer<bGPDlayer> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<bGPDlayer> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<bGPDlayer> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<bGPDlayer> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public ListBase getFrames() throws java.io.IOException
list of annotations to display for frames (bGPDframe
list)
java.io.IOException
__DNA__FIELD__frames
public void setFrames(ListBase frames) throws java.io.IOException
list of annotations to display for frames (bGPDframe
list)
java.io.IOException
__DNA__FIELD__frames
public CPointer<bGPDframe> getActframe() throws java.io.IOException
active frame (should be the frame that is currently being displayed)
java.io.IOException
__DNA__FIELD__actframe
public void setActframe(CPointer<bGPDframe> actframe) throws java.io.IOException
active frame (should be the frame that is currently being displayed)
java.io.IOException
__DNA__FIELD__actframe
public short getFlag() throws java.io.IOException
settings for layer
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
settings for layer
java.io.IOException
__DNA__FIELD__flag
public short getThickness() throws java.io.IOException
current thickness to apply to strokes
java.io.IOException
__DNA__FIELD__thickness
public void setThickness(short thickness) throws java.io.IOException
current thickness to apply to strokes
java.io.IOException
__DNA__FIELD__thickness
public short getGstep() throws java.io.IOException
Ghosts Before: max number of ghost frames to show between active frame and the one before it (0 = only the ghost itself)
java.io.IOException
__DNA__FIELD__gstep
public void setGstep(short gstep) throws java.io.IOException
Ghosts Before: max number of ghost frames to show between active frame and the one before it (0 = only the ghost itself)
java.io.IOException
__DNA__FIELD__gstep
public short getGstep_next() throws java.io.IOException
Ghosts After: max number of ghost frames to show after active frame and the following it (0 = only the ghost itself)
java.io.IOException
__DNA__FIELD__gstep_next
public void setGstep_next(short gstep_next) throws java.io.IOException
Ghosts After: max number of ghost frames to show after active frame and the following it (0 = only the ghost itself)
java.io.IOException
__DNA__FIELD__gstep_next
public CArrayFacade<java.lang.Float> getGcolor_prev() throws java.io.IOException
optional color for ghosts before the active frame
java.io.IOException
__DNA__FIELD__gcolor_prev
public void setGcolor_prev(CArrayFacade<java.lang.Float> gcolor_prev) throws java.io.IOException
optional color for ghosts before the active frame
java.io.IOException
__DNA__FIELD__gcolor_prev
public CArrayFacade<java.lang.Float> getGcolor_next() throws java.io.IOException
optional color for ghosts after the active frame
java.io.IOException
__DNA__FIELD__gcolor_next
public void setGcolor_next(CArrayFacade<java.lang.Float> gcolor_next) throws java.io.IOException
optional color for ghosts after the active frame
java.io.IOException
__DNA__FIELD__gcolor_next
public CArrayFacade<java.lang.Float> getColor() throws java.io.IOException
Color for strokes in layers (replaced by palettecolor). Only used for ruler (which uses GPencil internally)
java.io.IOException
__DNA__FIELD__color
public void setColor(CArrayFacade<java.lang.Float> color) throws java.io.IOException
Color for strokes in layers (replaced by palettecolor). Only used for ruler (which uses GPencil internally)
java.io.IOException
__DNA__FIELD__color
public CArrayFacade<java.lang.Float> getFill() throws java.io.IOException
Fill color for strokes in layers. Not used and replaced by palettecolor fill
java.io.IOException
__DNA__FIELD__fill
public void setFill(CArrayFacade<java.lang.Float> fill) throws java.io.IOException
Fill color for strokes in layers. Not used and replaced by palettecolor fill
java.io.IOException
__DNA__FIELD__fill
public CArrayFacade<java.lang.Byte> getInfo() throws java.io.IOException
optional reference info about this layer (i.e. "director's comments, 12/3") this is used for the name of the layer too and kept unique.
java.io.IOException
__DNA__FIELD__info
public void setInfo(CArrayFacade<java.lang.Byte> info) throws java.io.IOException
optional reference info about this layer (i.e. "director's comments, 12/3") this is used for the name of the layer too and kept unique.
java.io.IOException
__DNA__FIELD__info
public CPointer<BlenderObject> getParent() throws java.io.IOException
parent object
java.io.IOException
__DNA__FIELD__parent
public void setParent(CPointer<BlenderObject> parent) throws java.io.IOException
parent object
java.io.IOException
__DNA__FIELD__parent
public CArrayFacade<CArrayFacade<java.lang.Float>> getInverse() throws java.io.IOException
inverse matrix (only used if parented)
java.io.IOException
__DNA__FIELD__inverse
public void setInverse(CArrayFacade<CArrayFacade<java.lang.Float>> inverse) throws java.io.IOException
inverse matrix (only used if parented)
java.io.IOException
__DNA__FIELD__inverse
public CArrayFacade<java.lang.Byte> getParsubstr() throws java.io.IOException
String describing subobject info, MAX_ID_NAME-2
java.io.IOException
__DNA__FIELD__parsubstr
public void setParsubstr(CArrayFacade<java.lang.Byte> parsubstr) throws java.io.IOException
String describing subobject info, MAX_ID_NAME-2
java.io.IOException
__DNA__FIELD__parsubstr
public short getPartype() throws java.io.IOException
java.io.IOException
__DNA__FIELD__partype
public void setPartype(short partype) throws java.io.IOException
java.io.IOException
__DNA__FIELD__partype
public short getPad() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public void setPad(short pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public CArrayFacade<java.lang.Float> getTintcolor() throws java.io.IOException
Color used to tint layer, alpha value is used as factor
java.io.IOException
__DNA__FIELD__tintcolor
public void setTintcolor(CArrayFacade<java.lang.Float> tintcolor) throws java.io.IOException
Color used to tint layer, alpha value is used as factor
java.io.IOException
__DNA__FIELD__tintcolor
public float getOpacity() throws java.io.IOException
Opacity of the layer
java.io.IOException
__DNA__FIELD__opacity
public void setOpacity(float opacity) throws java.io.IOException
Opacity of the layer
java.io.IOException
__DNA__FIELD__opacity