Class bArmature


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         bArmature barmature = ...;
         CPointer<Object> p = barmature.__dna__addressof(bArmature.__DNA__FIELD__id);
         CPointer<ID> p_id = p.cast(new Class[]{ID.class});
         

        Metadata

        • Field: 'id'
        • Signature: 'ID'
        • Actual Size (32bit/64bit): 152/192
      • __DNA__FIELD__adt

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

        Pointer Arithmetics

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

         bArmature barmature = ...;
         CPointer<Object> p = barmature.__dna__addressof(bArmature.__DNA__FIELD__adt);
         CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
         

        Metadata

        • Field: 'adt'
        • Signature: 'AnimData*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__bonebase

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

        Pointer Arithmetics

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

         bArmature barmature = ...;
         CPointer<Object> p = barmature.__dna__addressof(bArmature.__DNA__FIELD__bonebase);
         CPointer<ListBase> p_bonebase = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'bonebase'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__bonehash

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

        Field Documentation

        Blender Source Code

        Use a hash-table for quicker lookups of bones by name.

        Pointer Arithmetics

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

         bArmature barmature = ...;
         CPointer<Object> p = barmature.__dna__addressof(bArmature.__DNA__FIELD__bonehash);
         CPointer<CPointer<Object>> p_bonehash = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'bonehash'
        • Signature: 'GHash*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD___pad1

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

        Pointer Arithmetics

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

         bArmature barmature = ...;
         CPointer<Object> p = barmature.__dna__addressof(bArmature.__DNA__FIELD___pad1);
         CPointer<CPointer<Object>> p__pad1 = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: '_pad1'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__edbo

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

        Field Documentation

        Blender Source Code

        #EditBone list (use an allocated pointer so the state can be checked).

        Pointer Arithmetics

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

         bArmature barmature = ...;
         CPointer<Object> p = barmature.__dna__addressof(bArmature.__DNA__FIELD__edbo);
         CPointer<CPointer<ListBase>> p_edbo = p.cast(new Class[]{CPointer.class, ListBase.class});
         

        Metadata

        • Field: 'edbo'
        • Signature: 'ListBase*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__act_bone

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

        Field Documentation

        Blender Source Code

        active bones should work like active object where possible

        • active and selection are unrelated

        • active & hidden is not allowed

        • from the user perspective active == last selected

        • active should be ignored when not visible (hidden layer) Active bone.

        active and selection are unrelated active & hidden is not allowed from the user perspective active == last selected active should be ignored when not visible (hidden layer) Active bone.

        Pointer Arithmetics

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

         bArmature barmature = ...;
         CPointer<Object> p = barmature.__dna__addressof(bArmature.__DNA__FIELD__act_bone);
         CPointer<CPointer<Bone>> p_act_bone = p.cast(new Class[]{CPointer.class, Bone.class});
         

        Metadata

        • Field: 'act_bone'
        • Signature: 'Bone*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__act_edbone

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

        Field Documentation

        Blender Source Code

        Active edit-bone (in edit-mode).

        Pointer Arithmetics

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

         bArmature barmature = ...;
         CPointer<Object> p = barmature.__dna__addressof(bArmature.__DNA__FIELD__act_edbone);
         CPointer<CPointer<Object>> p_act_edbone = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'act_edbone'
        • Signature: 'EditBone*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__needs_flush_to_id

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

        Field Documentation

        Blender Source Code

        ID data is older than edit-mode data (TODO: move to edit-mode struct).

        Pointer Arithmetics

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

         bArmature barmature = ...;
         CPointer<Object> p = barmature.__dna__addressof(bArmature.__DNA__FIELD__needs_flush_to_id);
         CPointer<Byte> p_needs_flush_to_id = p.cast(new Class[]{Byte.class});
         

        Metadata

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

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

        Metadata

        • Field: '_pad0'
        • Signature: 'char[3]'
        • Actual Size (32bit/64bit): 3/3
      • __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:

         bArmature barmature = ...;
         CPointer<Object> p = barmature.__dna__addressof(bArmature.__DNA__FIELD__flag);
         CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__drawtype

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

        Pointer Arithmetics

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

         bArmature barmature = ...;
         CPointer<Object> p = barmature.__dna__addressof(bArmature.__DNA__FIELD__drawtype);
         CPointer<Integer> p_drawtype = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'drawtype'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__deformflag

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

        Pointer Arithmetics

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

         bArmature barmature = ...;
         CPointer<Object> p = barmature.__dna__addressof(bArmature.__DNA__FIELD__deformflag);
         CPointer<Short> p_deformflag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'deformflag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__pathflag

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

        Pointer Arithmetics

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

         bArmature barmature = ...;
         CPointer<Object> p = barmature.__dna__addressof(bArmature.__DNA__FIELD__pathflag);
         CPointer<Short> p_pathflag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'pathflag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__layer_used

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

        Field Documentation

        Blender Source Code

        For UI, to show which layers are there.

        Pointer Arithmetics

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

         bArmature barmature = ...;
         CPointer<Object> p = barmature.__dna__addressof(bArmature.__DNA__FIELD__layer_used);
         CPointer<Integer> p_layer_used = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'layer_used'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__layer

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

        Field Documentation

        Blender Source Code

        For buttons to work, both variables in this order together.

        Pointer Arithmetics

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

         bArmature barmature = ...;
         CPointer<Object> p = barmature.__dna__addressof(bArmature.__DNA__FIELD__layer);
         CPointer<Integer> p_layer = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'layer'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__layer_protected

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

        Pointer Arithmetics

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

         bArmature barmature = ...;
         CPointer<Object> p = barmature.__dna__addressof(bArmature.__DNA__FIELD__layer_protected);
         CPointer<Integer> p_layer_protected = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'layer_protected'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__axes_position

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

        Field Documentation

        Blender Source Code

        Relative position of the axes on the bone, from head (0.0f) to tail (1.0f).

        Pointer Arithmetics

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

         bArmature barmature = ...;
         CPointer<Object> p = barmature.__dna__addressof(bArmature.__DNA__FIELD__axes_position);
         CPointer<Float> p_axes_position = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • bArmature

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

        protected bArmature​(bArmature that)
    • Method Detail

      • getId

        public ID getId()
                 throws java.io.IOException
        Get method for struct member 'id'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • setId

        public void setId​(ID id)
                   throws java.io.IOException
        Set method for struct member 'id'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • setAdt

        public void setAdt​(CPointer<AnimData> adt)
                    throws java.io.IOException
        Set method for struct member 'adt'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__adt
      • getBonebase

        public ListBase getBonebase()
                             throws java.io.IOException
        Get method for struct member 'bonebase'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bonebase
      • setBonebase

        public void setBonebase​(ListBase bonebase)
                         throws java.io.IOException
        Set method for struct member 'bonebase'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bonebase
      • getBonehash

        public CPointer<java.lang.Object> getBonehash()
                                               throws java.io.IOException
        Get method for struct member 'bonehash'.

        Field Documentation

        Blender Source Code

        Use a hash-table for quicker lookups of bones by name.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bonehash
      • setBonehash

        public void setBonehash​(CPointer<java.lang.Object> bonehash)
                         throws java.io.IOException
        Set method for struct member 'bonehash'.

        Field Documentation

        Blender Source Code

        Use a hash-table for quicker lookups of bones by name.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bonehash
      • get_pad1

        public CPointer<java.lang.Object> get_pad1()
                                            throws java.io.IOException
        Get method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • set_pad1

        public void set_pad1​(CPointer<java.lang.Object> _pad1)
                      throws java.io.IOException
        Set method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • getEdbo

        public CPointer<ListBase> getEdbo()
                                   throws java.io.IOException
        Get method for struct member 'edbo'.

        Field Documentation

        Blender Source Code

        #EditBone list (use an allocated pointer so the state can be checked).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__edbo
      • setEdbo

        public void setEdbo​(CPointer<ListBase> edbo)
                     throws java.io.IOException
        Set method for struct member 'edbo'.

        Field Documentation

        Blender Source Code

        #EditBone list (use an allocated pointer so the state can be checked).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__edbo
      • getAct_bone

        public CPointer<Bone> getAct_bone()
                                   throws java.io.IOException
        Get method for struct member 'act_bone'.

        Field Documentation

        Blender Source Code

        active bones should work like active object where possible

        • active and selection are unrelated

        • active & hidden is not allowed

        • from the user perspective active == last selected

        • active should be ignored when not visible (hidden layer) Active bone.

        active and selection are unrelated active & hidden is not allowed from the user perspective active == last selected active should be ignored when not visible (hidden layer) Active bone.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__act_bone
      • setAct_bone

        public void setAct_bone​(CPointer<Bone> act_bone)
                         throws java.io.IOException
        Set method for struct member 'act_bone'.

        Field Documentation

        Blender Source Code

        active bones should work like active object where possible

        • active and selection are unrelated

        • active & hidden is not allowed

        • from the user perspective active == last selected

        • active should be ignored when not visible (hidden layer) Active bone.

        active and selection are unrelated active & hidden is not allowed from the user perspective active == last selected active should be ignored when not visible (hidden layer) Active bone.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__act_bone
      • getAct_edbone

        public CPointer<java.lang.Object> getAct_edbone()
                                                 throws java.io.IOException
        Get method for struct member 'act_edbone'.

        Field Documentation

        Blender Source Code

        Active edit-bone (in edit-mode).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__act_edbone
      • setAct_edbone

        public void setAct_edbone​(CPointer<java.lang.Object> act_edbone)
                           throws java.io.IOException
        Set method for struct member 'act_edbone'.

        Field Documentation

        Blender Source Code

        Active edit-bone (in edit-mode).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__act_edbone
      • getNeeds_flush_to_id

        public byte getNeeds_flush_to_id()
                                  throws java.io.IOException
        Get method for struct member 'needs_flush_to_id'.

        Field Documentation

        Blender Source Code

        ID data is older than edit-mode data (TODO: move to edit-mode struct).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__needs_flush_to_id
      • setNeeds_flush_to_id

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

        Field Documentation

        Blender Source Code

        ID data is older than edit-mode data (TODO: move to edit-mode struct).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__needs_flush_to_id
      • 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
      • getFlag

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

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

        public int getDrawtype()
                        throws java.io.IOException
        Get method for struct member 'drawtype'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__drawtype
      • setDrawtype

        public void setDrawtype​(int drawtype)
                         throws java.io.IOException
        Set method for struct member 'drawtype'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__drawtype
      • getDeformflag

        public short getDeformflag()
                            throws java.io.IOException
        Get method for struct member 'deformflag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__deformflag
      • setDeformflag

        public void setDeformflag​(short deformflag)
                           throws java.io.IOException
        Set method for struct member 'deformflag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__deformflag
      • getPathflag

        public short getPathflag()
                          throws java.io.IOException
        Get method for struct member 'pathflag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pathflag
      • setPathflag

        public void setPathflag​(short pathflag)
                         throws java.io.IOException
        Set method for struct member 'pathflag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pathflag
      • getLayer_used

        public int getLayer_used()
                          throws java.io.IOException
        Get method for struct member 'layer_used'.

        Field Documentation

        Blender Source Code

        For UI, to show which layers are there.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__layer_used
      • setLayer_used

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

        Field Documentation

        Blender Source Code

        For UI, to show which layers are there.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__layer_used
      • getLayer

        public int getLayer()
                     throws java.io.IOException
        Get method for struct member 'layer'.

        Field Documentation

        Blender Source Code

        For buttons to work, both variables in this order together.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__layer
      • setLayer

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

        Field Documentation

        Blender Source Code

        For buttons to work, both variables in this order together.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__layer
      • getLayer_protected

        public int getLayer_protected()
                               throws java.io.IOException
        Get method for struct member 'layer_protected'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__layer_protected
      • setLayer_protected

        public void setLayer_protected​(int layer_protected)
                                throws java.io.IOException
        Set method for struct member 'layer_protected'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__layer_protected
      • getAxes_position

        public float getAxes_position()
                               throws java.io.IOException
        Get method for struct member 'axes_position'.

        Field Documentation

        Blender Source Code

        Relative position of the axes on the bone, from head (0.0f) to tail (1.0f).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__axes_position
      • setAxes_position

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

        Field Documentation

        Blender Source Code

        Relative position of the axes on the bone, from head (0.0f) to tail (1.0f).

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

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