Class NodeFrame


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         NodeFrame nodeframe = ...;
         CPointer<Object> p = nodeframe.__dna__addressof(NodeFrame.__DNA__FIELD__flag);
         CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__label_size

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

        Field Documentation

        Blender Python API

        Font size to use for displaying the label

        Pointer Arithmetics

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

         NodeFrame nodeframe = ...;
         CPointer<Object> p = nodeframe.__dna__addressof(NodeFrame.__DNA__FIELD__label_size);
         CPointer<Short> p_label_size = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'label_size'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
    • Constructor Detail

      • NodeFrame

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

        protected NodeFrame​(NodeFrame that)
    • Method Detail

      • getFlag

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(short flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getLabel_size

        public short getLabel_size()
                            throws java.io.IOException
        Get method for struct member 'label_size'.

        Field Documentation

        Blender Python API

        Font size to use for displaying the label
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__label_size
      • setLabel_size

        public void setLabel_size​(short label_size)
                           throws java.io.IOException
        Set method for struct member 'label_size'.

        Field Documentation

        Blender Python API

        Font size to use for displaying the label
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__label_size
      • __io__addressof

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