Class LineStyleGeometryModifier_SinusDisplacement


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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_SinusDisplacement linestylegeometrymodifier_sinusdisplacement = ...;
         CPointer<Object> p = linestylegeometrymodifier_sinusdisplacement.__dna__addressof(LineStyleGeometryModifier_SinusDisplacement.__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__wavelength

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

        Field Documentation

        Blender Python API

        Wavelength of the sinus displacement

        Pointer Arithmetics

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

         LineStyleGeometryModifier_SinusDisplacement linestylegeometrymodifier_sinusdisplacement = ...;
         CPointer<Object> p = linestylegeometrymodifier_sinusdisplacement.__dna__addressof(LineStyleGeometryModifier_SinusDisplacement.__DNA__FIELD__wavelength);
         CPointer<Float> p_wavelength = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'wavelength'
        • 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 sinus displacement

        Pointer Arithmetics

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

         LineStyleGeometryModifier_SinusDisplacement linestylegeometrymodifier_sinusdisplacement = ...;
         CPointer<Object> p = linestylegeometrymodifier_sinusdisplacement.__dna__addressof(LineStyleGeometryModifier_SinusDisplacement.__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__phase

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

        Field Documentation

        Blender Python API

        Phase of the sinus displacement

        Pointer Arithmetics

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

         LineStyleGeometryModifier_SinusDisplacement linestylegeometrymodifier_sinusdisplacement = ...;
         CPointer<Object> p = linestylegeometrymodifier_sinusdisplacement.__dna__addressof(LineStyleGeometryModifier_SinusDisplacement.__DNA__FIELD__phase);
         CPointer<Float> p_phase = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'phase'
        • Signature: 'float'
        • 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:

         LineStyleGeometryModifier_SinusDisplacement linestylegeometrymodifier_sinusdisplacement = ...;
         CPointer<Object> p = linestylegeometrymodifier_sinusdisplacement.__dna__addressof(LineStyleGeometryModifier_SinusDisplacement.__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

      • LineStyleGeometryModifier_SinusDisplacement

        public LineStyleGeometryModifier_SinusDisplacement​(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
      • getWavelength

        public float getWavelength()
                            throws java.io.IOException
        Get method for struct member 'wavelength'.

        Field Documentation

        Blender Python API

        Wavelength of the sinus displacement
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wavelength
      • setWavelength

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

        Field Documentation

        Blender Python API

        Wavelength of the sinus displacement
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wavelength
      • getAmplitude

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

        Field Documentation

        Blender Python API

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

        public float getPhase()
                       throws java.io.IOException
        Get method for struct member 'phase'.

        Field Documentation

        Blender Python API

        Phase of the sinus displacement
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__phase
      • setPhase

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

        Field Documentation

        Blender Python API

        Phase of the sinus displacement
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__phase
      • 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