Class LineStyleModifier


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__next

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

        Pointer Arithmetics

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

         LineStyleModifier linestylemodifier = ...;
         CPointer<Object> p = linestylemodifier.__dna__addressof(LineStyleModifier.__DNA__FIELD__next);
         CPointer<CPointer<LineStyleModifier>> p_next = p.cast(new Class[]{CPointer.class, LineStyleModifier.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'LineStyleModifier*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

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

        Pointer Arithmetics

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

         LineStyleModifier linestylemodifier = ...;
         CPointer<Object> p = linestylemodifier.__dna__addressof(LineStyleModifier.__DNA__FIELD__prev);
         CPointer<CPointer<LineStyleModifier>> p_prev = p.cast(new Class[]{CPointer.class, LineStyleModifier.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'LineStyleModifier*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__name

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

        Field Documentation

        Blender Source Code

        MAX_NAME.

        Pointer Arithmetics

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

         LineStyleModifier linestylemodifier = ...;
         CPointer<Object> p = linestylemodifier.__dna__addressof(LineStyleModifier.__DNA__FIELD__name);
         CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         LineStyleModifier linestylemodifier = ...;
         CPointer<Object> p = linestylemodifier.__dna__addressof(LineStyleModifier.__DNA__FIELD__type);
         CPointer<Integer> p_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__influence

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

        Pointer Arithmetics

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

         LineStyleModifier linestylemodifier = ...;
         CPointer<Object> p = linestylemodifier.__dna__addressof(LineStyleModifier.__DNA__FIELD__influence);
         CPointer<Float> p_influence = p.cast(new Class[]{Float.class});
         

        Metadata

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

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

        Metadata

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

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

        Pointer Arithmetics

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

         LineStyleModifier linestylemodifier = ...;
         CPointer<Object> p = linestylemodifier.__dna__addressof(LineStyleModifier.__DNA__FIELD__blend);
         CPointer<Integer> p_blend = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • LineStyleModifier

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

      • getName

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

        Field Documentation

        Blender Source Code

        MAX_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • setName

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

        Field Documentation

        Blender Source Code

        MAX_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • getType

        public int getType()
                    throws java.io.IOException
        Get method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

        public void setType​(int type)
                     throws java.io.IOException
        Set method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • getInfluence

        public float getInfluence()
                           throws java.io.IOException
        Get method for struct member 'influence'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__influence
      • setInfluence

        public void setInfluence​(float influence)
                          throws java.io.IOException
        Set method for struct member 'influence'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__influence
      • 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
      • getBlend

        public int getBlend()
                     throws java.io.IOException
        Get method for struct member 'blend'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blend
      • setBlend

        public void setBlend​(int blend)
                      throws java.io.IOException
        Set method for struct member 'blend'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blend