Class MaterialLineArt


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        eMaterialLineArtFlags

        Pointer Arithmetics

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

         MaterialLineArt materiallineart = ...;
         CPointer<Object> p = materiallineart.__dna__addressof(MaterialLineArt.__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__transparency_mask

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

        Pointer Arithmetics

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

         MaterialLineArt materiallineart = ...;
         CPointer<Object> p = materiallineart.__dna__addressof(MaterialLineArt.__DNA__FIELD__transparency_mask);
         CPointer<Byte> p_transparency_mask = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'transparency_mask'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__mat_occlusion

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

        Field Documentation

        Blender Python API

        Faces with this material will behave as if it has set number of layers in occlusion

        Blender Source Code

        Maximum 255 levels of equivalent occlusion.

        Pointer Arithmetics

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

         MaterialLineArt materiallineart = ...;
         CPointer<Object> p = materiallineart.__dna__addressof(MaterialLineArt.__DNA__FIELD__mat_occlusion);
         CPointer<Byte> p_mat_occlusion = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'mat_occlusion'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__intersection_priority

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

        Field Documentation

        Blender Python API

        The intersection line will be included into the object with the higher intersection priority value

        Pointer Arithmetics

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

         MaterialLineArt materiallineart = ...;
         CPointer<Object> p = materiallineart.__dna__addressof(MaterialLineArt.__DNA__FIELD__intersection_priority);
         CPointer<Byte> p_intersection_priority = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'intersection_priority'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __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:

         MaterialLineArt materiallineart = ...;
         CPointer<Object> p = materiallineart.__dna__addressof(MaterialLineArt.__DNA__FIELD___pad);
         CPointer<Byte> p__pad = p.cast(new Class[]{Byte.class});
         

        Metadata

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

      • MaterialLineArt

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

      • getFlags

        public int getFlags()
                     throws java.io.IOException
        Get method for struct member 'flags'.

        Field Documentation

        Blender Source Code

        eMaterialLineArtFlags

        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'.

        Field Documentation

        Blender Source Code

        eMaterialLineArtFlags

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flags
      • getTransparency_mask

        public byte getTransparency_mask()
                                  throws java.io.IOException
        Get method for struct member 'transparency_mask'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__transparency_mask
      • setTransparency_mask

        public void setTransparency_mask​(byte transparency_mask)
                                  throws java.io.IOException
        Set method for struct member 'transparency_mask'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__transparency_mask
      • getMat_occlusion

        public byte getMat_occlusion()
                              throws java.io.IOException
        Get method for struct member 'mat_occlusion'.

        Field Documentation

        Blender Python API

        Faces with this material will behave as if it has set number of layers in occlusion

        Blender Source Code

        Maximum 255 levels of equivalent occlusion.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mat_occlusion
      • setMat_occlusion

        public void setMat_occlusion​(byte mat_occlusion)
                              throws java.io.IOException
        Set method for struct member 'mat_occlusion'.

        Field Documentation

        Blender Python API

        Faces with this material will behave as if it has set number of layers in occlusion

        Blender Source Code

        Maximum 255 levels of equivalent occlusion.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mat_occlusion
      • getIntersection_priority

        public byte getIntersection_priority()
                                      throws java.io.IOException
        Get method for struct member 'intersection_priority'.

        Field Documentation

        Blender Python API

        The intersection line will be included into the object with the higher intersection priority value
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__intersection_priority
      • setIntersection_priority

        public void setIntersection_priority​(byte intersection_priority)
                                      throws java.io.IOException
        Set method for struct member 'intersection_priority'.

        Field Documentation

        Blender Python API

        The intersection line will be included into the object with the higher intersection priority value
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__intersection_priority
      • get_pad

        public 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​(byte _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad