Class DisplaceModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct DisplaceModifierData.

        It is required when allocating a new block to store data for DisplaceModifierData.

        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:

         DisplaceModifierData displacemodifierdata = ...;
         CPointer<Object> p = displacemodifierdata.__dna__addressof(DisplaceModifierData.__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__texture

        public static final long[] __DNA__FIELD__texture
        Field descriptor (offset) for struct member 'texture'.

        Field Documentation

        Blender Source Code

        Keep in sync with MappingInfoModifierData .

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         DisplaceModifierData displacemodifierdata = ...;
         CPointer<Object> p = displacemodifierdata.__dna__addressof(DisplaceModifierData.__DNA__FIELD__texture);
         CPointer<CPointer<Tex>> p_texture = p.cast(new Class[]{CPointer.class, Tex.class});
         

        Metadata

        • Field: 'texture'
        • Signature: 'Tex*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__map_object

        public static final long[] __DNA__FIELD__map_object
        Field descriptor (offset) for struct member 'map_object'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         DisplaceModifierData displacemodifierdata = ...;
         CPointer<Object> p = displacemodifierdata.__dna__addressof(DisplaceModifierData.__DNA__FIELD__map_object);
         CPointer<CPointer<BlenderObject>> p_map_object = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

        • Field: 'map_object'
        • Signature: 'Object*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__map_bone

        public static final long[] __DNA__FIELD__map_bone
        Field descriptor (offset) for struct member 'map_bone'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         DisplaceModifierData displacemodifierdata = ...;
         CPointer<Object> p = displacemodifierdata.__dna__addressof(DisplaceModifierData.__DNA__FIELD__map_bone);
         CPointer<CArrayFacade<Byte>> p_map_bone = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'map_bone'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__uvlayer_name

        public static final long[] __DNA__FIELD__uvlayer_name
        Field descriptor (offset) for struct member 'uvlayer_name'.

        Field Documentation

        Blender Source Code

        MAX_CUSTOMDATA_LAYER_NAME.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         DisplaceModifierData displacemodifierdata = ...;
         CPointer<Object> p = displacemodifierdata.__dna__addressof(DisplaceModifierData.__DNA__FIELD__uvlayer_name);
         CPointer<CArrayFacade<Byte>> p_uvlayer_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'uvlayer_name'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__uvlayer_tmp

        public static final long[] __DNA__FIELD__uvlayer_tmp
        Field descriptor (offset) for struct member 'uvlayer_tmp'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         DisplaceModifierData displacemodifierdata = ...;
         CPointer<Object> p = displacemodifierdata.__dna__addressof(DisplaceModifierData.__DNA__FIELD__uvlayer_tmp);
         CPointer<Integer> p_uvlayer_tmp = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'uvlayer_tmp'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__texmapping

        public static final long[] __DNA__FIELD__texmapping
        Field descriptor (offset) for struct member 'texmapping'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         DisplaceModifierData displacemodifierdata = ...;
         CPointer<Object> p = displacemodifierdata.__dna__addressof(DisplaceModifierData.__DNA__FIELD__texmapping);
         CPointer<Integer> p_texmapping = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'texmapping'
        • 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'.

        Field Documentation

        Blender Source Code

        end MappingInfoModifierData

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         DisplaceModifierData displacemodifierdata = ...;
         CPointer<Object> p = displacemodifierdata.__dna__addressof(DisplaceModifierData.__DNA__FIELD__strength);
         CPointer<Float> p_strength = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'strength'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__direction

        public static final long[] __DNA__FIELD__direction
        Field descriptor (offset) for struct member 'direction'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         DisplaceModifierData displacemodifierdata = ...;
         CPointer<Object> p = displacemodifierdata.__dna__addressof(DisplaceModifierData.__DNA__FIELD__direction);
         CPointer<Integer> p_direction = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'direction'
        • Signature: 'int'
        • 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:

         DisplaceModifierData displacemodifierdata = ...;
         CPointer<Object> p = displacemodifierdata.__dna__addressof(DisplaceModifierData.__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__midlevel

        public static final long[] __DNA__FIELD__midlevel
        Field descriptor (offset) for struct member 'midlevel'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         DisplaceModifierData displacemodifierdata = ...;
         CPointer<Object> p = displacemodifierdata.__dna__addressof(DisplaceModifierData.__DNA__FIELD__midlevel);
         CPointer<Float> p_midlevel = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'midlevel'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__space

        public static final long[] __DNA__FIELD__space
        Field descriptor (offset) for struct member 'space'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         DisplaceModifierData displacemodifierdata = ...;
         CPointer<Object> p = displacemodifierdata.__dna__addressof(DisplaceModifierData.__DNA__FIELD__space);
         CPointer<Integer> p_space = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'space'
        • Signature: 'int'
        • 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:

         DisplaceModifierData displacemodifierdata = ...;
         CPointer<Object> p = displacemodifierdata.__dna__addressof(DisplaceModifierData.__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___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:

         DisplaceModifierData displacemodifierdata = ...;
         CPointer<Object> p = displacemodifierdata.__dna__addressof(DisplaceModifierData.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[6]'
        • Actual Size (32bit/64bit): 6/6
    • Constructor Detail

      • DisplaceModifierData

        public DisplaceModifierData​(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
      • setTexture

        public void setTexture​(CPointer<Tex> texture)
                        throws java.io.IOException
        Set method for struct member 'texture'.

        Field Documentation

        Blender Source Code

        Keep in sync with MappingInfoModifierData .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture
      • getMap_bone

        public CArrayFacade<java.lang.Byte> getMap_bone()
                                                 throws java.io.IOException
        Get method for struct member 'map_bone'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__map_bone
      • setMap_bone

        public void setMap_bone​(CArrayFacade<java.lang.Byte> map_bone)
                         throws java.io.IOException
        Set method for struct member 'map_bone'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__map_bone
      • getUvlayer_name

        public CArrayFacade<java.lang.Byte> getUvlayer_name()
                                                     throws java.io.IOException
        Get method for struct member 'uvlayer_name'.

        Field Documentation

        Blender Source Code

        MAX_CUSTOMDATA_LAYER_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uvlayer_name
      • setUvlayer_name

        public void setUvlayer_name​(CArrayFacade<java.lang.Byte> uvlayer_name)
                             throws java.io.IOException
        Set method for struct member 'uvlayer_name'.

        Field Documentation

        Blender Source Code

        MAX_CUSTOMDATA_LAYER_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uvlayer_name
      • getUvlayer_tmp

        public int getUvlayer_tmp()
                           throws java.io.IOException
        Get method for struct member 'uvlayer_tmp'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uvlayer_tmp
      • setUvlayer_tmp

        public void setUvlayer_tmp​(int uvlayer_tmp)
                            throws java.io.IOException
        Set method for struct member 'uvlayer_tmp'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uvlayer_tmp
      • getTexmapping

        public int getTexmapping()
                          throws java.io.IOException
        Get method for struct member 'texmapping'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texmapping
      • setTexmapping

        public void setTexmapping​(int texmapping)
                           throws java.io.IOException
        Set method for struct member 'texmapping'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texmapping
      • getStrength

        public float getStrength()
                          throws java.io.IOException
        Get method for struct member 'strength'.

        Field Documentation

        Blender Source Code

        end MappingInfoModifierData

        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'.

        Field Documentation

        Blender Source Code

        end MappingInfoModifierData

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__strength
      • getDirection

        public int getDirection()
                         throws java.io.IOException
        Get method for struct member 'direction'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__direction
      • setDirection

        public void setDirection​(int direction)
                          throws java.io.IOException
        Set method for struct member 'direction'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__direction
      • 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
      • getMidlevel

        public float getMidlevel()
                          throws java.io.IOException
        Get method for struct member 'midlevel'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__midlevel
      • setMidlevel

        public void setMidlevel​(float midlevel)
                         throws java.io.IOException
        Set method for struct member 'midlevel'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__midlevel
      • getSpace

        public int getSpace()
                     throws java.io.IOException
        Get method for struct member 'space'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__space
      • setSpace

        public void setSpace​(int space)
                      throws java.io.IOException
        Set method for struct member 'space'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__space
      • 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
      • 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