Class NodeGeometryCurveSplineType


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        GeometryNodeSplineType.

        Pointer Arithmetics

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

         NodeGeometryCurveSplineType nodegeometrycurvesplinetype = ...;
         CPointer<Object> p = nodegeometrycurvesplinetype.__dna__addressof(NodeGeometryCurveSplineType.__DNA__FIELD__spline_type);
         CPointer<Byte> p_spline_type = p.cast(new Class[]{Byte.class});
         

        Metadata

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

      • NodeGeometryCurveSplineType

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

      • getSpline_type

        public byte getSpline_type()
                            throws java.io.IOException
        Get method for struct member 'spline_type'.

        Field Documentation

        Blender Source Code

        GeometryNodeSplineType.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__spline_type
      • setSpline_type

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

        Field Documentation

        Blender Source Code

        GeometryNodeSplineType.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__spline_type