Class Bone


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

    Class Documentation

    Blender Source Code

    this system works on different transformation space levels;

    1) Bone Space; with each Bone having own (0,0,0) origin 2) Armature Space; the rest position, in Object space, Bones Spaces are applied hierarchical 3) Pose Space; the animation position, in Object space 4) World Space; Object matrix applied to Pose or Armature space

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Next/previous elements within this list.

        Pointer Arithmetics

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

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

        Metadata

        • Field: 'next'
        • Signature: 'Bone*'
        • 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:

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

        Metadata

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

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

        Field Documentation

        Blender Source Code

        User-Defined Properties on this Bone .

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__prop);
         CPointer<CPointer<IDProperty>> p_prop = p.cast(new Class[]{CPointer.class, IDProperty.class});
         

        Metadata

        • Field: 'prop'
        • Signature: 'IDProperty*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__parent

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

        Field Documentation

        Blender Python API

        (read-only) Parent bone (in same Armature)

        Blender Source Code

        Parent (IK parent if appropriate flag is set).

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__parent);
         CPointer<CPointer<Bone>> p_parent = p.cast(new Class[]{CPointer.class, Bone.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Children.

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__childbase);
         CPointer<ListBase> p_childbase = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Name of the bone - must be unique within the armature, MAXBONENAME.

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__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__roll

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

        Field Documentation

        Blender Source Code

        Roll is input for edit-mode, length calculated.

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__roll);
         CPointer<Float> p_roll = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'roll'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__head

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

        Field Documentation

        Blender Python API

        (read-only) Location of head end of the bone relative to its parent

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__head);
         CPointer<CArrayFacade<Float>> p_head = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'head'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__tail

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

        Field Documentation

        Blender Python API

        (read-only) Location of tail end of the bone relative to its parent

        Blender Source Code

        Head/tail and roll in Bone Space.

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__tail);
         CPointer<CArrayFacade<Float>> p_tail = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'tail'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__bone_mat

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

        Field Documentation

        Blender Source Code

        Rotation derived from head/tail/roll.

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__bone_mat);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_bone_mat = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__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__inherit_scale_mode

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__inherit_scale_mode);
         CPointer<Byte> p_inherit_scale_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'inherit_scale_mode'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[7]'
        • Actual Size (32bit/64bit): 7/7
      • __DNA__FIELD__arm_head

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__arm_head);
         CPointer<CArrayFacade<Float>> p_arm_head = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'arm_head'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__arm_tail

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

        Field Documentation

        Blender Source Code

        Head/tail in Armature Space (rest pose).

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__arm_tail);
         CPointer<CArrayFacade<Float>> p_arm_tail = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'arm_tail'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__arm_mat

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

        Field Documentation

        Blender Source Code

        , rest pose.

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__arm_mat);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_arm_mat = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'arm_mat'
        • Signature: 'float[4][4]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__arm_roll

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

        Field Documentation

        Blender Source Code

        Roll in Armature Space (rest pose).

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__arm_roll);
         CPointer<Float> p_arm_roll = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'arm_roll'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__dist

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

        Field Documentation

        Blender Source Code

        dist, weight: for non-deformgroup deforms.

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__dist);
         CPointer<Float> p_dist = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'dist'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__weight

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__weight);
         CPointer<Float> p_weight = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'weight'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__xwidth

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

        Field Documentation

        Blender Source Code

        The width for block bones. The final X/Z bone widths are double these values.

        Note

        as offsets.

        keep in this order for transform code which stores a pointer to xwidth, accessing length and zwidth as offsets.

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__xwidth);
         CPointer<Float> p_xwidth = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'xwidth'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__length

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

        Field Documentation

        Blender Python API

        (read-only) Length of the bone

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__length);
         CPointer<Float> p_length = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'length'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__zwidth

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__zwidth);
         CPointer<Float> p_zwidth = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'zwidth'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__rad_head

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

        Field Documentation

        Blender Source Code

        .

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__rad_head);
         CPointer<Float> p_rad_head = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'rad_head'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__rad_tail

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__rad_tail);
         CPointer<Float> p_rad_tail = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'rad_tail'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__roll1

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

        Field Documentation

        Blender Source Code

        Curved bones settings - these define the "rest-pose" for a curved bone.

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__roll1);
         CPointer<Float> p_roll1 = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'roll1'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__roll2

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__roll2);
         CPointer<Float> p_roll2 = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'roll2'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__curveInX

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__curveInX);
         CPointer<Float> p_curveInX = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'curveInX'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__curveInY

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__curveInY);
         CPointer<Float> p_curveInY = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'curveInY'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__curveOutX

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__curveOutX);
         CPointer<Float> p_curveOutX = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'curveOutX'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__curveOutY

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__curveOutY);
         CPointer<Float> p_curveOutY = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'curveOutY'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__ease1

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

        Field Documentation

        Blender Source Code

        Length of bezier handles.

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__ease1);
         CPointer<Float> p_ease1 = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'ease1'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__ease2

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__ease2);
         CPointer<Float> p_ease2 = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'ease2'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__scaleIn

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__scaleIn);
         CPointer<Float> p_scaleIn = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'scaleIn'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__scale_in_y

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__scale_in_y);
         CPointer<Float> p_scale_in_y = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'scale_in_y'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__scaleOut

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__scaleOut);
         CPointer<Float> p_scaleOut = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'scaleOut'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__scale_out_y

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__scale_out_y);
         CPointer<Float> p_scale_out_y = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'scale_out_y'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__scale_in

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__scale_in);
         CPointer<CArrayFacade<Float>> p_scale_in = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'scale_in'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__scale_out

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__scale_out);
         CPointer<CArrayFacade<Float>> p_scale_out = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'scale_out'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__size

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

        Field Documentation

        Blender Source Code

        Patch for upward compatibility, UNUSED!

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__size);
         CPointer<CArrayFacade<Float>> p_size = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'size'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__layer

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

        Field Documentation

        Blender Source Code

        Layers that bone appears on.

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__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__segments

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

        Field Documentation

        Blender Source Code

        For B-bones.

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__segments);
         CPointer<Short> p_segments = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'segments'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__bbone_prev_type

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

        Field Documentation

        Blender Source Code

        Type of next/prev bone handles.

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__bbone_prev_type);
         CPointer<Byte> p_bbone_prev_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'bbone_prev_type'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__bbone_next_type

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__bbone_next_type);
         CPointer<Byte> p_bbone_next_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'bbone_next_type'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__bbone_flag

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

        Field Documentation

        Blender Source Code

        B-Bone flags.

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__bbone_flag);
         CPointer<Integer> p_bbone_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'bbone_flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__bbone_prev_flag

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__bbone_prev_flag);
         CPointer<Short> p_bbone_prev_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'bbone_prev_flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__bbone_next_flag

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__bbone_next_flag);
         CPointer<Short> p_bbone_next_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'bbone_next_flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__bbone_prev

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

        Field Documentation

        Blender Source Code

        Next/prev bones to use as handle references when calculating bbones (optional).

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__bbone_prev);
         CPointer<CPointer<Bone>> p_bbone_prev = p.cast(new Class[]{CPointer.class, Bone.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         Bone bone = ...;
         CPointer<Object> p = bone.__dna__addressof(Bone.__DNA__FIELD__bbone_next);
         CPointer<CPointer<Bone>> p_bbone_next = p.cast(new Class[]{CPointer.class, Bone.class});
         

        Metadata

        • Field: 'bbone_next'
        • Signature: 'Bone*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • Bone

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

        protected Bone​(Bone that)
    • Method Detail

      • getNext

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

        Field Documentation

        Blender Source Code

        Next/previous elements within this list.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setNext

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

        Field Documentation

        Blender Source Code

        Next/previous elements within this list.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • getPrev

        public CPointer<Bone> getPrev()
                               throws java.io.IOException
        Get method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • setPrev

        public void setPrev​(CPointer<Bone> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getProp

        public CPointer<IDProperty> getProp()
                                     throws java.io.IOException
        Get method for struct member 'prop'.

        Field Documentation

        Blender Source Code

        User-Defined Properties on this Bone .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prop
      • setProp

        public void setProp​(CPointer<IDProperty> prop)
                     throws java.io.IOException
        Set method for struct member 'prop'.

        Field Documentation

        Blender Source Code

        User-Defined Properties on this Bone .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prop
      • getParent

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

        Field Documentation

        Blender Python API

        (read-only) Parent bone (in same Armature)

        Blender Source Code

        Parent (IK parent if appropriate flag is set).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parent
      • setParent

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

        Field Documentation

        Blender Python API

        (read-only) Parent bone (in same Armature)

        Blender Source Code

        Parent (IK parent if appropriate flag is set).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parent
      • getChildbase

        public ListBase getChildbase()
                              throws java.io.IOException
        Get method for struct member 'childbase'.

        Field Documentation

        Blender Source Code

        Children.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__childbase
      • setChildbase

        public void setChildbase​(ListBase childbase)
                          throws java.io.IOException
        Set method for struct member 'childbase'.

        Field Documentation

        Blender Source Code

        Children.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__childbase
      • getName

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

        Field Documentation

        Blender Source Code

        Name of the bone - must be unique within the armature, MAXBONENAME.

        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

        Name of the bone - must be unique within the armature, MAXBONENAME.

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

        public float getRoll()
                      throws java.io.IOException
        Get method for struct member 'roll'.

        Field Documentation

        Blender Source Code

        Roll is input for edit-mode, length calculated.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__roll
      • setRoll

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

        Field Documentation

        Blender Source Code

        Roll is input for edit-mode, length calculated.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__roll
      • getHead

        public CArrayFacade<java.lang.Float> getHead()
                                              throws java.io.IOException
        Get method for struct member 'head'.

        Field Documentation

        Blender Python API

        (read-only) Location of head end of the bone relative to its parent
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__head
      • setHead

        public void setHead​(CArrayFacade<java.lang.Float> head)
                     throws java.io.IOException
        Set method for struct member 'head'.

        Field Documentation

        Blender Python API

        (read-only) Location of head end of the bone relative to its parent
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__head
      • getTail

        public CArrayFacade<java.lang.Float> getTail()
                                              throws java.io.IOException
        Get method for struct member 'tail'.

        Field Documentation

        Blender Python API

        (read-only) Location of tail end of the bone relative to its parent

        Blender Source Code

        Head/tail and roll in Bone Space.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tail
      • setTail

        public void setTail​(CArrayFacade<java.lang.Float> tail)
                     throws java.io.IOException
        Set method for struct member 'tail'.

        Field Documentation

        Blender Python API

        (read-only) Location of tail end of the bone relative to its parent

        Blender Source Code

        Head/tail and roll in Bone Space.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tail
      • getBone_mat

        public CArrayFacade<CArrayFacade<java.lang.Float>> getBone_mat()
                                                                throws java.io.IOException
        Get method for struct member 'bone_mat'.

        Field Documentation

        Blender Source Code

        Rotation derived from head/tail/roll.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bone_mat
      • setBone_mat

        public void setBone_mat​(CArrayFacade<CArrayFacade<java.lang.Float>> bone_mat)
                         throws java.io.IOException
        Set method for struct member 'bone_mat'.

        Field Documentation

        Blender Source Code

        Rotation derived from head/tail/roll.

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

        public byte getInherit_scale_mode()
                                   throws java.io.IOException
        Get method for struct member 'inherit_scale_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__inherit_scale_mode
      • setInherit_scale_mode

        public void setInherit_scale_mode​(byte inherit_scale_mode)
                                   throws java.io.IOException
        Set method for struct member 'inherit_scale_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__inherit_scale_mode
      • get_pad

        public CArrayFacade<java.lang.Byte> get_pad()
                                             throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(CArrayFacade<java.lang.Byte> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • getArm_head

        public CArrayFacade<java.lang.Float> getArm_head()
                                                  throws java.io.IOException
        Get method for struct member 'arm_head'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__arm_head
      • setArm_head

        public void setArm_head​(CArrayFacade<java.lang.Float> arm_head)
                         throws java.io.IOException
        Set method for struct member 'arm_head'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__arm_head
      • getArm_tail

        public CArrayFacade<java.lang.Float> getArm_tail()
                                                  throws java.io.IOException
        Get method for struct member 'arm_tail'.

        Field Documentation

        Blender Source Code

        Head/tail in Armature Space (rest pose).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__arm_tail
      • setArm_tail

        public void setArm_tail​(CArrayFacade<java.lang.Float> arm_tail)
                         throws java.io.IOException
        Set method for struct member 'arm_tail'.

        Field Documentation

        Blender Source Code

        Head/tail in Armature Space (rest pose).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__arm_tail
      • getArm_mat

        public CArrayFacade<CArrayFacade<java.lang.Float>> getArm_mat()
                                                               throws java.io.IOException
        Get method for struct member 'arm_mat'.

        Field Documentation

        Blender Source Code

        , rest pose.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__arm_mat
      • setArm_mat

        public void setArm_mat​(CArrayFacade<CArrayFacade<java.lang.Float>> arm_mat)
                        throws java.io.IOException
        Set method for struct member 'arm_mat'.

        Field Documentation

        Blender Source Code

        , rest pose.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__arm_mat
      • getArm_roll

        public float getArm_roll()
                          throws java.io.IOException
        Get method for struct member 'arm_roll'.

        Field Documentation

        Blender Source Code

        Roll in Armature Space (rest pose).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__arm_roll
      • setArm_roll

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

        Field Documentation

        Blender Source Code

        Roll in Armature Space (rest pose).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__arm_roll
      • getDist

        public float getDist()
                      throws java.io.IOException
        Get method for struct member 'dist'.

        Field Documentation

        Blender Source Code

        dist, weight: for non-deformgroup deforms.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dist
      • setDist

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

        Field Documentation

        Blender Source Code

        dist, weight: for non-deformgroup deforms.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dist
      • getWeight

        public float getWeight()
                        throws java.io.IOException
        Get method for struct member 'weight'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__weight
      • setWeight

        public void setWeight​(float weight)
                       throws java.io.IOException
        Set method for struct member 'weight'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__weight
      • getXwidth

        public float getXwidth()
                        throws java.io.IOException
        Get method for struct member 'xwidth'.

        Field Documentation

        Blender Source Code

        The width for block bones. The final X/Z bone widths are double these values.

        Note

        as offsets.

        keep in this order for transform code which stores a pointer to xwidth, accessing length and zwidth as offsets.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xwidth
      • setXwidth

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

        Field Documentation

        Blender Source Code

        The width for block bones. The final X/Z bone widths are double these values.

        Note

        as offsets.

        keep in this order for transform code which stores a pointer to xwidth, accessing length and zwidth as offsets.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xwidth
      • getLength

        public float getLength()
                        throws java.io.IOException
        Get method for struct member 'length'.

        Field Documentation

        Blender Python API

        (read-only) Length of the bone
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__length
      • setLength

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

        Field Documentation

        Blender Python API

        (read-only) Length of the bone
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__length
      • getZwidth

        public float getZwidth()
                        throws java.io.IOException
        Get method for struct member 'zwidth'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__zwidth
      • setZwidth

        public void setZwidth​(float zwidth)
                       throws java.io.IOException
        Set method for struct member 'zwidth'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__zwidth
      • getRad_head

        public float getRad_head()
                          throws java.io.IOException
        Get method for struct member 'rad_head'.

        Field Documentation

        Blender Source Code

        .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rad_head
      • setRad_head

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

        Field Documentation

        Blender Source Code

        .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rad_head
      • getRad_tail

        public float getRad_tail()
                          throws java.io.IOException
        Get method for struct member 'rad_tail'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rad_tail
      • setRad_tail

        public void setRad_tail​(float rad_tail)
                         throws java.io.IOException
        Set method for struct member 'rad_tail'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rad_tail
      • getRoll1

        public float getRoll1()
                       throws java.io.IOException
        Get method for struct member 'roll1'.

        Field Documentation

        Blender Source Code

        Curved bones settings - these define the "rest-pose" for a curved bone.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__roll1
      • setRoll1

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

        Field Documentation

        Blender Source Code

        Curved bones settings - these define the "rest-pose" for a curved bone.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__roll1
      • getRoll2

        public float getRoll2()
                       throws java.io.IOException
        Get method for struct member 'roll2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__roll2
      • setRoll2

        public void setRoll2​(float roll2)
                      throws java.io.IOException
        Set method for struct member 'roll2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__roll2
      • getCurveInX

        public float getCurveInX()
                          throws java.io.IOException
        Get method for struct member 'curveInX'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curveInX
      • setCurveInX

        public void setCurveInX​(float curveInX)
                         throws java.io.IOException
        Set method for struct member 'curveInX'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curveInX
      • getCurveInY

        public float getCurveInY()
                          throws java.io.IOException
        Get method for struct member 'curveInY'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curveInY
      • setCurveInY

        public void setCurveInY​(float curveInY)
                         throws java.io.IOException
        Set method for struct member 'curveInY'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curveInY
      • getCurveOutX

        public float getCurveOutX()
                           throws java.io.IOException
        Get method for struct member 'curveOutX'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curveOutX
      • setCurveOutX

        public void setCurveOutX​(float curveOutX)
                          throws java.io.IOException
        Set method for struct member 'curveOutX'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curveOutX
      • getCurveOutY

        public float getCurveOutY()
                           throws java.io.IOException
        Get method for struct member 'curveOutY'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curveOutY
      • setCurveOutY

        public void setCurveOutY​(float curveOutY)
                          throws java.io.IOException
        Set method for struct member 'curveOutY'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curveOutY
      • getEase1

        public float getEase1()
                       throws java.io.IOException
        Get method for struct member 'ease1'.

        Field Documentation

        Blender Source Code

        Length of bezier handles.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ease1
      • setEase1

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

        Field Documentation

        Blender Source Code

        Length of bezier handles.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ease1
      • getEase2

        public float getEase2()
                       throws java.io.IOException
        Get method for struct member 'ease2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ease2
      • setEase2

        public void setEase2​(float ease2)
                      throws java.io.IOException
        Set method for struct member 'ease2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ease2
      • getScaleIn

        public float getScaleIn()
                         throws java.io.IOException
        Get method for struct member 'scaleIn'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scaleIn
      • setScaleIn

        public void setScaleIn​(float scaleIn)
                        throws java.io.IOException
        Set method for struct member 'scaleIn'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scaleIn
      • getScale_in_y

        public float getScale_in_y()
                            throws java.io.IOException
        Get method for struct member 'scale_in_y'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale_in_y
      • setScale_in_y

        public void setScale_in_y​(float scale_in_y)
                           throws java.io.IOException
        Set method for struct member 'scale_in_y'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale_in_y
      • getScaleOut

        public float getScaleOut()
                          throws java.io.IOException
        Get method for struct member 'scaleOut'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scaleOut
      • setScaleOut

        public void setScaleOut​(float scaleOut)
                         throws java.io.IOException
        Set method for struct member 'scaleOut'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scaleOut
      • getScale_out_y

        public float getScale_out_y()
                             throws java.io.IOException
        Get method for struct member 'scale_out_y'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale_out_y
      • setScale_out_y

        public void setScale_out_y​(float scale_out_y)
                            throws java.io.IOException
        Set method for struct member 'scale_out_y'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale_out_y
      • getScale_in

        public CArrayFacade<java.lang.Float> getScale_in()
                                                  throws java.io.IOException
        Get method for struct member 'scale_in'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale_in
      • setScale_in

        public void setScale_in​(CArrayFacade<java.lang.Float> scale_in)
                         throws java.io.IOException
        Set method for struct member 'scale_in'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale_in
      • getScale_out

        public CArrayFacade<java.lang.Float> getScale_out()
                                                   throws java.io.IOException
        Get method for struct member 'scale_out'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale_out
      • setScale_out

        public void setScale_out​(CArrayFacade<java.lang.Float> scale_out)
                          throws java.io.IOException
        Set method for struct member 'scale_out'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale_out
      • getSize

        public CArrayFacade<java.lang.Float> getSize()
                                              throws java.io.IOException
        Get method for struct member 'size'.

        Field Documentation

        Blender Source Code

        Patch for upward compatibility, UNUSED!

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size
      • setSize

        public void setSize​(CArrayFacade<java.lang.Float> size)
                     throws java.io.IOException
        Set method for struct member 'size'.

        Field Documentation

        Blender Source Code

        Patch for upward compatibility, UNUSED!

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

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

        Field Documentation

        Blender Source Code

        Layers that bone appears on.

        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

        Layers that bone appears on.

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

        public short getSegments()
                          throws java.io.IOException
        Get method for struct member 'segments'.

        Field Documentation

        Blender Source Code

        For B-bones.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__segments
      • setSegments

        public void setSegments​(short segments)
                         throws java.io.IOException
        Set method for struct member 'segments'.

        Field Documentation

        Blender Source Code

        For B-bones.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__segments
      • getBbone_prev_type

        public byte getBbone_prev_type()
                                throws java.io.IOException
        Get method for struct member 'bbone_prev_type'.

        Field Documentation

        Blender Source Code

        Type of next/prev bone handles.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bbone_prev_type
      • setBbone_prev_type

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

        Field Documentation

        Blender Source Code

        Type of next/prev bone handles.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bbone_prev_type
      • getBbone_next_type

        public byte getBbone_next_type()
                                throws java.io.IOException
        Get method for struct member 'bbone_next_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bbone_next_type
      • setBbone_next_type

        public void setBbone_next_type​(byte bbone_next_type)
                                throws java.io.IOException
        Set method for struct member 'bbone_next_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bbone_next_type
      • getBbone_flag

        public int getBbone_flag()
                          throws java.io.IOException
        Get method for struct member 'bbone_flag'.

        Field Documentation

        Blender Source Code

        B-Bone flags.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bbone_flag
      • setBbone_flag

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

        Field Documentation

        Blender Source Code

        B-Bone flags.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bbone_flag
      • getBbone_prev_flag

        public short getBbone_prev_flag()
                                 throws java.io.IOException
        Get method for struct member 'bbone_prev_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bbone_prev_flag
      • setBbone_prev_flag

        public void setBbone_prev_flag​(short bbone_prev_flag)
                                throws java.io.IOException
        Set method for struct member 'bbone_prev_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bbone_prev_flag
      • getBbone_next_flag

        public short getBbone_next_flag()
                                 throws java.io.IOException
        Get method for struct member 'bbone_next_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bbone_next_flag
      • setBbone_next_flag

        public void setBbone_next_flag​(short bbone_next_flag)
                                throws java.io.IOException
        Set method for struct member 'bbone_next_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bbone_next_flag
      • getBbone_prev

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

        Field Documentation

        Blender Source Code

        Next/prev bones to use as handle references when calculating bbones (optional).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bbone_prev
      • setBbone_prev

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

        Field Documentation

        Blender Source Code

        Next/prev bones to use as handle references when calculating bbones (optional).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bbone_prev
      • getBbone_next

        public CPointer<Bone> getBbone_next()
                                     throws java.io.IOException
        Get method for struct member 'bbone_next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bbone_next
      • setBbone_next

        public void setBbone_next​(CPointer<Bone> bbone_next)
                           throws java.io.IOException
        Set method for struct member 'bbone_next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bbone_next
      • __io__addressof

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