Class bNodeSocketValueFloat


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         bNodeSocketValueFloat bnodesocketvaluefloat = ...;
         CPointer<Object> p = bnodesocketvaluefloat.__dna__addressof(bNodeSocketValueFloat.__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:

         bNodeSocketValueFloat bnodesocketvaluefloat = ...;
         CPointer<Object> p = bnodesocketvaluefloat.__dna__addressof(bNodeSocketValueFloat.__DNA__FIELD__value);
         CPointer<Float> p_value = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'value'
        • Signature: 'float'
        • 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:

         bNodeSocketValueFloat bnodesocketvaluefloat = ...;
         CPointer<Object> p = bnodesocketvaluefloat.__dna__addressof(bNodeSocketValueFloat.__DNA__FIELD__min);
         CPointer<Float> p_min = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'min'
        • Signature: 'float'
        • 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:

         bNodeSocketValueFloat bnodesocketvaluefloat = ...;
         CPointer<Object> p = bnodesocketvaluefloat.__dna__addressof(bNodeSocketValueFloat.__DNA__FIELD__max);
         CPointer<Float> p_max = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • bNodeSocketValueFloat

        public bNodeSocketValueFloat​(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 float getValue()
                       throws java.io.IOException
        Get method for struct member 'value'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__value
      • setValue

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

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

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

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

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