Class bNodeInstanceKey


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

    Class Documentation

    Blender Source Code

    Unique hash key for identifying node instances Defined as a struct because DNA does not support other typedefs.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         bNodeInstanceKey bnodeinstancekey = ...;
         CPointer<Object> p = bnodeinstancekey.__dna__addressof(bNodeInstanceKey.__DNA__FIELD__value);
         CPointer<Integer> p_value = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'value'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • bNodeInstanceKey

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

      • getValue

        public int getValue()
                     throws java.io.IOException
        Get method for struct member 'value'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__value
      • setValue

        public void setValue​(int value)
                      throws java.io.IOException
        Set method for struct member 'value'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__value