Class MirrorModifierData


  • public class MirrorModifierData
    extends CFacade
    Generated facet for DNA struct type 'MirrorModifierData'.

    Class Documentation

    • 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.
        Deprecated

        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__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)
    • 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.
        Deprecated

        Get 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.
        Deprecated

        Set 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
      • 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