Class NodeShaderTangent


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         NodeShaderTangent nodeshadertangent = ...;
         CPointer<Object> p = nodeshadertangent.__dna__addressof(NodeShaderTangent.__DNA__FIELD__direction_type);
         CPointer<Integer> p_direction_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'direction_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__axis

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

        Pointer Arithmetics

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

         NodeShaderTangent nodeshadertangent = ...;
         CPointer<Object> p = nodeshadertangent.__dna__addressof(NodeShaderTangent.__DNA__FIELD__axis);
         CPointer<Integer> p_axis = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'axis'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__uv_map

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

        Pointer Arithmetics

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

         NodeShaderTangent nodeshadertangent = ...;
         CPointer<Object> p = nodeshadertangent.__dna__addressof(NodeShaderTangent.__DNA__FIELD__uv_map);
         CPointer<CArrayFacade<Byte>> p_uv_map = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

      • NodeShaderTangent

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

      • getDirection_type

        public int getDirection_type()
                              throws java.io.IOException
        Get method for struct member 'direction_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__direction_type
      • setDirection_type

        public void setDirection_type​(int direction_type)
                               throws java.io.IOException
        Set method for struct member 'direction_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__direction_type
      • getAxis

        public int getAxis()
                    throws java.io.IOException
        Get method for struct member 'axis'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__axis
      • setAxis

        public void setAxis​(int axis)
                     throws java.io.IOException
        Set method for struct member 'axis'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__axis
      • getUv_map

        public CArrayFacade<java.lang.Byte> getUv_map()
                                               throws java.io.IOException
        Get method for struct member 'uv_map'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_map
      • setUv_map

        public void setUv_map​(CArrayFacade<java.lang.Byte> uv_map)
                       throws java.io.IOException
        Set method for struct member 'uv_map'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_map