Class bNodeSocketValueInt


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

    Class Documentation

    Blender Source Code

    socket value structs for input buttons DEPRECATED now using ID properties

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        RNA subtype.

        Pointer Arithmetics

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

         bNodeSocketValueInt bnodesocketvalueint = ...;
         CPointer<Object> p = bnodesocketvalueint.__dna__addressof(bNodeSocketValueInt.__DNA__FIELD__subtype);
         CPointer<Integer> p_subtype = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'subtype'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __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:

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

        Metadata

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

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

        Pointer Arithmetics

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

         bNodeSocketValueInt bnodesocketvalueint = ...;
         CPointer<Object> p = bnodesocketvalueint.__dna__addressof(bNodeSocketValueInt.__DNA__FIELD__min);
         CPointer<Integer> p_min = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'min'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__max

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

        Pointer Arithmetics

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

         bNodeSocketValueInt bnodesocketvalueint = ...;
         CPointer<Object> p = bnodesocketvalueint.__dna__addressof(bNodeSocketValueInt.__DNA__FIELD__max);
         CPointer<Integer> p_max = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • bNodeSocketValueInt

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

      • getSubtype

        public int getSubtype()
                       throws java.io.IOException
        Get method for struct member 'subtype'.

        Field Documentation

        Blender Source Code

        RNA subtype.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subtype
      • setSubtype

        public void setSubtype​(int subtype)
                        throws java.io.IOException
        Set method for struct member 'subtype'.

        Field Documentation

        Blender Source Code

        RNA subtype.

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

        public int getMin()
                   throws java.io.IOException
        Get method for struct member 'min'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__min
      • setMin

        public void setMin​(int min)
                    throws java.io.IOException
        Set method for struct member 'min'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__min
      • getMax

        public int getMax()
                   throws java.io.IOException
        Get method for struct member 'max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max
      • setMax

        public void setMax​(int max)
                    throws java.io.IOException
        Set method for struct member 'max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max