Class VolumeDisplaceModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         VolumeDisplaceModifierData volumedisplacemodifierdata = ...;
         CPointer<Object> p = volumedisplacemodifierdata.__dna__addressof(VolumeDisplaceModifierData.__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'.

        Pointer Arithmetics

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

         VolumeDisplaceModifierData volumedisplacemodifierdata = ...;
         CPointer<Object> p = volumedisplacemodifierdata.__dna__addressof(VolumeDisplaceModifierData.__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__texture_map_object

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

        Pointer Arithmetics

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

         VolumeDisplaceModifierData volumedisplacemodifierdata = ...;
         CPointer<Object> p = volumedisplacemodifierdata.__dna__addressof(VolumeDisplaceModifierData.__DNA__FIELD__texture_map_object);
         CPointer<CPointer<BlenderObject>> p_texture_map_object = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         VolumeDisplaceModifierData volumedisplacemodifierdata = ...;
         CPointer<Object> p = volumedisplacemodifierdata.__dna__addressof(VolumeDisplaceModifierData.__DNA__FIELD__texture_map_mode);
         CPointer<Integer> p_texture_map_mode = p.cast(new Class[]{Integer.class});
         

        Metadata

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

         VolumeDisplaceModifierData volumedisplacemodifierdata = ...;
         CPointer<Object> p = volumedisplacemodifierdata.__dna__addressof(VolumeDisplaceModifierData.__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__texture_mid_level

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

        Pointer Arithmetics

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

         VolumeDisplaceModifierData volumedisplacemodifierdata = ...;
         CPointer<Object> p = volumedisplacemodifierdata.__dna__addressof(VolumeDisplaceModifierData.__DNA__FIELD__texture_mid_level);
         CPointer<CArrayFacade<Float>> p_texture_mid_level = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'texture_mid_level'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__texture_sample_radius

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

        Pointer Arithmetics

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

         VolumeDisplaceModifierData volumedisplacemodifierdata = ...;
         CPointer<Object> p = volumedisplacemodifierdata.__dna__addressof(VolumeDisplaceModifierData.__DNA__FIELD__texture_sample_radius);
         CPointer<Float> p_texture_sample_radius = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'texture_sample_radius'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • VolumeDisplaceModifierData

        public VolumeDisplaceModifierData​(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
      • getTexture

        public CPointer<Tex> getTexture()
                                 throws java.io.IOException
        Get method for struct member 'texture'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture
      • setTexture

        public void setTexture​(CPointer<Tex> texture)
                        throws java.io.IOException
        Set method for struct member 'texture'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture
      • getTexture_map_mode

        public int getTexture_map_mode()
                                throws java.io.IOException
        Get method for struct member 'texture_map_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_map_mode
      • setTexture_map_mode

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

        public CArrayFacade<java.lang.Float> getTexture_mid_level()
                                                           throws java.io.IOException
        Get method for struct member 'texture_mid_level'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_mid_level
      • setTexture_mid_level

        public void setTexture_mid_level​(CArrayFacade<java.lang.Float> texture_mid_level)
                                  throws java.io.IOException
        Set method for struct member 'texture_mid_level'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_mid_level
      • getTexture_sample_radius

        public float getTexture_sample_radius()
                                       throws java.io.IOException
        Get method for struct member 'texture_sample_radius'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_sample_radius
      • setTexture_sample_radius

        public void setTexture_sample_radius​(float texture_sample_radius)
                                      throws java.io.IOException
        Set method for struct member 'texture_sample_radius'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_sample_radius