Class MFloatProperty


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

    Class Documentation

    Blender Source Code

    Custom Data Properties

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         MFloatProperty mfloatproperty = ...;
         CPointer<Object> p = mfloatproperty.__dna__addressof(MFloatProperty.__DNA__FIELD__f);
         CPointer<Float> p_f = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • MFloatProperty

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

      • getF

        public float getF()
                   throws java.io.IOException
        Get method for struct member 'f'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__f
      • setF

        public void setF​(float f)
                  throws java.io.IOException
        Set method for struct member 'f'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__f
      • __io__addressof

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