public class BrushClone extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__alpha
Field descriptor (offset) for struct member 'alpha'.
|
static long[] |
__DNA__FIELD__image
Field descriptor (offset) for struct member 'image'.
|
static long[] |
__DNA__FIELD__offset
Field descriptor (offset) for struct member 'offset'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct BrushClone.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
BrushClone(BrushClone that) |
|
BrushClone(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<BrushClone> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
float |
getAlpha()
Get method for struct member 'alpha'.
|
CPointer<Image> |
getImage()
Get method for struct member 'image'.
|
CArrayFacade<java.lang.Float> |
getOffset()
Get method for struct member 'offset'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setAlpha(float alpha)
Set method for struct member 'alpha'.
|
void |
setImage(CPointer<Image> image)
Set method for struct member 'image'.
|
void |
setOffset(CArrayFacade<java.lang.Float> offset)
Set method for struct member 'offset'.
|
__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 BrushClone.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__image
Image
for clone tool.
This is how you get a reference on the corresponding field in the struct:
BrushClone brushclone = ...; CPointer<Object> p = brushclone.__dna__addressof(BrushClone.__DNA__FIELD__image); CPointer<CPointer<Image>> p_image = p.cast(new Class[]{CPointer.class, Image.class});
public static final long[] __DNA__FIELD__offset
Offset of clone image from canvas.
This is how you get a reference on the corresponding field in the struct:
BrushClone brushclone = ...; CPointer<Object> p = brushclone.__dna__addressof(BrushClone.__DNA__FIELD__offset); CPointer<CArrayFacade<Float>> p_offset = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__alpha
Transparency for drawing of clone image.
This is how you get a reference on the corresponding field in the struct:
BrushClone brushclone = ...; CPointer<Object> p = brushclone.__dna__addressof(BrushClone.__DNA__FIELD__alpha); CPointer<Float> p_alpha = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD___pad
This is how you get a reference on the corresponding field in the struct:
BrushClone brushclone = ...; CPointer<Object> p = brushclone.__dna__addressof(BrushClone.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public BrushClone(long __address, Block __block, BlockTable __blockTable)
protected BrushClone(BrushClone that)
public CPointer<Image> getImage() throws java.io.IOException
Image
for clone tool.
java.io.IOException
__DNA__FIELD__image
public void setImage(CPointer<Image> image) throws java.io.IOException
Image
for clone tool.
java.io.IOException
__DNA__FIELD__image
public CArrayFacade<java.lang.Float> getOffset() throws java.io.IOException
Offset of clone image from canvas.
java.io.IOException
__DNA__FIELD__offset
public void setOffset(CArrayFacade<java.lang.Float> offset) throws java.io.IOException
Offset of clone image from canvas.
java.io.IOException
__DNA__FIELD__offset
public float getAlpha() throws java.io.IOException
Transparency for drawing of clone image.
java.io.IOException
__DNA__FIELD__alpha
public void setAlpha(float alpha) throws java.io.IOException
Transparency for drawing of clone image.
java.io.IOException
__DNA__FIELD__alpha
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public CPointer<BrushClone> __io__addressof()