Class DecimateModifierData
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.DecimateModifierData
-
public class DecimateModifierData extends CFacade
Generated facet for DNA struct type 'DecimateModifierData'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__angle
Field descriptor (offset) for struct member 'angle'.static long[]
__DNA__FIELD__defgrp_factor
Field descriptor (offset) for struct member 'defgrp_factor'.static long[]
__DNA__FIELD__defgrp_name
Field descriptor (offset) for struct member 'defgrp_name'.static long[]
__DNA__FIELD__delimit
Field descriptor (offset) for struct member 'delimit'.static long[]
__DNA__FIELD__face_count
Field descriptor (offset) for struct member 'face_count'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__iter
Field descriptor (offset) for struct member 'iter'.static long[]
__DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.static long[]
__DNA__FIELD__modifier
Field descriptor (offset) for struct member 'modifier'.static long[]
__DNA__FIELD__percent
Field descriptor (offset) for struct member 'percent'.static long[]
__DNA__FIELD__symmetry_axis
Field descriptor (offset) for struct member 'symmetry_axis'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct DecimateModifierData.-
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 DecimateModifierData(long __address, Block __block, BlockTable __blockTable)
protected
DecimateModifierData(DecimateModifierData that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<DecimateModifierData>
__io__addressof()
Instantiates a pointer on this instance.float
getAngle()
Get method for struct member 'angle'.float
getDefgrp_factor()
Get method for struct member 'defgrp_factor'.CArrayFacade<java.lang.Byte>
getDefgrp_name()
Get method for struct member 'defgrp_name'.byte
getDelimit()
Get method for struct member 'delimit'.int
getFace_count()
Get method for struct member 'face_count'.short
getFlag()
Get method for struct member 'flag'.short
getIter()
Get method for struct member 'iter'.short
getMode()
Get method for struct member 'mode'.ModifierData
getModifier()
Get method for struct member 'modifier'.float
getPercent()
Get method for struct member 'percent'.byte
getSymmetry_axis()
Get method for struct member 'symmetry_axis'.void
setAngle(float angle)
Set method for struct member 'angle'.void
setDefgrp_factor(float defgrp_factor)
Set method for struct member 'defgrp_factor'.void
setDefgrp_name(CArrayFacade<java.lang.Byte> defgrp_name)
Set method for struct member 'defgrp_name'.void
setDelimit(byte delimit)
Set method for struct member 'delimit'.void
setFace_count(int face_count)
Set method for struct member 'face_count'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setIter(short iter)
Set method for struct member 'iter'.void
setMode(short mode)
Set method for struct member 'mode'.void
setModifier(ModifierData modifier)
Set method for struct member 'modifier'.void
setPercent(float percent)
Set method for struct member 'percent'.void
setSymmetry_axis(byte symmetry_axis)
Set method for struct member 'symmetry_axis'.-
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 DecimateModifierData.It is required when allocating a new block to store data for DecimateModifierData.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__modifier
public static final long[] __DNA__FIELD__modifier
Field descriptor (offset) for struct member 'modifier'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DecimateModifierData decimatemodifierdata = ...; CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__modifier); CPointer<ModifierData> p_modifier = p.cast(new Class[]{ModifierData.class});
Metadata
- Field: 'modifier'
- Signature: 'ModifierData'
- Actual Size (32bit/64bit): 104/120
-
__DNA__FIELD__percent
public static final long[] __DNA__FIELD__percent
Field descriptor (offset) for struct member 'percent'.Field Documentation
Blender Source Code
(mode == MOD_DECIM_MODE_COLLAPSE).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DecimateModifierData decimatemodifierdata = ...; CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__percent); CPointer<Float> p_percent = p.cast(new Class[]{Float.class});
Metadata
- Field: 'percent'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__iter
public static final long[] __DNA__FIELD__iter
Field descriptor (offset) for struct member 'iter'.Field Documentation
Blender Source Code
(mode == MOD_DECIM_MODE_UNSUBDIV).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DecimateModifierData decimatemodifierdata = ...; CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__iter); CPointer<Short> p_iter = p.cast(new Class[]{Short.class});
Metadata
- Field: 'iter'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__delimit
public static final long[] __DNA__FIELD__delimit
Field descriptor (offset) for struct member 'delimit'.Field Documentation
Blender Source Code
(mode == MOD_DECIM_MODE_DISSOLVE).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DecimateModifierData decimatemodifierdata = ...; CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__delimit); CPointer<Byte> p_delimit = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'delimit'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__symmetry_axis
public static final long[] __DNA__FIELD__symmetry_axis
Field descriptor (offset) for struct member 'symmetry_axis'.Field Documentation
Blender Source Code
(mode == MOD_DECIM_MODE_COLLAPSE).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DecimateModifierData decimatemodifierdata = ...; CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__symmetry_axis); CPointer<Byte> p_symmetry_axis = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'symmetry_axis'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__angle
public static final long[] __DNA__FIELD__angle
Field descriptor (offset) for struct member 'angle'.Field Documentation
Blender Source Code
(mode == MOD_DECIM_MODE_DISSOLVE).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DecimateModifierData decimatemodifierdata = ...; CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__angle); CPointer<Float> p_angle = p.cast(new Class[]{Float.class});
Metadata
- Field: 'angle'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__defgrp_name
public static final long[] __DNA__FIELD__defgrp_name
Field descriptor (offset) for struct member 'defgrp_name'.Field Documentation
Blender Source Code
MAX_VGROUP_NAME.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DecimateModifierData decimatemodifierdata = ...; CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__defgrp_name); CPointer<CArrayFacade<Byte>> p_defgrp_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'defgrp_name'
- Signature: 'char[64]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__defgrp_factor
public static final long[] __DNA__FIELD__defgrp_factor
Field descriptor (offset) for struct member 'defgrp_factor'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DecimateModifierData decimatemodifierdata = ...; CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__defgrp_factor); CPointer<Float> p_defgrp_factor = p.cast(new Class[]{Float.class});
Metadata
- Field: 'defgrp_factor'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__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:
DecimateModifierData decimatemodifierdata = ...; CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__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__mode
public static final long[] __DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DecimateModifierData decimatemodifierdata = ...; CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__mode); CPointer<Short> p_mode = p.cast(new Class[]{Short.class});
Metadata
- Field: 'mode'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__face_count
public static final long[] __DNA__FIELD__face_count
Field descriptor (offset) for struct member 'face_count'.Field Documentation
Blender Source Code
runtime only.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DecimateModifierData decimatemodifierdata = ...; CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__face_count); CPointer<Integer> p_face_count = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'face_count'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
DecimateModifierData
public DecimateModifierData(long __address, Block __block, BlockTable __blockTable)
-
DecimateModifierData
protected DecimateModifierData(DecimateModifierData that)
-
-
Method Detail
-
getModifier
public ModifierData getModifier() throws java.io.IOException
Get method for struct member 'modifier'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__modifier
-
setModifier
public void setModifier(ModifierData modifier) throws java.io.IOException
Set method for struct member 'modifier'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__modifier
-
getPercent
public float getPercent() throws java.io.IOException
Get method for struct member 'percent'.Field Documentation
Blender Source Code
(mode == MOD_DECIM_MODE_COLLAPSE).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__percent
-
setPercent
public void setPercent(float percent) throws java.io.IOException
Set method for struct member 'percent'.Field Documentation
Blender Source Code
(mode == MOD_DECIM_MODE_COLLAPSE).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__percent
-
getIter
public short getIter() throws java.io.IOException
Get method for struct member 'iter'.Field Documentation
Blender Source Code
(mode == MOD_DECIM_MODE_UNSUBDIV).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__iter
-
setIter
public void setIter(short iter) throws java.io.IOException
Set method for struct member 'iter'.Field Documentation
Blender Source Code
(mode == MOD_DECIM_MODE_UNSUBDIV).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__iter
-
getDelimit
public byte getDelimit() throws java.io.IOException
Get method for struct member 'delimit'.Field Documentation
Blender Source Code
(mode == MOD_DECIM_MODE_DISSOLVE).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__delimit
-
setDelimit
public void setDelimit(byte delimit) throws java.io.IOException
Set method for struct member 'delimit'.Field Documentation
Blender Source Code
(mode == MOD_DECIM_MODE_DISSOLVE).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__delimit
-
getSymmetry_axis
public byte getSymmetry_axis() throws java.io.IOException
Get method for struct member 'symmetry_axis'.Field Documentation
Blender Source Code
(mode == MOD_DECIM_MODE_COLLAPSE).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__symmetry_axis
-
setSymmetry_axis
public void setSymmetry_axis(byte symmetry_axis) throws java.io.IOException
Set method for struct member 'symmetry_axis'.Field Documentation
Blender Source Code
(mode == MOD_DECIM_MODE_COLLAPSE).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__symmetry_axis
-
getAngle
public float getAngle() throws java.io.IOException
Get method for struct member 'angle'.Field Documentation
Blender Source Code
(mode == MOD_DECIM_MODE_DISSOLVE).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__angle
-
setAngle
public void setAngle(float angle) throws java.io.IOException
Set method for struct member 'angle'.Field Documentation
Blender Source Code
(mode == MOD_DECIM_MODE_DISSOLVE).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__angle
-
getDefgrp_name
public CArrayFacade<java.lang.Byte> getDefgrp_name() throws java.io.IOException
Get method for struct member 'defgrp_name'.Field Documentation
Blender Source Code
MAX_VGROUP_NAME.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__defgrp_name
-
setDefgrp_name
public void setDefgrp_name(CArrayFacade<java.lang.Byte> defgrp_name) throws java.io.IOException
Set method for struct member 'defgrp_name'.Field Documentation
Blender Source Code
MAX_VGROUP_NAME.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__defgrp_name
-
getDefgrp_factor
public float getDefgrp_factor() throws java.io.IOException
Get method for struct member 'defgrp_factor'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__defgrp_factor
-
setDefgrp_factor
public void setDefgrp_factor(float defgrp_factor) throws java.io.IOException
Set method for struct member 'defgrp_factor'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__defgrp_factor
-
getFlag
public short getFlag() throws java.io.IOException
Get method for struct member 'flag'.- 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'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getMode
public short getMode() throws java.io.IOException
Get method for struct member 'mode'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mode
-
setMode
public void setMode(short mode) throws java.io.IOException
Set method for struct member 'mode'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mode
-
getFace_count
public int getFace_count() throws java.io.IOException
Get method for struct member 'face_count'.Field Documentation
Blender Source Code
runtime only.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__face_count
-
setFace_count
public void setFace_count(int face_count) throws java.io.IOException
Set method for struct member 'face_count'.Field Documentation
Blender Source Code
runtime only.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__face_count
-
__io__addressof
public CPointer<DecimateModifierData> __io__addressof()
Instantiates a pointer on this instance.
-
-