Package org.blender.dna
Class ParticleBrushData
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.ParticleBrushData
-
public class ParticleBrushData extends CFacade
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__count
Field descriptor (offset) for struct member 'count'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__invert
Field descriptor (offset) for struct member 'invert'.static long[]
__DNA__FIELD__size
Field descriptor (offset) for struct member 'size'.static long[]
__DNA__FIELD__step
Field descriptor (offset) for struct member 'step'.static long[]
__DNA__FIELD__strength
Field descriptor (offset) for struct member 'strength'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct ParticleBrushData.-
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 ParticleBrushData(long __address, Block __block, BlockTable __blockTable)
protected
ParticleBrushData(ParticleBrushData that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<ParticleBrushData>
__io__addressof()
Instantiates a pointer on this instance.short
getCount()
Get method for struct member 'count'.int
getFlag()
Get method for struct member 'flag'.short
getInvert()
Get method for struct member 'invert'.short
getSize()
Get method for struct member 'size'.short
getStep()
Get method for struct member 'step'.float
getStrength()
Get method for struct member 'strength'.void
setCount(short count)
Set method for struct member 'count'.void
setFlag(int flag)
Set method for struct member 'flag'.void
setInvert(short invert)
Set method for struct member 'invert'.void
setSize(short size)
Set method for struct member 'size'.void
setStep(short step)
Set method for struct member 'step'.void
setStrength(float strength)
Set method for struct member 'strength'.-
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 ParticleBrushData.It is required when allocating a new block to store data for ParticleBrushData.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__size
public static final long[] __DNA__FIELD__size
Field descriptor (offset) for struct member 'size'.Field Documentation
Blender Source Code
Common setting.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleBrushData particlebrushdata = ...; CPointer<Object> p = particlebrushdata.__dna__addressof(ParticleBrushData.__DNA__FIELD__size); CPointer<Short> p_size = p.cast(new Class[]{Short.class});
Metadata
- Field: 'size'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__step
public static final long[] __DNA__FIELD__step
Field descriptor (offset) for struct member 'step'.Field Documentation
Blender Source Code
For specific brushes only.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleBrushData particlebrushdata = ...; CPointer<Object> p = particlebrushdata.__dna__addressof(ParticleBrushData.__DNA__FIELD__step); CPointer<Short> p_step = p.cast(new Class[]{Short.class});
Metadata
- Field: 'step'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__invert
public static final long[] __DNA__FIELD__invert
Field descriptor (offset) for struct member 'invert'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleBrushData particlebrushdata = ...; CPointer<Object> p = particlebrushdata.__dna__addressof(ParticleBrushData.__DNA__FIELD__invert); CPointer<Short> p_invert = p.cast(new Class[]{Short.class});
Metadata
- Field: 'invert'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__count
public static final long[] __DNA__FIELD__count
Field descriptor (offset) for struct member 'count'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleBrushData particlebrushdata = ...; CPointer<Object> p = particlebrushdata.__dna__addressof(ParticleBrushData.__DNA__FIELD__count); CPointer<Short> p_count = p.cast(new Class[]{Short.class});
Metadata
- Field: 'count'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleBrushData particlebrushdata = ...; CPointer<Object> p = particlebrushdata.__dna__addressof(ParticleBrushData.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'flag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__strength
public static final long[] __DNA__FIELD__strength
Field descriptor (offset) for struct member 'strength'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleBrushData particlebrushdata = ...; CPointer<Object> p = particlebrushdata.__dna__addressof(ParticleBrushData.__DNA__FIELD__strength); CPointer<Float> p_strength = p.cast(new Class[]{Float.class});
Metadata
- Field: 'strength'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
ParticleBrushData
public ParticleBrushData(long __address, Block __block, BlockTable __blockTable)
-
ParticleBrushData
protected ParticleBrushData(ParticleBrushData that)
-
-
Method Detail
-
getSize
public short getSize() throws java.io.IOException
Get method for struct member 'size'.Field Documentation
Blender Source Code
Common setting.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__size
-
setSize
public void setSize(short size) throws java.io.IOException
Set method for struct member 'size'.Field Documentation
Blender Source Code
Common setting.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__size
-
getStep
public short getStep() throws java.io.IOException
Get method for struct member 'step'.Field Documentation
Blender Source Code
For specific brushes only.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__step
-
setStep
public void setStep(short step) throws java.io.IOException
Set method for struct member 'step'.Field Documentation
Blender Source Code
For specific brushes only.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__step
-
getInvert
public short getInvert() throws java.io.IOException
Get method for struct member 'invert'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__invert
-
setInvert
public void setInvert(short invert) throws java.io.IOException
Set method for struct member 'invert'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__invert
-
getCount
public short getCount() throws java.io.IOException
Get method for struct member 'count'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__count
-
setCount
public void setCount(short count) throws java.io.IOException
Set method for struct member 'count'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__count
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(int flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getStrength
public float getStrength() throws java.io.IOException
Get method for struct member 'strength'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__strength
-
setStrength
public void setStrength(float strength) throws java.io.IOException
Set method for struct member 'strength'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__strength
-
__io__addressof
public CPointer<ParticleBrushData> __io__addressof()
Instantiates a pointer on this instance.
-
-