Class NodeSwitch


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        NodeSwitch .

        Pointer Arithmetics

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

         NodeSwitch nodeswitch = ...;
         CPointer<Object> p = nodeswitch.__dna__addressof(NodeSwitch.__DNA__FIELD__input_type);
         CPointer<Byte> p_input_type = p.cast(new Class[]{Byte.class});
         

        Metadata

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

      • NodeSwitch

        public NodeSwitch​(long __address,
                          Block __block,
                          BlockTable __blockTable)
      • NodeSwitch

        protected NodeSwitch​(NodeSwitch that)
    • Method Detail

      • getInput_type

        public byte getInput_type()
                           throws java.io.IOException
        Get method for struct member 'input_type'.

        Field Documentation

        Blender Source Code

        NodeSwitch .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__input_type
      • setInput_type

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

        Field Documentation

        Blender Source Code

        NodeSwitch .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__input_type
      • __io__addressof

        public CPointer<NodeSwitch> __io__addressof()
        Instantiates a pointer on this instance.