Class LineStyleGeometryModifier_SpatialNoise


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         LineStyleGeometryModifier_SpatialNoise linestylegeometrymodifier_spatialnoise = ...;
         CPointer<Object> p = linestylegeometrymodifier_spatialnoise.__dna__addressof(LineStyleGeometryModifier_SpatialNoise.__DNA__FIELD__modifier);
         CPointer<LineStyleModifier> p_modifier = p.cast(new Class[]{LineStyleModifier.class});
         

        Metadata

        • Field: 'modifier'
        • Signature: 'LineStyleModifier'
        • Actual Size (32bit/64bit): 88/96
      • __DNA__FIELD__amplitude

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

        Field Documentation

        Blender Python API

        Amplitude of the spatial noise

        Pointer Arithmetics

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

         LineStyleGeometryModifier_SpatialNoise linestylegeometrymodifier_spatialnoise = ...;
         CPointer<Object> p = linestylegeometrymodifier_spatialnoise.__dna__addressof(LineStyleGeometryModifier_SpatialNoise.__DNA__FIELD__amplitude);
         CPointer<Float> p_amplitude = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'amplitude'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__scale

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

        Field Documentation

        Blender Python API

        Scale of the spatial noise

        Pointer Arithmetics

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

         LineStyleGeometryModifier_SpatialNoise linestylegeometrymodifier_spatialnoise = ...;
         CPointer<Object> p = linestylegeometrymodifier_spatialnoise.__dna__addressof(LineStyleGeometryModifier_SpatialNoise.__DNA__FIELD__scale);
         CPointer<Float> p_scale = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'scale'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__octaves

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

        Field Documentation

        Blender Python API

        Number of octaves (i.e., the amount of detail of the spatial noise)

        Pointer Arithmetics

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

         LineStyleGeometryModifier_SpatialNoise linestylegeometrymodifier_spatialnoise = ...;
         CPointer<Object> p = linestylegeometrymodifier_spatialnoise.__dna__addressof(LineStyleGeometryModifier_SpatialNoise.__DNA__FIELD__octaves);
         CPointer<Integer> p_octaves = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'octaves'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__flags

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

        Pointer Arithmetics

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

         LineStyleGeometryModifier_SpatialNoise linestylegeometrymodifier_spatialnoise = ...;
         CPointer<Object> p = linestylegeometrymodifier_spatialnoise.__dna__addressof(LineStyleGeometryModifier_SpatialNoise.__DNA__FIELD__flags);
         CPointer<Integer> p_flags = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • LineStyleGeometryModifier_SpatialNoise

        public LineStyleGeometryModifier_SpatialNoise​(long __address,
                                                      Block __block,
                                                      BlockTable __blockTable)
    • Method Detail

      • setModifier

        public void setModifier​(LineStyleModifier modifier)
                         throws java.io.IOException
        Set method for struct member 'modifier'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modifier
      • getAmplitude

        public float getAmplitude()
                           throws java.io.IOException
        Get method for struct member 'amplitude'.

        Field Documentation

        Blender Python API

        Amplitude of the spatial noise
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__amplitude
      • setAmplitude

        public void setAmplitude​(float amplitude)
                          throws java.io.IOException
        Set method for struct member 'amplitude'.

        Field Documentation

        Blender Python API

        Amplitude of the spatial noise
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__amplitude
      • getScale

        public float getScale()
                       throws java.io.IOException
        Get method for struct member 'scale'.

        Field Documentation

        Blender Python API

        Scale of the spatial noise
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale
      • setScale

        public void setScale​(float scale)
                      throws java.io.IOException
        Set method for struct member 'scale'.

        Field Documentation

        Blender Python API

        Scale of the spatial noise
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale
      • getOctaves

        public int getOctaves()
                       throws java.io.IOException
        Get method for struct member 'octaves'.

        Field Documentation

        Blender Python API

        Number of octaves (i.e., the amount of detail of the spatial noise)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__octaves
      • setOctaves

        public void setOctaves​(int octaves)
                        throws java.io.IOException
        Set method for struct member 'octaves'.

        Field Documentation

        Blender Python API

        Number of octaves (i.e., the amount of detail of the spatial noise)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__octaves
      • getFlags

        public int getFlags()
                     throws java.io.IOException
        Get method for struct member 'flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flags
      • setFlags

        public void setFlags​(int flags)
                      throws java.io.IOException
        Set method for struct member 'flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flags