Class bDeformGroup


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

    Class Documentation

    Blender Source Code

    Vertex Groups - Name Info

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         bDeformGroup bdeformgroup = ...;
         CPointer<Object> p = bdeformgroup.__dna__addressof(bDeformGroup.__DNA__FIELD__next);
         CPointer<CPointer<bDeformGroup>> p_next = p.cast(new Class[]{CPointer.class, bDeformGroup.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'bDeformGroup*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

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

        Pointer Arithmetics

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

         bDeformGroup bdeformgroup = ...;
         CPointer<Object> p = bdeformgroup.__dna__addressof(bDeformGroup.__DNA__FIELD__prev);
         CPointer<CPointer<bDeformGroup>> p_prev = p.cast(new Class[]{CPointer.class, bDeformGroup.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'bDeformGroup*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__name

        public static final long[] __DNA__FIELD__name
        Field descriptor (offset) for struct member '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:

         bDeformGroup bdeformgroup = ...;
         CPointer<Object> p = bdeformgroup.__dna__addressof(bDeformGroup.__DNA__FIELD__name);
         CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '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'.

        Field Documentation

        Blender Source Code

        need this flag for locking weights

        Pointer Arithmetics

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

         bDeformGroup bdeformgroup = ...;
         CPointer<Object> p = bdeformgroup.__dna__addressof(bDeformGroup.__DNA__FIELD__flag);
         CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad0

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

        Pointer Arithmetics

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

         bDeformGroup bdeformgroup = ...;
         CPointer<Object> p = bdeformgroup.__dna__addressof(bDeformGroup.__DNA__FIELD___pad0);
         CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad0'
        • Signature: 'char[7]'
        • Actual Size (32bit/64bit): 7/7
    • Constructor Detail

      • bDeformGroup

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

        protected bDeformGroup​(bDeformGroup that)
    • Method Detail

      • getName

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

        Field Documentation

        Blender Source Code

        MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • setName

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

        Field Documentation

        Blender Source Code

        MAX_VGROUP_NAME.

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

        public byte getFlag()
                     throws java.io.IOException
        Get method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        need this flag for locking weights

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(byte flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        need this flag for locking weights

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • get_pad0

        public CArrayFacade<java.lang.Byte> get_pad0()
                                              throws java.io.IOException
        Get method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • set_pad0

        public void set_pad0​(CArrayFacade<java.lang.Byte> _pad0)
                      throws java.io.IOException
        Set method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • __io__addressof

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