Class ObjectLineArt


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Python API

        How to use this object in line art calculation

        Pointer Arithmetics

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

         ObjectLineArt objectlineart = ...;
         CPointer<Object> p = objectlineart.__dna__addressof(ObjectLineArt.__DNA__FIELD__usage);
         CPointer<Short> p_usage = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'usage'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __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:

         ObjectLineArt objectlineart = ...;
         CPointer<Object> p = objectlineart.__dna__addressof(ObjectLineArt.__DNA__FIELD__flags);
         CPointer<Short> p_flags = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flags'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__crease_threshold

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

        Field Documentation

        Blender Python API

        Angles smaller than this will be treated as creases

        Blender Source Code

        if OBJECT_LRT_OWN_CREASE is set

        Pointer Arithmetics

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

         ObjectLineArt objectlineart = ...;
         CPointer<Object> p = objectlineart.__dna__addressof(ObjectLineArt.__DNA__FIELD__crease_threshold);
         CPointer<Float> p_crease_threshold = p.cast(new Class[]{Float.class});
         

        Metadata

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

         ObjectLineArt objectlineart = ...;
         CPointer<Object> p = objectlineart.__dna__addressof(ObjectLineArt.__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:

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

        Metadata

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

      • ObjectLineArt

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

      • getUsage

        public short getUsage()
                       throws java.io.IOException
        Get method for struct member 'usage'.

        Field Documentation

        Blender Python API

        How to use this object in line art calculation
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__usage
      • setUsage

        public void setUsage​(short usage)
                      throws java.io.IOException
        Set method for struct member 'usage'.

        Field Documentation

        Blender Python API

        How to use this object in line art calculation
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__usage
      • getFlags

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

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

        public float getCrease_threshold()
                                  throws java.io.IOException
        Get method for struct member 'crease_threshold'.

        Field Documentation

        Blender Python API

        Angles smaller than this will be treated as creases

        Blender Source Code

        if OBJECT_LRT_OWN_CREASE is set

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__crease_threshold
      • setCrease_threshold

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

        Field Documentation

        Blender Python API

        Angles smaller than this will be treated as creases

        Blender Source Code

        if OBJECT_LRT_OWN_CREASE is set

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__crease_threshold
      • 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 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
      • __io__addressof

        public CPointer<ObjectLineArt> __io__addressof()
        Instantiates a pointer on this instance.