Class ColorMixVars


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Value from SEQ_TYPE_XXX enumeration.

        Pointer Arithmetics

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

         ColorMixVars colormixvars = ...;
         CPointer<Object> p = colormixvars.__dna__addressof(ColorMixVars.__DNA__FIELD__blend_effect);
         CPointer<Integer> p_blend_effect = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'blend_effect'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__factor

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

        Field Documentation

        Blender Source Code

        Blend factor [0.0f, 1.0f].

        Pointer Arithmetics

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

         ColorMixVars colormixvars = ...;
         CPointer<Object> p = colormixvars.__dna__addressof(ColorMixVars.__DNA__FIELD__factor);
         CPointer<Float> p_factor = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • ColorMixVars

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

        protected ColorMixVars​(ColorMixVars that)
    • Method Detail

      • getBlend_effect

        public int getBlend_effect()
                            throws java.io.IOException
        Get method for struct member 'blend_effect'.

        Field Documentation

        Blender Source Code

        Value from SEQ_TYPE_XXX enumeration.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blend_effect
      • setBlend_effect

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

        Field Documentation

        Blender Source Code

        Value from SEQ_TYPE_XXX enumeration.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blend_effect
      • getFactor

        public float getFactor()
                        throws java.io.IOException
        Get method for struct member 'factor'.

        Field Documentation

        Blender Source Code

        Blend factor [0.0f, 1.0f].

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__factor
      • setFactor

        public void setFactor​(float factor)
                       throws java.io.IOException
        Set method for struct member 'factor'.

        Field Documentation

        Blender Source Code

        Blend factor [0.0f, 1.0f].

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__factor
      • __io__addressof

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