Class MirrorModifierData
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.MirrorModifierData
-
public class MirrorModifierData extends CFacade
Generated facet for DNA struct type 'MirrorModifierData'.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___pad1
Field descriptor (offset) for struct member '_pad1'.static long[]
__DNA__FIELD__axis
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__bisect_threshold
Field descriptor (offset) for struct member 'bisect_threshold'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__mirror_ob
Field descriptor (offset) for struct member 'mirror_ob'.static long[]
__DNA__FIELD__modifier
Field descriptor (offset) for struct member 'modifier'.static long[]
__DNA__FIELD__tolerance
Field descriptor (offset) for struct member 'tolerance'.static long[]
__DNA__FIELD__use_correct_order_on_merge
Field descriptor (offset) for struct member 'use_correct_order_on_merge'.static long[]
__DNA__FIELD__uv_offset
Field descriptor (offset) for struct member 'uv_offset'.static long[]
__DNA__FIELD__uv_offset_copy
Field descriptor (offset) for struct member 'uv_offset_copy'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct MirrorModifierData.-
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 MirrorModifierData(long __address, Block __block, BlockTable __blockTable)
protected
MirrorModifierData(MirrorModifierData that)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CPointer<MirrorModifierData>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CPointer<java.lang.Object>
get_pad1()
Get method for struct member '_pad1'.short
getAxis()
Deprecated.Deprecatedfloat
getBisect_threshold()
Get method for struct member 'bisect_threshold'.short
getFlag()
Get method for struct member 'flag'.CPointer<BlenderObject>
getMirror_ob()
Get method for struct member 'mirror_ob'.ModifierData
getModifier()
Get method for struct member 'modifier'.float
getTolerance()
Get method for struct member 'tolerance'.byte
getUse_correct_order_on_merge()
Get method for struct member 'use_correct_order_on_merge'.CArrayFacade<java.lang.Float>
getUv_offset()
Get method for struct member 'uv_offset'.CArrayFacade<java.lang.Float>
getUv_offset_copy()
Get method for struct member 'uv_offset_copy'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
set_pad1(CPointer<java.lang.Object> _pad1)
Set method for struct member '_pad1'.void
setAxis(short axis)
Deprecated.Deprecatedvoid
setBisect_threshold(float bisect_threshold)
Set method for struct member 'bisect_threshold'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setMirror_ob(CPointer<BlenderObject> mirror_ob)
Set method for struct member 'mirror_ob'.void
setModifier(ModifierData modifier)
Set method for struct member 'modifier'.void
setTolerance(float tolerance)
Set method for struct member 'tolerance'.void
setUse_correct_order_on_merge(byte use_correct_order_on_merge)
Set method for struct member 'use_correct_order_on_merge'.void
setUv_offset(CArrayFacade<java.lang.Float> uv_offset)
Set method for struct member 'uv_offset'.void
setUv_offset_copy(CArrayFacade<java.lang.Float> uv_offset_copy)
Set method for struct member 'uv_offset_copy'.-
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 MirrorModifierData.It is required when allocating a new block to store data for MirrorModifierData.
- 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:
MirrorModifierData mirrormodifierdata = ...; CPointer<Object> p = mirrormodifierdata.__dna__addressof(MirrorModifierData.__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__axis
public static final long[] __DNA__FIELD__axis
Deprecated.DeprecatedPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MirrorModifierData mirrormodifierdata = ...; CPointer<Object> p = mirrormodifierdata.__dna__addressof(MirrorModifierData.__DNA__FIELD__axis); CPointer<Short> p_axis = p.cast(new Class[]{Short.class});
Metadata
- Field: 'axis'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
Field descriptor (offset) for struct member 'axis'.Field Documentation
Blender Source Code
Deprecated, use flag instead.
-
__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:
MirrorModifierData mirrormodifierdata = ...; CPointer<Object> p = mirrormodifierdata.__dna__addressof(MirrorModifierData.__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__tolerance
public static final long[] __DNA__FIELD__tolerance
Field descriptor (offset) for struct member 'tolerance'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MirrorModifierData mirrormodifierdata = ...; CPointer<Object> p = mirrormodifierdata.__dna__addressof(MirrorModifierData.__DNA__FIELD__tolerance); CPointer<Float> p_tolerance = p.cast(new Class[]{Float.class});
Metadata
- Field: 'tolerance'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__bisect_threshold
public static final long[] __DNA__FIELD__bisect_threshold
Field descriptor (offset) for struct member 'bisect_threshold'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MirrorModifierData mirrormodifierdata = ...; CPointer<Object> p = mirrormodifierdata.__dna__addressof(MirrorModifierData.__DNA__FIELD__bisect_threshold); CPointer<Float> p_bisect_threshold = p.cast(new Class[]{Float.class});
Metadata
- Field: 'bisect_threshold'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__use_correct_order_on_merge
public static final long[] __DNA__FIELD__use_correct_order_on_merge
Field descriptor (offset) for struct member 'use_correct_order_on_merge'.Field Documentation
Blender Source Code
Mirror modifier used to merge the old vertex into its new copy, which would break code relying on access to the original geometry vertices. However, modifying this behavior to the correct one (i.e. merging the copy vertices into their original sources) has several potential effects on other modifiers and tools, so we need to keep that incorrect behavior for existing modifiers, and only use the new correct one for new modifiers.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MirrorModifierData mirrormodifierdata = ...; CPointer<Object> p = mirrormodifierdata.__dna__addressof(MirrorModifierData.__DNA__FIELD__use_correct_order_on_merge); CPointer<Byte> p_use_correct_order_on_merge = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'use_correct_order_on_merge'
- Signature: 'uchar'
- Actual Size (32bit/64bit): 1/1
-
__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:
MirrorModifierData mirrormodifierdata = ...; CPointer<Object> p = mirrormodifierdata.__dna__addressof(MirrorModifierData.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[3]'
- Actual Size (32bit/64bit): 3/3
-
__DNA__FIELD__uv_offset
public static final long[] __DNA__FIELD__uv_offset
Field descriptor (offset) for struct member 'uv_offset'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MirrorModifierData mirrormodifierdata = ...; CPointer<Object> p = mirrormodifierdata.__dna__addressof(MirrorModifierData.__DNA__FIELD__uv_offset); CPointer<CArrayFacade<Float>> p_uv_offset = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'uv_offset'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__uv_offset_copy
public static final long[] __DNA__FIELD__uv_offset_copy
Field descriptor (offset) for struct member 'uv_offset_copy'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MirrorModifierData mirrormodifierdata = ...; CPointer<Object> p = mirrormodifierdata.__dna__addressof(MirrorModifierData.__DNA__FIELD__uv_offset_copy); CPointer<CArrayFacade<Float>> p_uv_offset_copy = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'uv_offset_copy'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__mirror_ob
public static final long[] __DNA__FIELD__mirror_ob
Field descriptor (offset) for struct member 'mirror_ob'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MirrorModifierData mirrormodifierdata = ...; CPointer<Object> p = mirrormodifierdata.__dna__addressof(MirrorModifierData.__DNA__FIELD__mirror_ob); CPointer<CPointer<BlenderObject>> p_mirror_ob = p.cast(new Class[]{CPointer.class, BlenderObject.class});
Metadata
- Field: 'mirror_ob'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD___pad1
public static final long[] __DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MirrorModifierData mirrormodifierdata = ...; CPointer<Object> p = mirrormodifierdata.__dna__addressof(MirrorModifierData.__DNA__FIELD___pad1); CPointer<CPointer<Object>> p__pad1 = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: '_pad1'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
MirrorModifierData
public MirrorModifierData(long __address, Block __block, BlockTable __blockTable)
-
MirrorModifierData
protected MirrorModifierData(MirrorModifierData 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
-
getAxis
public short getAxis() throws java.io.IOException
Deprecated.DeprecatedGet method for struct member 'axis'.Field Documentation
Blender Source Code
Deprecated, use flag instead.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__axis
-
setAxis
public void setAxis(short axis) throws java.io.IOException
Deprecated.DeprecatedSet method for struct member 'axis'.Field Documentation
Blender Source Code
Deprecated, use flag instead.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__axis
-
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
-
getTolerance
public float getTolerance() throws java.io.IOException
Get method for struct member 'tolerance'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tolerance
-
setTolerance
public void setTolerance(float tolerance) throws java.io.IOException
Set method for struct member 'tolerance'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tolerance
-
getBisect_threshold
public float getBisect_threshold() throws java.io.IOException
Get method for struct member 'bisect_threshold'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__bisect_threshold
-
setBisect_threshold
public void setBisect_threshold(float bisect_threshold) throws java.io.IOException
Set method for struct member 'bisect_threshold'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__bisect_threshold
-
getUse_correct_order_on_merge
public byte getUse_correct_order_on_merge() throws java.io.IOException
Get method for struct member 'use_correct_order_on_merge'.Field Documentation
Blender Source Code
Mirror modifier used to merge the old vertex into its new copy, which would break code relying on access to the original geometry vertices. However, modifying this behavior to the correct one (i.e. merging the copy vertices into their original sources) has several potential effects on other modifiers and tools, so we need to keep that incorrect behavior for existing modifiers, and only use the new correct one for new modifiers.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__use_correct_order_on_merge
-
setUse_correct_order_on_merge
public void setUse_correct_order_on_merge(byte use_correct_order_on_merge) throws java.io.IOException
Set method for struct member 'use_correct_order_on_merge'.Field Documentation
Blender Source Code
Mirror modifier used to merge the old vertex into its new copy, which would break code relying on access to the original geometry vertices. However, modifying this behavior to the correct one (i.e. merging the copy vertices into their original sources) has several potential effects on other modifiers and tools, so we need to keep that incorrect behavior for existing modifiers, and only use the new correct one for new modifiers.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__use_correct_order_on_merge
-
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
-
getUv_offset
public CArrayFacade<java.lang.Float> getUv_offset() throws java.io.IOException
Get method for struct member 'uv_offset'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uv_offset
-
setUv_offset
public void setUv_offset(CArrayFacade<java.lang.Float> uv_offset) throws java.io.IOException
Set method for struct member 'uv_offset'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uv_offset
-
getUv_offset_copy
public CArrayFacade<java.lang.Float> getUv_offset_copy() throws java.io.IOException
Get method for struct member 'uv_offset_copy'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uv_offset_copy
-
setUv_offset_copy
public void setUv_offset_copy(CArrayFacade<java.lang.Float> uv_offset_copy) throws java.io.IOException
Set method for struct member 'uv_offset_copy'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uv_offset_copy
-
getMirror_ob
public CPointer<BlenderObject> getMirror_ob() throws java.io.IOException
Get method for struct member 'mirror_ob'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mirror_ob
-
setMirror_ob
public void setMirror_ob(CPointer<BlenderObject> mirror_ob) throws java.io.IOException
Set method for struct member 'mirror_ob'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mirror_ob
-
get_pad1
public CPointer<java.lang.Object> get_pad1() throws java.io.IOException
Get method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
set_pad1
public void set_pad1(CPointer<java.lang.Object> _pad1) throws java.io.IOException
Set method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
__io__addressof
public CPointer<MirrorModifierData> __io__addressof()
Instantiates a pointer on this instance.
-
-