Class LineStyleColorModifier_Noise


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

    Class Documentation

    Blender Source Code

    Noise modifiers (for color, alpha and thickness)

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         LineStyleColorModifier_Noise linestylecolormodifier_noise = ...;
         CPointer<Object> p = linestylecolormodifier_noise.__dna__addressof(LineStyleColorModifier_Noise.__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__color_ramp

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

        Field Documentation

        Blender Python API

        (read-only) Color ramp used to change line color

        Pointer Arithmetics

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

         LineStyleColorModifier_Noise linestylecolormodifier_noise = ...;
         CPointer<Object> p = linestylecolormodifier_noise.__dna__addressof(LineStyleColorModifier_Noise.__DNA__FIELD__color_ramp);
         CPointer<CPointer<ColorBand>> p_color_ramp = p.cast(new Class[]{CPointer.class, ColorBand.class});
         

        Metadata

        • Field: 'color_ramp'
        • Signature: 'ColorBand*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__period

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

        Field Documentation

        Blender Python API

        Period of the noise

        Pointer Arithmetics

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

         LineStyleColorModifier_Noise linestylecolormodifier_noise = ...;
         CPointer<Object> p = linestylecolormodifier_noise.__dna__addressof(LineStyleColorModifier_Noise.__DNA__FIELD__period);
         CPointer<Float> p_period = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'period'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __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 noise

        Pointer Arithmetics

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

         LineStyleColorModifier_Noise linestylecolormodifier_noise = ...;
         CPointer<Object> p = linestylecolormodifier_noise.__dna__addressof(LineStyleColorModifier_Noise.__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__seed

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

        Field Documentation

        Blender Python API

        Seed for the noise generation

        Pointer Arithmetics

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

         LineStyleColorModifier_Noise linestylecolormodifier_noise = ...;
         CPointer<Object> p = linestylecolormodifier_noise.__dna__addressof(LineStyleColorModifier_Noise.__DNA__FIELD__seed);
         CPointer<Integer> p_seed = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'seed'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __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:

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

        Metadata

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

      • LineStyleColorModifier_Noise

        public LineStyleColorModifier_Noise​(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
      • getColor_ramp

        public CPointer<ColorBand> getColor_ramp()
                                          throws java.io.IOException
        Get method for struct member 'color_ramp'.

        Field Documentation

        Blender Python API

        (read-only) Color ramp used to change line color
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__color_ramp
      • setColor_ramp

        public void setColor_ramp​(CPointer<ColorBand> color_ramp)
                           throws java.io.IOException
        Set method for struct member 'color_ramp'.

        Field Documentation

        Blender Python API

        (read-only) Color ramp used to change line color
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__color_ramp
      • getPeriod

        public float getPeriod()
                        throws java.io.IOException
        Get method for struct member 'period'.

        Field Documentation

        Blender Python API

        Period of the noise
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__period
      • setPeriod

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

        Field Documentation

        Blender Python API

        Period of the noise
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__period
      • getAmplitude

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

        Field Documentation

        Blender Python API

        Amplitude of the 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 noise
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__amplitude
      • getSeed

        public int getSeed()
                    throws java.io.IOException
        Get method for struct member 'seed'.

        Field Documentation

        Blender Python API

        Seed for the noise generation
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__seed
      • setSeed

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

        Field Documentation

        Blender Python API

        Seed for the noise generation
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__seed
      • 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