Class NodeGeometryRaycast


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        GeometryNodeRaycastMapMode.

        Pointer Arithmetics

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

         NodeGeometryRaycast nodegeometryraycast = ...;
         CPointer<Object> p = nodegeometryraycast.__dna__addressof(NodeGeometryRaycast.__DNA__FIELD__mapping);
         CPointer<Byte> p_mapping = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'mapping'
        • Signature: 'uchar'
        • 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:

         NodeGeometryRaycast nodegeometryraycast = ...;
         CPointer<Object> p = nodegeometryraycast.__dna__addressof(NodeGeometryRaycast.__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__input_type_ray_direction

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

        Field Documentation

        Blender Source Code

        Deprecated input types in new Ray-cast node. Can be removed when legacy nodes are no longer supported.

        Pointer Arithmetics

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

         NodeGeometryRaycast nodegeometryraycast = ...;
         CPointer<Object> p = nodegeometryraycast.__dna__addressof(NodeGeometryRaycast.__DNA__FIELD__input_type_ray_direction);
         CPointer<Byte> p_input_type_ray_direction = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'input_type_ray_direction'
        • Signature: 'uchar'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__input_type_ray_length

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

        Pointer Arithmetics

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

         NodeGeometryRaycast nodegeometryraycast = ...;
         CPointer<Object> p = nodegeometryraycast.__dna__addressof(NodeGeometryRaycast.__DNA__FIELD__input_type_ray_length);
         CPointer<Byte> p_input_type_ray_length = p.cast(new Class[]{Byte.class});
         

        Metadata

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

      • NodeGeometryRaycast

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

      • getMapping

        public byte getMapping()
                        throws java.io.IOException
        Get method for struct member 'mapping'.

        Field Documentation

        Blender Source Code

        GeometryNodeRaycastMapMode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mapping
      • setMapping

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

        Field Documentation

        Blender Source Code

        GeometryNodeRaycastMapMode.

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

        public byte getInput_type_ray_direction()
                                         throws java.io.IOException
        Get method for struct member 'input_type_ray_direction'.

        Field Documentation

        Blender Source Code

        Deprecated input types in new Ray-cast node. Can be removed when legacy nodes are no longer supported.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__input_type_ray_direction
      • setInput_type_ray_direction

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

        Field Documentation

        Blender Source Code

        Deprecated input types in new Ray-cast node. Can be removed when legacy nodes are no longer supported.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__input_type_ray_direction
      • getInput_type_ray_length

        public byte getInput_type_ray_length()
                                      throws java.io.IOException
        Get method for struct member 'input_type_ray_length'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__input_type_ray_length
      • setInput_type_ray_length

        public void setInput_type_ray_length​(byte input_type_ray_length)
                                      throws java.io.IOException
        Set method for struct member 'input_type_ray_length'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__input_type_ray_length