Class NodeGeometryCurveSample


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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

        GeometryNodeCurveSampleMode.

        Pointer Arithmetics

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

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

        Metadata

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

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

        Pointer Arithmetics

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

         NodeGeometryCurveSample nodegeometrycurvesample = ...;
         CPointer<Object> p = nodegeometrycurvesample.__dna__addressof(NodeGeometryCurveSample.__DNA__FIELD__use_all_curves);
         CPointer<Byte> p_use_all_curves = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'use_all_curves'
        • Signature: 'int8_t'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__data_type

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

        Field Documentation

        Blender Source Code

        eCustomDataType.

        Pointer Arithmetics

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

         NodeGeometryCurveSample nodegeometrycurvesample = ...;
         CPointer<Object> p = nodegeometrycurvesample.__dna__addressof(NodeGeometryCurveSample.__DNA__FIELD__data_type);
         CPointer<Byte> p_data_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'data_type'
        • Signature: 'int8_t'
        • 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:

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

        Metadata

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

      • NodeGeometryCurveSample

        public NodeGeometryCurveSample​(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

        GeometryNodeCurveSampleMode.

        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

        GeometryNodeCurveSampleMode.

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

        public byte getUse_all_curves()
                               throws java.io.IOException
        Get method for struct member 'use_all_curves'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__use_all_curves
      • setUse_all_curves

        public void setUse_all_curves​(byte use_all_curves)
                               throws java.io.IOException
        Set method for struct member 'use_all_curves'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__use_all_curves
      • getData_type

        public byte getData_type()
                          throws java.io.IOException
        Get method for struct member 'data_type'.

        Field Documentation

        Blender Source Code

        eCustomDataType.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data_type
      • setData_type

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

        Field Documentation

        Blender Source Code

        eCustomDataType.

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