Class TransformVars


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         TransformVars transformvars = ...;
         CPointer<Object> p = transformvars.__dna__addressof(TransformVars.__DNA__FIELD__ScalexIni);
         CPointer<Float> p_ScalexIni = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'ScalexIni'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__ScaleyIni

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

        Pointer Arithmetics

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

         TransformVars transformvars = ...;
         CPointer<Object> p = transformvars.__dna__addressof(TransformVars.__DNA__FIELD__ScaleyIni);
         CPointer<Float> p_ScaleyIni = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'ScaleyIni'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__xIni

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

        Pointer Arithmetics

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

         TransformVars transformvars = ...;
         CPointer<Object> p = transformvars.__dna__addressof(TransformVars.__DNA__FIELD__xIni);
         CPointer<Float> p_xIni = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'xIni'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__yIni

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

        Pointer Arithmetics

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

         TransformVars transformvars = ...;
         CPointer<Object> p = transformvars.__dna__addressof(TransformVars.__DNA__FIELD__yIni);
         CPointer<Float> p_yIni = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'yIni'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__rotIni

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

        Pointer Arithmetics

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

         TransformVars transformvars = ...;
         CPointer<Object> p = transformvars.__dna__addressof(TransformVars.__DNA__FIELD__rotIni);
         CPointer<Float> p_rotIni = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'rotIni'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__percent

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

        Pointer Arithmetics

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

         TransformVars transformvars = ...;
         CPointer<Object> p = transformvars.__dna__addressof(TransformVars.__DNA__FIELD__percent);
         CPointer<Integer> p_percent = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'percent'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__interpolation

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

        Pointer Arithmetics

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

         TransformVars transformvars = ...;
         CPointer<Object> p = transformvars.__dna__addressof(TransformVars.__DNA__FIELD__interpolation);
         CPointer<Integer> p_interpolation = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'interpolation'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__uniform_scale

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

        Field Documentation

        Blender Source Code

        Preserve aspect/ratio when scaling.

        Pointer Arithmetics

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

         TransformVars transformvars = ...;
         CPointer<Object> p = transformvars.__dna__addressof(TransformVars.__DNA__FIELD__uniform_scale);
         CPointer<Integer> p_uniform_scale = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • TransformVars

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

      • getScalexIni

        public float getScalexIni()
                           throws java.io.IOException
        Get method for struct member 'ScalexIni'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ScalexIni
      • setScalexIni

        public void setScalexIni​(float ScalexIni)
                          throws java.io.IOException
        Set method for struct member 'ScalexIni'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ScalexIni
      • getScaleyIni

        public float getScaleyIni()
                           throws java.io.IOException
        Get method for struct member 'ScaleyIni'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ScaleyIni
      • setScaleyIni

        public void setScaleyIni​(float ScaleyIni)
                          throws java.io.IOException
        Set method for struct member 'ScaleyIni'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ScaleyIni
      • getXIni

        public float getXIni()
                      throws java.io.IOException
        Get method for struct member 'xIni'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xIni
      • setXIni

        public void setXIni​(float xIni)
                     throws java.io.IOException
        Set method for struct member 'xIni'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xIni
      • getYIni

        public float getYIni()
                      throws java.io.IOException
        Get method for struct member 'yIni'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__yIni
      • setYIni

        public void setYIni​(float yIni)
                     throws java.io.IOException
        Set method for struct member 'yIni'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__yIni
      • getRotIni

        public float getRotIni()
                        throws java.io.IOException
        Get method for struct member 'rotIni'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotIni
      • setRotIni

        public void setRotIni​(float rotIni)
                       throws java.io.IOException
        Set method for struct member 'rotIni'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotIni
      • getPercent

        public int getPercent()
                       throws java.io.IOException
        Get method for struct member 'percent'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__percent
      • setPercent

        public void setPercent​(int percent)
                        throws java.io.IOException
        Set method for struct member 'percent'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__percent
      • getInterpolation

        public int getInterpolation()
                             throws java.io.IOException
        Get method for struct member 'interpolation'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__interpolation
      • setInterpolation

        public void setInterpolation​(int interpolation)
                              throws java.io.IOException
        Set method for struct member 'interpolation'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__interpolation
      • getUniform_scale

        public int getUniform_scale()
                             throws java.io.IOException
        Get method for struct member 'uniform_scale'.

        Field Documentation

        Blender Source Code

        Preserve aspect/ratio when scaling.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uniform_scale
      • setUniform_scale

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

        Field Documentation

        Blender Source Code

        Preserve aspect/ratio when scaling.

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

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