Package org.blender.dna
Class BrushClone
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.BrushClone
-
public class BrushClone extends CFacade
Generated facet for DNA struct type 'BrushClone'.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__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.-
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 BrushClone(long __address, Block __block, BlockTable __blockTable)
protected
BrushClone(BrushClone that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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'.-
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 BrushClone.It is required when allocating a new block to store data for BrushClone.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__image
public static final long[] __DNA__FIELD__image
Field descriptor (offset) for struct member 'image'.Field Documentation
Blender Source Code
Image
for clone tool.Pointer Arithmetics
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});
Metadata
- Field: 'image'
- Signature: 'Image*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__offset
public static final long[] __DNA__FIELD__offset
Field descriptor (offset) for struct member 'offset'.Field Documentation
Blender Source Code
Offset of clone image from canvas.
Pointer Arithmetics
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});
Metadata
- Field: 'offset'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__alpha
public static final long[] __DNA__FIELD__alpha
Field descriptor (offset) for struct member 'alpha'.Field Documentation
Blender Source Code
Transparency for drawing of clone image.
Pointer Arithmetics
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});
Metadata
- Field: 'alpha'
- Signature: 'float'
- 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:
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});
Metadata
- Field: '_pad'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
BrushClone
public BrushClone(long __address, Block __block, BlockTable __blockTable)
-
BrushClone
protected BrushClone(BrushClone that)
-
-
Method Detail
-
getImage
public CPointer<Image> getImage() throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__image
-
setImage
public void setImage(CPointer<Image> image) throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__image
-
getOffset
public CArrayFacade<java.lang.Float> getOffset() throws java.io.IOException
Get method for struct member 'offset'.Field Documentation
Blender Source Code
Offset of clone image from canvas.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset
-
setOffset
public void setOffset(CArrayFacade<java.lang.Float> offset) throws java.io.IOException
Set method for struct member 'offset'.Field Documentation
Blender Source Code
Offset of clone image from canvas.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset
-
getAlpha
public float getAlpha() throws java.io.IOException
Get method for struct member 'alpha'.Field Documentation
Blender Source Code
Transparency for drawing of clone image.
- 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 Source Code
Transparency for drawing of clone image.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__alpha
-
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
-
__io__addressof
public CPointer<BrushClone> __io__addressof()
Instantiates a pointer on this instance.
-
-