Class NodeGeometryCurvePrimitiveQuad


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        GeometryNodeCurvePrimitiveQuadMode.

        Pointer Arithmetics

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

         NodeGeometryCurvePrimitiveQuad nodegeometrycurveprimitivequad = ...;
         CPointer<Object> p = nodegeometrycurveprimitivequad.__dna__addressof(NodeGeometryCurvePrimitiveQuad.__DNA__FIELD__mode);
         CPointer<Byte> p_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

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

      • NodeGeometryCurvePrimitiveQuad

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

      • getMode

        public byte getMode()
                     throws java.io.IOException
        Get method for struct member 'mode'.

        Field Documentation

        Blender Source Code

        GeometryNodeCurvePrimitiveQuadMode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • setMode

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

        Field Documentation

        Blender Source Code

        GeometryNodeCurvePrimitiveQuadMode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode