Class CastModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         CastModifierData castmodifierdata = ...;
         CPointer<Object> p = castmodifierdata.__dna__addressof(CastModifierData.__DNA__FIELD__modifier);
         CPointer<ModifierData> p_modifier = p.cast(new Class[]{ModifierData.class});
         

        Metadata

        • Field: 'modifier'
        • Signature: 'ModifierData'
        • Actual Size (32bit/64bit): 100/120
      • __DNA__FIELD__object

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

        Pointer Arithmetics

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

         CastModifierData castmodifierdata = ...;
         CPointer<Object> p = castmodifierdata.__dna__addressof(CastModifierData.__DNA__FIELD__object);
         CPointer<CPointer<BlenderObject>> p_object = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

        • Field: 'object'
        • Signature: 'Object*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__fac

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

        Pointer Arithmetics

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

         CastModifierData castmodifierdata = ...;
         CPointer<Object> p = castmodifierdata.__dna__addressof(CastModifierData.__DNA__FIELD__fac);
         CPointer<Float> p_fac = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'fac'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__radius

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

        Pointer Arithmetics

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

         CastModifierData castmodifierdata = ...;
         CPointer<Object> p = castmodifierdata.__dna__addressof(CastModifierData.__DNA__FIELD__radius);
         CPointer<Float> p_radius = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'radius'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__size

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

        Pointer Arithmetics

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

         CastModifierData castmodifierdata = ...;
         CPointer<Object> p = castmodifierdata.__dna__addressof(CastModifierData.__DNA__FIELD__size);
         CPointer<Float> p_size = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'size'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__defgrp_name

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

        Field Documentation

        Blender Source Code

        MAX_VGROUP_NAME.

        Pointer Arithmetics

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

         CastModifierData castmodifierdata = ...;
         CPointer<Object> p = castmodifierdata.__dna__addressof(CastModifierData.__DNA__FIELD__defgrp_name);
         CPointer<CArrayFacade<Byte>> p_defgrp_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'defgrp_name'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__flag

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

        Pointer Arithmetics

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

         CastModifierData castmodifierdata = ...;
         CPointer<Object> p = castmodifierdata.__dna__addressof(CastModifierData.__DNA__FIELD__flag);
         CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__type

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

        Pointer Arithmetics

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

         CastModifierData castmodifierdata = ...;
         CPointer<Object> p = castmodifierdata.__dna__addressof(CastModifierData.__DNA__FIELD__type);
         CPointer<Short> p_type = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'type'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
    • Constructor Detail

      • CastModifierData

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

      • getModifier

        public ModifierData getModifier()
                                 throws java.io.IOException
        Get method for struct member 'modifier'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modifier
      • setModifier

        public void setModifier​(ModifierData modifier)
                         throws java.io.IOException
        Set method for struct member 'modifier'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modifier
      • getFac

        public float getFac()
                     throws java.io.IOException
        Get method for struct member 'fac'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fac
      • setFac

        public void setFac​(float fac)
                    throws java.io.IOException
        Set method for struct member 'fac'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fac
      • getRadius

        public float getRadius()
                        throws java.io.IOException
        Get method for struct member 'radius'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radius
      • setRadius

        public void setRadius​(float radius)
                       throws java.io.IOException
        Set method for struct member 'radius'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radius
      • getSize

        public float getSize()
                      throws java.io.IOException
        Get method for struct member 'size'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size
      • setSize

        public void setSize​(float size)
                     throws java.io.IOException
        Set method for struct member 'size'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size
      • getDefgrp_name

        public CArrayFacade<java.lang.Byte> getDefgrp_name()
                                                    throws java.io.IOException
        Get method for struct member 'defgrp_name'.

        Field Documentation

        Blender Source Code

        MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__defgrp_name
      • setDefgrp_name

        public void setDefgrp_name​(CArrayFacade<java.lang.Byte> defgrp_name)
                            throws java.io.IOException
        Set method for struct member 'defgrp_name'.

        Field Documentation

        Blender Source Code

        MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__defgrp_name
      • getFlag

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(short flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getType

        public short getType()
                      throws java.io.IOException
        Get method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

        public void setType​(short type)
                     throws java.io.IOException
        Set method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type