Class BlenderObject


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

    Class Documentation

    Java .Blend

    An instance of BlenderObject represents an element of a scene such as a graphical object, camera, source of sound or light etc..

    There are the following types of objects:

    Nametype id
    (see getType())
    Data type
    (see getData())
    OB_EMPTY0--
    OB_MESH1Mesh
    OB_CURVE2Curve
    OB_SURF3Curve
    OB_FONT4Curve
    OB_MBALL5MetaBall
    OB_LAMP10Lamp
    OB_CAMERA11Camera
    OB_SPEAKER12Speaker
    OB_WAVE21deprecated?
    OB_LATTICE22Lattice
    OB_ARMATURE25bArmature

    The type of an object defines what type of data is to be retrieved from getData().

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__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'.

        Field Documentation

        Java .Blend

        animation data

        Blender Source Code

        Animation data (must be immediately after id for utilities to use it).

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__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__drawdata

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

        Field Documentation

        Blender Source Code

        Runtime (must be immediately after id for utilities to use it).

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__drawdata);
         CPointer<DrawDataList> p_drawdata = p.cast(new Class[]{DrawDataList.class});
         

        Metadata

        • Field: 'drawdata'
        • Signature: 'DrawDataList'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__sculpt

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

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__sculpt);
         CPointer<CPointer<Object>> p_sculpt = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'sculpt'
        • Signature: 'SculptSession*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__type

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

        Field Documentation

        Java .Blend

        type of this object.

        Values:

                OB_EMPTY      = 0,
                OB_MESH       = 1,
                OB_CURVE      = 2,
                OB_SURF       = 3,
                OB_FONT       = 4,
                OB_MBALL      = 5,
                OB_LAMP       = 10,
                OB_CAMERA     = 11,
                OB_SPEAKER    = 12,
                //      OB_WAVE       = 21, 
                OB_LATTICE    = 22,
         
                // 23 and 24 are for life and sector (old file compat.)
                OB_ARMATURE   = 25,
                                        

        Blender Python API

        (read-only) Type of object

        Pointer Arithmetics

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

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

        Metadata

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

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

        Field Documentation

        Java .Blend

        parent type: first 4 bits: type.
                                                PARTYPE       = (1 << 4) - 1,
                                                PAROBJECT     = 0,
                                                PARCURVE      = 1,
                                                PARKEY        = 2,
                                                PARSKEL       = 4,
                                                PARVERT1      = 5,
                                                PARVERT3      = 6,
                                                PARBONE       = 7,
                                                PARSLOW       = 16,
                                        

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__partype);
         CPointer<Short> p_partype = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'partype'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__par1

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

        Field Documentation

        Java .Blend

        can be a vertexnr

        Blender Source Code

        Can be vertexnrs.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__par1);
         CPointer<Integer> p_par1 = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'par1'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__par2

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

        Field Documentation

        Java .Blend

        can be a vertexnr

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__par2);
         CPointer<Integer> p_par2 = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'par2'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__par3

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

        Field Documentation

        Java .Blend

        can be a vertexnr

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__par3);
         CPointer<Integer> p_par3 = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'par3'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__parsubstr

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

        Field Documentation

        Java .Blend

        String describing subobject info, MAX_ID_NAME-2

        Blender Source Code

        String describing subobject info, MAX_ID_NAME-2.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__parsubstr);
         CPointer<CArrayFacade<Byte>> p_parsubstr = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Python API

        Parent object

        Pointer Arithmetics

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

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

        Metadata

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

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

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__track);
         CPointer<CPointer<BlenderObject>> p_track = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

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

        public static final long[] __DNA__FIELD__proxy
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__proxy);
         CPointer<CPointer<BlenderObject>> p_proxy = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

        • Field: 'proxy'
        • Signature: 'Object*'
        • Actual Size (32bit/64bit): 4/8
        Field descriptor (offset) for struct member 'proxy'.

        Field Documentation

        Java .Blend

        if ob->proxy (or proxy_group), this object is proxy for object ob->proxy

        Blender Source Code

        Proxy pointer are deprecated, only kept for conversion to liboverrides.

      • __DNA__FIELD__proxy_group

        public static final long[] __DNA__FIELD__proxy_group
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__proxy_group);
         CPointer<CPointer<BlenderObject>> p_proxy_group = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

        • Field: 'proxy_group'
        • Signature: 'Object*'
        • Actual Size (32bit/64bit): 4/8
        Field descriptor (offset) for struct member 'proxy_group'.

        Field Documentation

        Java .Blend

        if ob->proxy (or proxy_group), this object is proxy for object ob->proxy

        Blender Source Code

      • __DNA__FIELD__proxy_from

        public static final long[] __DNA__FIELD__proxy_from
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__proxy_from);
         CPointer<CPointer<BlenderObject>> p_proxy_from = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

        • Field: 'proxy_from'
        • Signature: 'Object*'
        • Actual Size (32bit/64bit): 4/8
        Field descriptor (offset) for struct member 'proxy_from'.

        Field Documentation

        Java .Blend

        proxy_from is set in target back to the proxy.

        Blender Source Code

      • __DNA__FIELD__ipo

        public static final long[] __DNA__FIELD__ipo
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__ipo);
         CPointer<CPointer<Ipo>> p_ipo = p.cast(new Class[]{CPointer.class, Ipo.class});
         

        Metadata

        • Field: 'ipo'
        • Signature: 'Ipo*'
        • Actual Size (32bit/64bit): 4/8
        Field descriptor (offset) for struct member 'ipo'.

        Field Documentation

        Java .Blend

        old animation system, deprecated for 2.5.
        @deprecated

        Blender Source Code

        Old animation system, deprecated for 2.5.

      • __DNA__FIELD__action

        public static final long[] __DNA__FIELD__action
        Deprecated.
        DeprecatedXXX deprecated... old animation system

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__action);
         CPointer<CPointer<bAction>> p_action = p.cast(new Class[]{CPointer.class, bAction.class});
         

        Metadata

        • Field: 'action'
        • Signature: 'bAction*'
        • Actual Size (32bit/64bit): 4/8
        Field descriptor (offset) for struct member 'action'.

        Field Documentation

        Java .Blend

        old animation system. @deprecated

        Blender Source Code

        struct Path *path;

        XXX deprecated... old animation system

      • __DNA__FIELD__poselib

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

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__poselib);
         CPointer<CPointer<bAction>> p_poselib = p.cast(new Class[]{CPointer.class, bAction.class});
         

        Metadata

        • Field: 'poselib'
        • Signature: 'bAction*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__pose

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

        Field Documentation

        Java .Blend

        pose data, armature objects only

        Blender Python API

        (read-only) Current pose for armatures

        Blender Source Code

        Pose data, armature objects only.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__pose);
         CPointer<CPointer<bPose>> p_pose = p.cast(new Class[]{CPointer.class, bPose.class});
         

        Metadata

        • Field: 'pose'
        • Signature: 'bPose*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__data

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

        Field Documentation

        Java .Blend

        pointer to objects data - an 'ID' or NULL

        Blender Python API

        Object data

        Blender Source Code

        Pointer to objects data - an 'ID ' or NULL.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__data);
         CPointer<CPointer<Object>> p_data = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

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

        public static final long[] __DNA__FIELD__gpd
        Deprecated.
        DeprecatedXXX deprecated... replaced by gpencil object, keep for readfile

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__gpd);
         CPointer<CPointer<bGPdata>> p_gpd = p.cast(new Class[]{CPointer.class, bGPdata.class});
         

        Metadata

        • Field: 'gpd'
        • Signature: 'bGPdata*'
        • Actual Size (32bit/64bit): 4/8
        Field descriptor (offset) for struct member 'gpd'.

        Field Documentation

        Java .Blend

        Grease Pencil data

        Blender Source Code

        Grease Pencil data.

        XXX deprecated... replaced by gpencil object, keep for readfile

      • __DNA__FIELD__avs

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

        Field Documentation

        Java .Blend

        settings for visualization of object-transform animation

        Blender Source Code

        Settings for visualization of object-transform animation.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__avs);
         CPointer<bAnimVizSettings> p_avs = p.cast(new Class[]{bAnimVizSettings.class});
         

        Metadata

        • Field: 'avs'
        • Signature: 'bAnimVizSettings'
        • Actual Size (32bit/64bit): 32/32
      • __DNA__FIELD__mpath

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

        Field Documentation

        Java .Blend

        motion path cache for this object

        Blender Source Code

        Motion path cache for this object.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__mpath);
         CPointer<CPointer<bMotionPath>> p_mpath = p.cast(new Class[]{CPointer.class, bMotionPath.class});
         

        Metadata

        • Field: 'mpath'
        • Signature: 'bMotionPath*'
        • Actual Size (32bit/64bit): 4/8
      • __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:

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD___pad0);
         CPointer<CPointer<Object>> p__pad0 = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

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

        public static final long[] __DNA__FIELD__constraintChannels
        Deprecated.
        DeprecatedXXX deprecated... old animation system

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__constraintChannels);
         CPointer<ListBase> p_constraintChannels = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'constraintChannels'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
        Field descriptor (offset) for struct member 'constraintChannels'.

        Field Documentation

        Java .Blend

        old animation system.
        @deprecated

        Blender Source Code

        XXX deprecated... old animation system

      • __DNA__FIELD__effect

        public static final long[] __DNA__FIELD__effect
        Deprecated.
        DeprecatedXXX deprecated... keep for readfile

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__effect);
         CPointer<ListBase> p_effect = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'effect'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
        Field descriptor (offset) for struct member 'effect'.

        Field Documentation

        Java .Blend


        @deprecated

        Blender Source Code

        XXX deprecated... keep for readfile

      • __DNA__FIELD__defbase

        public static final long[] __DNA__FIELD__defbase
        Deprecated.
        DeprecatedOnly for versioning, moved to object data.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__defbase);
         CPointer<ListBase> p_defbase = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'defbase'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
        Field descriptor (offset) for struct member 'defbase'.

        Field Documentation

        Java .Blend

        list of bDeformGroup (vertex groups) names and flag only

        Blender Source Code

        Only for versioning, moved to object data.

      • __DNA__FIELD__modifiers

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

        Field Documentation

        Java .Blend

        list of ModifierData structures

        Blender Python API

        (read-only) Modifiers affecting the geometric data of the object

        Blender Source Code

        List of ModifierData structures.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__modifiers);
         CPointer<ListBase> p_modifiers = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        List of GpencilModifierData structures.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__greasepencil_modifiers);
         CPointer<ListBase> p_greasepencil_modifiers = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        List of facemaps.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__fmaps);
         CPointer<ListBase> p_fmaps = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        List of viewport effects. Actually only used by grease pencil.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__shader_fx);
         CPointer<ListBase> p_shader_fx = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

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

        Field Documentation

        Java .Blend

        Local object mode. On of:
                                                OB_MODE_OBJECT        = 0,
                                                OB_MODE_EDIT          = 1 << 0,
                                                OB_MODE_SCULPT        = 1 << 1,
                                                OB_MODE_VERTEX_PAINT  = 1 << 2,
                                                OB_MODE_WEIGHT_PAINT  = 1 << 3,
                                                OB_MODE_TEXTURE_PAINT = 1 << 4,
                                                OB_MODE_PARTICLE_EDIT = 1 << 5,
                                                OB_MODE_POSE          = 1 << 6
                                        

        Blender Python API

        (read-only) Object interaction mode

        Blender Source Code

        Local object mode.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__mode);
         CPointer<Integer> p_mode = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'mode'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__restore_mode

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

        Field Documentation

        Java .Blend

        Keep track of what mode to return to after toggling a mode

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__restore_mode);
         CPointer<Integer> p_restore_mode = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'restore_mode'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__mat

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

        Field Documentation

        Java .Blend

        Material slots. Pointer on a list of pointers on instances of Material.
        see getTotcol()

        Blender Source Code

        materials Material slots.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__mat);
         CPointer<CPointer<CPointer<Material>>> p_mat = p.cast(new Class[]{CPointer.class, CPointer.class, Material.class});
         

        Metadata

        • Field: 'mat'
        • Signature: 'Material**'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__matbits

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

        Field Documentation

        Java .Blend

        a boolean field, with each byte 1 if corresponding material is linked to object

        Blender Source Code

        A boolean field, with each byte 1 if corresponding material is linked to object.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__matbits);
         CPointer<CPointer<Byte>> p_matbits = p.cast(new Class[]{CPointer.class, Byte.class});
         

        Metadata

        • Field: 'matbits'
        • Signature: 'char*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__totcol

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

        Field Documentation

        Java .Blend

        Number of available material slots (see getMat()). Copy of Mesh.getTotcol(), Curve.getTotcol() and meta struct member of same name (keep in sync).

        Blender Source Code

        Copy of mesh, curve & meta struct member of same name (keep in sync).

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__totcol);
         CPointer<Integer> p_totcol = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'totcol'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__actcol

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

        Field Documentation

        Java .Blend

        currently selected material slot in the UI

        Blender Source Code

        Currently selected material in the UI.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__actcol);
         CPointer<Integer> p_actcol = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'actcol'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__loc

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

        Field Documentation

        Java .Blend

        location of the object

        Blender Source Code

        rot en drot have to be together! (transform('r' en 's'))

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__loc);
         CPointer<CArrayFacade<Float>> p_loc = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__dloc);
         CPointer<CArrayFacade<Float>> p_dloc = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

        Java .Blend

        size/scale of the object

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__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__dsize

        public static final long[] __DNA__FIELD__dsize
        Deprecated.

        Blender Source Code

        DEPRECATED, 2.60 and older only.

        Field descriptor (offset) for struct member 'dsize'.

        Field Documentation

        Java .Blend

      • __DNA__FIELD__dscale

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

        Field Documentation

        Blender Source Code

        Ack!, changing.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__dscale);
         CPointer<CArrayFacade<Float>> p_dscale = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Java .Blend

        euler rotation

        Blender Source Code

        Euler rotation.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__rot);
         CPointer<CArrayFacade<Float>> p_rot = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Java .Blend

        euler rotation

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__drot);
         CPointer<CArrayFacade<Float>> p_drot = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Java .Blend

        quaternion rotation

        Blender Source Code

        Quaternion rotation.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__quat);
         CPointer<CArrayFacade<Float>> p_quat = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'quat'
        • Signature: 'float[4]'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__dquat

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

        Field Documentation

        Java .Blend

        quaternion rotation

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__dquat);
         CPointer<CArrayFacade<Float>> p_dquat = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'dquat'
        • Signature: 'float[4]'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__rotAxis

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

        Field Documentation

        Java .Blend

        axis angle rotation - axis part

        Blender Source Code

        Axis angle rotation - axis part.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__rotAxis);
         CPointer<CArrayFacade<Float>> p_rotAxis = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Java .Blend

        axis angle rotation - axis part

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__drotAxis);
         CPointer<CArrayFacade<Float>> p_drotAxis = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Java .Blend

        axis angle rotation - angle part

        Blender Source Code

        Axis angle rotation - angle part.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__rotAngle);
         CPointer<Float> p_rotAngle = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'rotAngle'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__drotAngle

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

        Field Documentation

        Java .Blend

        axis angle rotation - angle part

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__drotAngle);
         CPointer<Float> p_drotAngle = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'drotAngle'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__obmat

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

        Field Documentation

        Java .Blend

        final worldspace matrix with constraints & animsys applied

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__obmat);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_obmat = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Java .Blend

        inverse matrix of 'obmat' for any other use than rendering! note: this isn't assured to be valid as with 'obmat', before using this value you should do... invert_m4_m4(ob->imat, ob->obmat);

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__imat);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_imat = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Java .Blend

        inverse result of parent, so that object doesn't 'stick' to parent

        Blender Source Code

        Inverse result of parent, so that object doesn't 'stick' to parent.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__parentinv);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_parentinv = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Java .Blend

        inverse result of constraints. doesn't include effect of parent or object local transform

        Blender Source Code

        Inverse result of constraints. doesn't include effect of parent or object local transform.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__constinv);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_constinv = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

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

        public static final long[] __DNA__FIELD__lay
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__lay);
         CPointer<Integer> p_lay = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'lay'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
        Field descriptor (offset) for struct member 'lay'.

        Field Documentation

        Java .Blend

        copy of Base's layer in the scene

        Blender Source Code

        Copy of Base 's layer in the scene.

      • __DNA__FIELD__flag

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

        Field Documentation

        Java .Blend

        copy of Base#flag

        Blender Source Code

        Copy of Base .

        Pointer Arithmetics

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

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

        Metadata

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

        public static final long[] __DNA__FIELD__colbits
        Deprecated.

        Blender Source Code

        Deprecated, use 'matbits'.

        Field descriptor (offset) for struct member 'colbits'.

        Field Documentation

        Java .Blend

      • __DNA__FIELD__transflag

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

        Field Documentation

        Java .Blend

        transformation settings and transform locks. Flags 1 and 2 were unused or relics from past features.
                                                OB_NEG_SCALE        = 1 << 2,
                                                OB_DUPLIFRAMES      = 1 << 3,
                                                OB_DUPLIVERTS       = 1 << 4,
                                                OB_DUPLIROT         = 1 << 5,
                                                OB_DUPLINOSPEED     = 1 << 6,
                                                OB_DUPLIGROUP       = 1 << 8,
                                                OB_DUPLIFACES       = 1 << 9,
                                                OB_DUPLIFACES_SCALE = 1 << 10,
                                                OB_DUPLIPARTS       = 1 << 11,
                                                OB_RENDER_DUPLI     = 1 << 12,
                                                OB_NO_CONSTRAINTS   = 1 << 13,  --> runtime constraints disable
                                                OB_NO_PSYS_UPDATE   = 1 << 14,  --> hack to work around particle issue
                                                OB_DUPLI            = OB_DUPLIFRAMES | OB_DUPLIVERTS | OB_DUPLIGROUP | OB_DUPLIFACES | OB_DUPLIPARTS,
                                        

        Blender Source Code

        Transformation settings and transform locks.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__transflag);
         CPointer<Short> p_transflag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'transflag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__protectflag

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

        Field Documentation

        Java .Blend

        transformation settings and transform locks.

        Values:

                                                OB_LOCK_LOCX    = 1 << 0,
                                                OB_LOCK_LOCY    = 1 << 1,
                                                OB_LOCK_LOCZ    = 1 << 2,
                                                OB_LOCK_LOC     = OB_LOCK_LOCX | OB_LOCK_LOCY | OB_LOCK_LOCZ,
                                                OB_LOCK_ROTX    = 1 << 3,
                                                OB_LOCK_ROTY    = 1 << 4,
                                                OB_LOCK_ROTZ    = 1 << 5,
                                                OB_LOCK_ROT     = OB_LOCK_ROTX | OB_LOCK_ROTY | OB_LOCK_ROTZ,
                                                OB_LOCK_SCALEX  = 1 << 6,
                                                OB_LOCK_SCALEY  = 1 << 7,
                                                OB_LOCK_SCALEZ  = 1 << 8,
                                                OB_LOCK_SCALE   = OB_LOCK_SCALEX | OB_LOCK_SCALEY | OB_LOCK_SCALEZ,
                                                OB_LOCK_ROTW    = 1 << 9,
                                                OB_LOCK_ROT4D   = 1 << 10,
                                        

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__protectflag);
         CPointer<Short> p_protectflag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'protectflag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__trackflag

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

        Field Documentation

        Java .Blend

        transformation settings and transform locks.
                                                OB_POSX = 0,
                                                OB_POSY = 1,
                                                OB_POSZ = 2,
                                                OB_NEGX = 3,
                                                OB_NEGY = 4,
                                                OB_NEGZ = 5,
                                        

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__trackflag);
         CPointer<Short> p_trackflag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'trackflag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__upflag

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

        Field Documentation

        Java .Blend

        transformation settings and transform locks.
                                                OB_POSX = 0,
                                                OB_POSY = 1,
                                                OB_POSZ = 2,
                                                OB_NEGX = 3,
                                                OB_NEGY = 4,
                                                OB_NEGZ = 5,
                                        

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__upflag);
         CPointer<Short> p_upflag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'upflag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__nlaflag

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

        Field Documentation

        Java .Blend

        used for DopeSheet filtering settings (expanded/collapsed).
                                                -- object-channel expanded status --
                                                OB_ADS_COLLAPSED    = 1 << 10,
                                                -- object's ipo-block --
                                                OB_ADS_SHOWIPO      = 1 << 11,
                                                -- object's constraint channels --
                                                OB_ADS_SHOWCONS     = 1 << 12,
                                                -- object's material channels --
                                                OB_ADS_SHOWMATS     = 1 << 13,
                                                -- object's marticle channels --
                                                OB_ADS_SHOWPARTS    = 1 << 14,
                                        

        Blender Source Code

        Used for DopeSheet filtering settings (expanded/collapsed).

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__nlaflag);
         CPointer<Short> p_nlaflag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'nlaflag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __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:

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD___pad1);
         CPointer<Byte> p__pad1 = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: '_pad1'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__duplicator_visibility_flag

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

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__duplicator_visibility_flag);
         CPointer<Byte> p_duplicator_visibility_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'duplicator_visibility_flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__base_flag

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

        Field Documentation

        Blender Source Code

        Depsgraph Used by depsgraph, flushed from base.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__base_flag);
         CPointer<Short> p_base_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'base_flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__base_local_view_bits

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

        Field Documentation

        Blender Source Code

        Used by viewport, synced from base.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__base_local_view_bits);
         CPointer<Short> p_base_local_view_bits = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'base_local_view_bits'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__col_group

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

        Field Documentation

        Java .Blend

        Collision mask settings

        Blender Source Code

        Collision mask settings

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__col_group);
         CPointer<Short> p_col_group = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'col_group'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__col_mask

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

        Field Documentation

        Java .Blend

        Collision mask settings

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__col_mask);
         CPointer<Short> p_col_mask = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'col_mask'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__rotmode

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

        Field Documentation

        Java .Blend

        rotation mode - uses defines set out in DNA_action_types.h for PoseChannel rotations...

        Blender Source Code

        Rotation mode - uses defines set out in DNA_action_types.h for PoseChannel rotations....

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__rotmode);
         CPointer<Short> p_rotmode = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'rotmode'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__boundtype

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

        Field Documentation

        Java .Blend

        bounding box use for drawing

        Blender Source Code

        Bounding box use for drawing.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__boundtype);
         CPointer<Byte> p_boundtype = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'boundtype'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__collision_boundtype

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

        Field Documentation

        Java .Blend

        bounding box type used for collision.
                                                OB_BOUND_BOX           = 0,
                                                OB_BOUND_SPHERE        = 1,
                                                OB_BOUND_CYLINDER      = 2,
                                                OB_BOUND_CONE          = 3,
                                                OB_BOUND_TRIANGLE_MESH = 4,
                                                OB_BOUND_CONVEX_HULL   = 5,
                                                OB_BOUND_CAPSULE       = 7,
                                        

        Blender Source Code

        Bounding box type used for collision.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__collision_boundtype);
         CPointer<Byte> p_collision_boundtype = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'collision_boundtype'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__dtx

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

        Field Documentation

        Java .Blend

        viewport draw extra settings. Flags:
                                                OB_DRAWBOUNDOX    = 1 << 0,
                                                OB_AXIS           = 1 << 1,
                                                OB_TEXSPACE       = 1 << 2,
                                                OB_DRAWNAME       = 1 << 3,
                                                OB_DRAWIMAGE      = 1 << 4,
                                                -- for solid+wire display --
                                                OB_DRAWWIRE       = 1 << 5,
                                                -- for overdraw s --
                                                OB_DRAWXRAY       = 1 << 6,
                                                -- enable transparent draw --
                                                OB_DRAWTRANSP     = 1 << 7,
                                                OB_DRAW_ALL_EDGES = 1 << 8,  --> only for meshes currently
                                        

        Blender Source Code

        Viewport draw extra settings.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__dtx);
         CPointer<Short> p_dtx = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'dtx'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__dt

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

        Field Documentation

        Java .Blend

        viewport draw type.
                                                OB_BOUNDBOX  = 1,
                                                OB_WIRE      = 2,
                                                OB_SOLID     = 3,
                                                OB_MATERIAL  = 4,
                                                OB_TEXTURE   = 5,
                                                OB_RENDER    = 6,
                                                OB_PAINT     = 100,  --> temporary used in draw code 
                                        

        Blender Source Code

        Viewport draw type.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__dt);
         CPointer<Byte> p_dt = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'dt'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__empty_drawtype

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

        Field Documentation

        Java .Blend

        related to viewport drawing.
                                                OB_ARROWS        = 1,
                                                OB_PLAINAXES     = 2,
                                                OB_CIRCLE        = 3,
                                                OB_SINGLE_ARROW  = 4,
                                                OB_CUBE          = 5,
                                                OB_EMPTY_SPHERE  = 6,
                                                OB_EMPTY_CONE    = 7,
                                                OB_EMPTY_IMAGE   = 8,
                                        

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__empty_drawtype);
         CPointer<Byte> p_empty_drawtype = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'empty_drawtype'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__empty_drawsize

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

        Field Documentation

        Java .Blend

        related to viewport drawing

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__empty_drawsize);
         CPointer<Float> p_empty_drawsize = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'empty_drawsize'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__dupfacesca

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

        Field Documentation

        Java .Blend

        dupliface scale

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__dupfacesca);
         CPointer<Float> p_dupfacesca = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'dupfacesca'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__index

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

        Field Documentation

        Java .Blend

        custom index, for renderpasses

        Blender Source Code

        Custom index, for render-passes.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__index);
         CPointer<Short> p_index = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'index'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__actdef

        public static final long[] __DNA__FIELD__actdef
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__actdef);
         CPointer<Short> p_actdef = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'actdef'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
        Field descriptor (offset) for struct member 'actdef'.

        Field Documentation

        Java .Blend

        current deformation group, note: index starts at 1

        Blender Source Code

        Current deformation group, NOTE: index starts at 1.

      • __DNA__FIELD__actfmap

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

        Field Documentation

        Blender Source Code

        Current face map, NOTE: index starts at 1.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__actfmap);
         CPointer<Short> p_actfmap = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'actfmap'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD___pad2

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

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD___pad2);
         CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad2'
        • Signature: 'char[2]'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__col

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

        Field Documentation

        Java .Blend

        object color

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__col);
         CPointer<CArrayFacade<Float>> p_col = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'col'
        • Signature: 'float[4]'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__softflag

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

        Field Documentation

        Java .Blend

        softbody settings

        Blender Source Code

        Softbody settings.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__softflag);
         CPointer<Short> p_softflag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'softflag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__restrictflag

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

        Field Documentation

        Java .Blend

        for restricting view, select, render etc. accessible in outliner

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__restrictflag);
         CPointer<Short> p_restrictflag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'restrictflag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__shapenr

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

        Field Documentation

        Java .Blend

        current shape key for menu or pinned

        Blender Source Code

        Current shape key for menu or pinned.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__shapenr);
         CPointer<Short> p_shapenr = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'shapenr'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__shapeflag

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

        Field Documentation

        Java .Blend

        flag for pinning

        Blender Source Code

        Flag for pinning.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__shapeflag);
         CPointer<Byte> p_shapeflag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'shapeflag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad3

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

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD___pad3);
         CPointer<CArrayFacade<Byte>> p__pad3 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad3'
        • Signature: 'char[1]'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__constraints

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

        Field Documentation

        Java .Blend

        object constraints

        Blender Python API

        (read-only) Constraints affecting the transformation of the object

        Blender Source Code

        Object constraints.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__constraints);
         CPointer<ListBase> p_constraints = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

        public static final long[] __DNA__FIELD__nlastrips
        Deprecated.

        Blender Source Code

        XXX deprecated... old animation system

        Field descriptor (offset) for struct member 'nlastrips'.

        Field Documentation

        Java .Blend

      • __DNA__FIELD__hooks

        public static final long[] __DNA__FIELD__hooks
        Deprecated.

        Blender Source Code

        XXX deprecated... old animation system

        Field descriptor (offset) for struct member 'hooks'.

        Field Documentation

        Java .Blend

      • __DNA__FIELD__particlesystem

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

        Field Documentation

        Java .Blend

        particle systems

        Blender Source Code

        Particle systems.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__particlesystem);
         CPointer<ListBase> p_particlesystem = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

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

        Field Documentation

        Java .Blend

        particle deflector/attractor/collision data

        Blender Source Code

        Particle deflector/attractor/collision data.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__pd);
         CPointer<CPointer<PartDeflect>> p_pd = p.cast(new Class[]{CPointer.class, PartDeflect.class});
         

        Metadata

        • Field: 'pd'
        • Signature: 'PartDeflect*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__soft

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

        Field Documentation

        Java .Blend

        if exists, saved in file

        Blender Source Code

        If exists, saved in file.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__soft);
         CPointer<CPointer<SoftBody>> p_soft = p.cast(new Class[]{CPointer.class, SoftBody.class});
         

        Metadata

        • Field: 'soft'
        • Signature: 'SoftBody*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__dup_group

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

        Field Documentation

        Java .Blend

        object duplicator for group

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__dup_group);
         CPointer<CPointer<Collection>> p_dup_group = p.cast(new Class[]{CPointer.class, Collection.class});
         

        Metadata

        • Field: 'dup_group'
        • Signature: 'Collection*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__fluidsimSettings

        public static final long[] __DNA__FIELD__fluidsimSettings
        Deprecated.
        DeprecatedXXX deprecated... replaced by mantaflow, keep for readfile

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__fluidsimSettings);
         CPointer<CPointer<FluidsimSettings>> p_fluidsimSettings = p.cast(new Class[]{CPointer.class, FluidsimSettings.class});
         

        Metadata

        • Field: 'fluidsimSettings'
        • Signature: 'FluidsimSettings*'
        • Actual Size (32bit/64bit): 4/8
        Field descriptor (offset) for struct member 'fluidsimSettings'.

        Field Documentation

        Java .Blend

        if fluidsim enabled, store additional settings

        Blender Source Code

        If fluidsim enabled, store additional settings.

        XXX deprecated... replaced by mantaflow, keep for readfile

      • __DNA__FIELD__pc_ids

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

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__pc_ids);
         CPointer<ListBase> p_pc_ids = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

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

        Field Documentation

        Java .Blend

        settings for Bullet rigid body

        Blender Source Code

        Settings for Bullet rigid body.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__rigidbody_object);
         CPointer<CPointer<RigidBodyOb>> p_rigidbody_object = p.cast(new Class[]{CPointer.class, RigidBodyOb.class});
         

        Metadata

        • Field: 'rigidbody_object'
        • Signature: 'RigidBodyOb*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__rigidbody_constraint

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

        Field Documentation

        Java .Blend

        settings for Bullet constraint

        Blender Source Code

        Settings for Bullet constraint.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__rigidbody_constraint);
         CPointer<CPointer<RigidBodyCon>> p_rigidbody_constraint = p.cast(new Class[]{CPointer.class, RigidBodyCon.class});
         

        Metadata

        • Field: 'rigidbody_constraint'
        • Signature: 'RigidBodyCon*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__ima_ofs

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

        Field Documentation

        Java .Blend

        offset for image empties

        Blender Source Code

        Offset for image empties.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__ima_ofs);
         CPointer<CArrayFacade<Float>> p_ima_ofs = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'ima_ofs'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__iuser

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

        Field Documentation

        Blender Source Code

        Must be non-null when object is an empty image.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__iuser);
         CPointer<CPointer<ImageUser>> p_iuser = p.cast(new Class[]{CPointer.class, ImageUser.class});
         

        Metadata

        • Field: 'iuser'
        • Signature: 'ImageUser*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__empty_image_visibility_flag

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

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__empty_image_visibility_flag);
         CPointer<Byte> p_empty_image_visibility_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'empty_image_visibility_flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__empty_image_depth

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

        Field Documentation

        Blender Python API

        Determine which other objects will occlude the image

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__empty_image_depth);
         CPointer<Byte> p_empty_image_depth = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'empty_image_depth'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__empty_image_flag

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

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__empty_image_flag);
         CPointer<Byte> p_empty_image_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'empty_image_flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__modifier_flag

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

        Field Documentation

        Blender Source Code

        ModifierFlag

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__modifier_flag);
         CPointer<Byte> p_modifier_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'modifier_flag'
        • Signature: 'uchar'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad8

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

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD___pad8);
         CPointer<CArrayFacade<Byte>> p__pad8 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad8'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__preview

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

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__preview);
         CPointer<CPointer<PreviewImage>> p_preview = p.cast(new Class[]{CPointer.class, PreviewImage.class});
         

        Metadata

        • Field: 'preview'
        • Signature: 'PreviewImage*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__lineart

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

        Field Documentation

        Blender Python API

        (read-only) Line art settings for the object

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__lineart);
         CPointer<ObjectLineArt> p_lineart = p.cast(new Class[]{ObjectLineArt.class});
         

        Metadata

        • Field: 'lineart'
        • Signature: 'ObjectLineArt'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__lightgroup

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

        Field Documentation

        Blender Python API

        Lightgroup that the object belongs to

        Blender Source Code

        Lightgroup membership information.

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__lightgroup);
         CPointer<CPointer<LightgroupMembership>> p_lightgroup = p.cast(new Class[]{CPointer.class, LightgroupMembership.class});
         

        Metadata

        • Field: 'lightgroup'
        • Signature: 'LightgroupMembership*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__runtime

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

        Field Documentation

        Blender Source Code

        Runtime evaluation data (keep last).

        Pointer Arithmetics

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

         BlenderObject blenderobject = ...;
         CPointer<Object> p = blenderobject.__dna__addressof(BlenderObject.__DNA__FIELD__runtime);
         CPointer<Object_Runtime> p_runtime = p.cast(new Class[]{Object_Runtime.class});
         

        Metadata

        • Field: 'runtime'
        • Signature: 'Object_Runtime'
        • Actual Size (32bit/64bit): 152/208
    • Constructor Detail

      • BlenderObject

        public BlenderObject​(long __address,
                             Block __block,
                             BlockTable __blockTable)
    • 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
      • getAdt

        public CPointer<AnimData> getAdt()
                                  throws java.io.IOException
        Get method for struct member 'adt'.

        Field Documentation

        Java .Blend

        animation data

        Blender Source Code

        Animation data (must be immediately after id for utilities to use it).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__adt
      • setAdt

        public void setAdt​(CPointer<AnimData> adt)
                    throws java.io.IOException
        Set method for struct member 'adt'.

        Field Documentation

        Java .Blend

        animation data

        Blender Source Code

        Animation data (must be immediately after id for utilities to use it).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__adt
      • getDrawdata

        public DrawDataList getDrawdata()
                                 throws java.io.IOException
        Get method for struct member 'drawdata'.

        Field Documentation

        Blender Source Code

        Runtime (must be immediately after id for utilities to use it).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__drawdata
      • setDrawdata

        public void setDrawdata​(DrawDataList drawdata)
                         throws java.io.IOException
        Set method for struct member 'drawdata'.

        Field Documentation

        Blender Source Code

        Runtime (must be immediately after id for utilities to use it).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__drawdata
      • getSculpt

        public CPointer<java.lang.Object> getSculpt()
                                             throws java.io.IOException
        Get method for struct member 'sculpt'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sculpt
      • setSculpt

        public void setSculpt​(CPointer<java.lang.Object> sculpt)
                       throws java.io.IOException
        Set method for struct member 'sculpt'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sculpt
      • getType

        public short getType()
                      throws java.io.IOException
        Get method for struct member 'type'.

        Field Documentation

        Java .Blend

        type of this object.

        Values:

                OB_EMPTY      = 0,
                OB_MESH       = 1,
                OB_CURVE      = 2,
                OB_SURF       = 3,
                OB_FONT       = 4,
                OB_MBALL      = 5,
                OB_LAMP       = 10,
                OB_CAMERA     = 11,
                OB_SPEAKER    = 12,
                //      OB_WAVE       = 21, 
                OB_LATTICE    = 22,
         
                // 23 and 24 are for life and sector (old file compat.)
                OB_ARMATURE   = 25,
                                        

        Blender Python API

        (read-only) Type of object
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

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

        Field Documentation

        Java .Blend

        type of this object.

        Values:

                OB_EMPTY      = 0,
                OB_MESH       = 1,
                OB_CURVE      = 2,
                OB_SURF       = 3,
                OB_FONT       = 4,
                OB_MBALL      = 5,
                OB_LAMP       = 10,
                OB_CAMERA     = 11,
                OB_SPEAKER    = 12,
                //      OB_WAVE       = 21, 
                OB_LATTICE    = 22,
         
                // 23 and 24 are for life and sector (old file compat.)
                OB_ARMATURE   = 25,
                                        

        Blender Python API

        (read-only) Type of object
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • getPartype

        public short getPartype()
                         throws java.io.IOException
        Get method for struct member 'partype'.

        Field Documentation

        Java .Blend

        parent type: first 4 bits: type.
                                                PARTYPE       = (1 << 4) - 1,
                                                PAROBJECT     = 0,
                                                PARCURVE      = 1,
                                                PARKEY        = 2,
                                                PARSKEL       = 4,
                                                PARVERT1      = 5,
                                                PARVERT3      = 6,
                                                PARBONE       = 7,
                                                PARSLOW       = 16,
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__partype
      • setPartype

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

        Field Documentation

        Java .Blend

        parent type: first 4 bits: type.
                                                PARTYPE       = (1 << 4) - 1,
                                                PAROBJECT     = 0,
                                                PARCURVE      = 1,
                                                PARKEY        = 2,
                                                PARSKEL       = 4,
                                                PARVERT1      = 5,
                                                PARVERT3      = 6,
                                                PARBONE       = 7,
                                                PARSLOW       = 16,
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__partype
      • getPar1

        public int getPar1()
                    throws java.io.IOException
        Get method for struct member 'par1'.

        Field Documentation

        Java .Blend

        can be a vertexnr

        Blender Source Code

        Can be vertexnrs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__par1
      • setPar1

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

        Field Documentation

        Java .Blend

        can be a vertexnr

        Blender Source Code

        Can be vertexnrs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__par1
      • getPar2

        public int getPar2()
                    throws java.io.IOException
        Get method for struct member 'par2'.

        Field Documentation

        Java .Blend

        can be a vertexnr
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__par2
      • setPar2

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

        Field Documentation

        Java .Blend

        can be a vertexnr
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__par2
      • getPar3

        public int getPar3()
                    throws java.io.IOException
        Get method for struct member 'par3'.

        Field Documentation

        Java .Blend

        can be a vertexnr
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__par3
      • setPar3

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

        Field Documentation

        Java .Blend

        can be a vertexnr
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__par3
      • getParsubstr

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

        Field Documentation

        Java .Blend

        String describing subobject info, MAX_ID_NAME-2

        Blender Source Code

        String describing subobject info, MAX_ID_NAME-2.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parsubstr
      • setParsubstr

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

        Field Documentation

        Java .Blend

        String describing subobject info, MAX_ID_NAME-2

        Blender Source Code

        String describing subobject info, MAX_ID_NAME-2.

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

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

        Field Documentation

        Blender Python API

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

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

        Field Documentation

        Blender Python API

        Parent object
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parent
      • getProxy

        public CPointer<BlenderObject> getProxy()
                                         throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'proxy'.

        Field Documentation

        Java .Blend

        if ob->proxy (or proxy_group), this object is proxy for object ob->proxy

        Blender Source Code

        Proxy pointer are deprecated, only kept for conversion to liboverrides.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__proxy
      • setProxy

        public void setProxy​(CPointer<BlenderObject> proxy)
                      throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'proxy'.

        Field Documentation

        Java .Blend

        if ob->proxy (or proxy_group), this object is proxy for object ob->proxy

        Blender Source Code

        Proxy pointer are deprecated, only kept for conversion to liboverrides.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__proxy
      • getProxy_group

        public CPointer<BlenderObject> getProxy_group()
                                               throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'proxy_group'.

        Field Documentation

        Java .Blend

        if ob->proxy (or proxy_group), this object is proxy for object ob->proxy

        Blender Source Code

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__proxy_group
      • setProxy_group

        public void setProxy_group​(CPointer<BlenderObject> proxy_group)
                            throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'proxy_group'.

        Field Documentation

        Java .Blend

        if ob->proxy (or proxy_group), this object is proxy for object ob->proxy

        Blender Source Code

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__proxy_group
      • getProxy_from

        public CPointer<BlenderObject> getProxy_from()
                                              throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'proxy_from'.

        Field Documentation

        Java .Blend

        proxy_from is set in target back to the proxy.

        Blender Source Code

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__proxy_from
      • setProxy_from

        public void setProxy_from​(CPointer<BlenderObject> proxy_from)
                           throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'proxy_from'.

        Field Documentation

        Java .Blend

        proxy_from is set in target back to the proxy.

        Blender Source Code

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__proxy_from
      • getIpo

        public CPointer<Ipo> getIpo()
                             throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'ipo'.

        Field Documentation

        Java .Blend

        old animation system, deprecated for 2.5.
        @deprecated

        Blender Source Code

        Old animation system, deprecated for 2.5.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ipo
      • setIpo

        public void setIpo​(CPointer<Ipo> ipo)
                    throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'ipo'.

        Field Documentation

        Java .Blend

        old animation system, deprecated for 2.5.
        @deprecated

        Blender Source Code

        Old animation system, deprecated for 2.5.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ipo
      • getAction

        public CPointer<bAction> getAction()
                                    throws java.io.IOException
        Deprecated.
        DeprecatedXXX deprecated... old animation system

        Get method for struct member 'action'.

        Field Documentation

        Java .Blend

        old animation system. @deprecated

        Blender Source Code

        struct Path *path;

        XXX deprecated... old animation system

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__action
      • setAction

        public void setAction​(CPointer<bAction> action)
                       throws java.io.IOException
        Deprecated.
        DeprecatedXXX deprecated... old animation system

        Set method for struct member 'action'.

        Field Documentation

        Java .Blend

        old animation system. @deprecated

        Blender Source Code

        struct Path *path;

        XXX deprecated... old animation system

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__action
      • setPoselib

        public void setPoselib​(CPointer<bAction> poselib)
                        throws java.io.IOException
        Set method for struct member 'poselib'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__poselib
      • getPose

        public CPointer<bPose> getPose()
                                throws java.io.IOException
        Get method for struct member 'pose'.

        Field Documentation

        Java .Blend

        pose data, armature objects only

        Blender Python API

        (read-only) Current pose for armatures

        Blender Source Code

        Pose data, armature objects only.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pose
      • setPose

        public void setPose​(CPointer<bPose> pose)
                     throws java.io.IOException
        Set method for struct member 'pose'.

        Field Documentation

        Java .Blend

        pose data, armature objects only

        Blender Python API

        (read-only) Current pose for armatures

        Blender Source Code

        Pose data, armature objects only.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pose
      • getData

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

        Field Documentation

        Java .Blend

        pointer to objects data - an 'ID' or NULL

        Blender Python API

        Object data

        Blender Source Code

        Pointer to objects data - an 'ID ' or NULL.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data
      • setData

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

        Field Documentation

        Java .Blend

        pointer to objects data - an 'ID' or NULL

        Blender Python API

        Object data

        Blender Source Code

        Pointer to objects data - an 'ID ' or NULL.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data
      • getGpd

        public CPointer<bGPdata> getGpd()
                                 throws java.io.IOException
        Deprecated.
        DeprecatedXXX deprecated... replaced by gpencil object, keep for readfile

        Get method for struct member 'gpd'.

        Field Documentation

        Java .Blend

        Grease Pencil data

        Blender Source Code

        Grease Pencil data.

        XXX deprecated... replaced by gpencil object, keep for readfile

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpd
      • setGpd

        public void setGpd​(CPointer<bGPdata> gpd)
                    throws java.io.IOException
        Deprecated.
        DeprecatedXXX deprecated... replaced by gpencil object, keep for readfile

        Set method for struct member 'gpd'.

        Field Documentation

        Java .Blend

        Grease Pencil data

        Blender Source Code

        Grease Pencil data.

        XXX deprecated... replaced by gpencil object, keep for readfile

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpd
      • getAvs

        public bAnimVizSettings getAvs()
                                throws java.io.IOException
        Get method for struct member 'avs'.

        Field Documentation

        Java .Blend

        settings for visualization of object-transform animation

        Blender Source Code

        Settings for visualization of object-transform animation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__avs
      • setAvs

        public void setAvs​(bAnimVizSettings avs)
                    throws java.io.IOException
        Set method for struct member 'avs'.

        Field Documentation

        Java .Blend

        settings for visualization of object-transform animation

        Blender Source Code

        Settings for visualization of object-transform animation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__avs
      • getMpath

        public CPointer<bMotionPath> getMpath()
                                       throws java.io.IOException
        Get method for struct member 'mpath'.

        Field Documentation

        Java .Blend

        motion path cache for this object

        Blender Source Code

        Motion path cache for this object.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mpath
      • setMpath

        public void setMpath​(CPointer<bMotionPath> mpath)
                      throws java.io.IOException
        Set method for struct member 'mpath'.

        Field Documentation

        Java .Blend

        motion path cache for this object

        Blender Source Code

        Motion path cache for this object.

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

        public CPointer<java.lang.Object> 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​(CPointer<java.lang.Object> _pad0)
                      throws java.io.IOException
        Set method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • getConstraintChannels

        public ListBase getConstraintChannels()
                                       throws java.io.IOException
        Deprecated.
        DeprecatedXXX deprecated... old animation system

        Get method for struct member 'constraintChannels'.

        Field Documentation

        Java .Blend

        old animation system.
        @deprecated

        Blender Source Code

        XXX deprecated... old animation system

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__constraintChannels
      • setConstraintChannels

        public void setConstraintChannels​(ListBase constraintChannels)
                                   throws java.io.IOException
        Deprecated.
        DeprecatedXXX deprecated... old animation system

        Set method for struct member 'constraintChannels'.

        Field Documentation

        Java .Blend

        old animation system.
        @deprecated

        Blender Source Code

        XXX deprecated... old animation system

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__constraintChannels
      • getEffect

        public ListBase getEffect()
                           throws java.io.IOException
        Deprecated.
        DeprecatedXXX deprecated... keep for readfile

        Get method for struct member 'effect'.

        Field Documentation

        Java .Blend


        @deprecated

        Blender Source Code

        XXX deprecated... keep for readfile

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__effect
      • setEffect

        public void setEffect​(ListBase effect)
                       throws java.io.IOException
        Deprecated.
        DeprecatedXXX deprecated... keep for readfile

        Set method for struct member 'effect'.

        Field Documentation

        Java .Blend


        @deprecated

        Blender Source Code

        XXX deprecated... keep for readfile

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__effect
      • getDefbase

        public ListBase getDefbase()
                            throws java.io.IOException
        Deprecated.
        DeprecatedOnly for versioning, moved to object data.

        Get method for struct member 'defbase'.

        Field Documentation

        Java .Blend

        list of bDeformGroup (vertex groups) names and flag only

        Blender Source Code

        Only for versioning, moved to object data.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__defbase
      • setDefbase

        public void setDefbase​(ListBase defbase)
                        throws java.io.IOException
        Deprecated.
        DeprecatedOnly for versioning, moved to object data.

        Set method for struct member 'defbase'.

        Field Documentation

        Java .Blend

        list of bDeformGroup (vertex groups) names and flag only

        Blender Source Code

        Only for versioning, moved to object data.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__defbase
      • getModifiers

        public ListBase getModifiers()
                              throws java.io.IOException
        Get method for struct member 'modifiers'.

        Field Documentation

        Java .Blend

        list of ModifierData structures

        Blender Python API

        (read-only) Modifiers affecting the geometric data of the object

        Blender Source Code

        List of ModifierData structures.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modifiers
      • setModifiers

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

        Field Documentation

        Java .Blend

        list of ModifierData structures

        Blender Python API

        (read-only) Modifiers affecting the geometric data of the object

        Blender Source Code

        List of ModifierData structures.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modifiers
      • setGreasepencil_modifiers

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

        Field Documentation

        Blender Source Code

        List of GpencilModifierData structures.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__greasepencil_modifiers
      • getFmaps

        public ListBase getFmaps()
                          throws java.io.IOException
        Get method for struct member 'fmaps'.

        Field Documentation

        Blender Source Code

        List of facemaps.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fmaps
      • setFmaps

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

        Field Documentation

        Blender Source Code

        List of facemaps.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fmaps
      • getShader_fx

        public ListBase getShader_fx()
                              throws java.io.IOException
        Get method for struct member 'shader_fx'.

        Field Documentation

        Blender Source Code

        List of viewport effects. Actually only used by grease pencil.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shader_fx
      • setShader_fx

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

        Field Documentation

        Blender Source Code

        List of viewport effects. Actually only used by grease pencil.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shader_fx
      • getMode

        public int getMode()
                    throws java.io.IOException
        Get method for struct member 'mode'.

        Field Documentation

        Java .Blend

        Local object mode. On of:
                                                OB_MODE_OBJECT        = 0,
                                                OB_MODE_EDIT          = 1 << 0,
                                                OB_MODE_SCULPT        = 1 << 1,
                                                OB_MODE_VERTEX_PAINT  = 1 << 2,
                                                OB_MODE_WEIGHT_PAINT  = 1 << 3,
                                                OB_MODE_TEXTURE_PAINT = 1 << 4,
                                                OB_MODE_PARTICLE_EDIT = 1 << 5,
                                                OB_MODE_POSE          = 1 << 6
                                        

        Blender Python API

        (read-only) Object interaction mode

        Blender Source Code

        Local object mode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • setMode

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

        Field Documentation

        Java .Blend

        Local object mode. On of:
                                                OB_MODE_OBJECT        = 0,
                                                OB_MODE_EDIT          = 1 << 0,
                                                OB_MODE_SCULPT        = 1 << 1,
                                                OB_MODE_VERTEX_PAINT  = 1 << 2,
                                                OB_MODE_WEIGHT_PAINT  = 1 << 3,
                                                OB_MODE_TEXTURE_PAINT = 1 << 4,
                                                OB_MODE_PARTICLE_EDIT = 1 << 5,
                                                OB_MODE_POSE          = 1 << 6
                                        

        Blender Python API

        (read-only) Object interaction mode

        Blender Source Code

        Local object mode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • getRestore_mode

        public int getRestore_mode()
                            throws java.io.IOException
        Get method for struct member 'restore_mode'.

        Field Documentation

        Java .Blend

        Keep track of what mode to return to after toggling a mode
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__restore_mode
      • setRestore_mode

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

        Field Documentation

        Java .Blend

        Keep track of what mode to return to after toggling a mode
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__restore_mode
      • setMat

        public void setMat​(CPointer<CPointer<Material>> mat)
                    throws java.io.IOException
        Set method for struct member 'mat'.

        Field Documentation

        Java .Blend

        Material slots. Pointer on a list of pointers on instances of Material.
        see getTotcol()

        Blender Source Code

        materials Material slots.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mat
      • getMatbits

        public CPointer<java.lang.Byte> getMatbits()
                                            throws java.io.IOException
        Get method for struct member 'matbits'.

        Field Documentation

        Java .Blend

        a boolean field, with each byte 1 if corresponding material is linked to object

        Blender Source Code

        A boolean field, with each byte 1 if corresponding material is linked to object.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__matbits
      • setMatbits

        public void setMatbits​(CPointer<java.lang.Byte> matbits)
                        throws java.io.IOException
        Set method for struct member 'matbits'.

        Field Documentation

        Java .Blend

        a boolean field, with each byte 1 if corresponding material is linked to object

        Blender Source Code

        A boolean field, with each byte 1 if corresponding material is linked to object.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__matbits
      • getTotcol

        public int getTotcol()
                      throws java.io.IOException
        Get method for struct member 'totcol'.

        Field Documentation

        Java .Blend

        Number of available material slots (see getMat()). Copy of Mesh.getTotcol(), Curve.getTotcol() and meta struct member of same name (keep in sync).

        Blender Source Code

        Copy of mesh, curve & meta struct member of same name (keep in sync).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totcol
      • setTotcol

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

        Field Documentation

        Java .Blend

        Number of available material slots (see getMat()). Copy of Mesh.getTotcol(), Curve.getTotcol() and meta struct member of same name (keep in sync).

        Blender Source Code

        Copy of mesh, curve & meta struct member of same name (keep in sync).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totcol
      • getActcol

        public int getActcol()
                      throws java.io.IOException
        Get method for struct member 'actcol'.

        Field Documentation

        Java .Blend

        currently selected material slot in the UI

        Blender Source Code

        Currently selected material in the UI.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__actcol
      • setActcol

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

        Field Documentation

        Java .Blend

        currently selected material slot in the UI

        Blender Source Code

        Currently selected material in the UI.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__actcol
      • getLoc

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

        Field Documentation

        Java .Blend

        location of the object

        Blender Source Code

        rot en drot have to be together! (transform('r' en 's'))

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__loc
      • setLoc

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

        Field Documentation

        Java .Blend

        location of the object

        Blender Source Code

        rot en drot have to be together! (transform('r' en 's'))

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__loc
      • getDloc

        public CArrayFacade<java.lang.Float> getDloc()
                                              throws java.io.IOException
        Get method for struct member 'dloc'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dloc
      • setDloc

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

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

        Field Documentation

        Java .Blend

        size/scale of the object
        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

        Java .Blend

        size/scale of the object
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size
      • getDsize

        public CArrayFacade<java.lang.Float> getDsize()
                                               throws java.io.IOException
        Deprecated.

        Blender Source Code

        DEPRECATED, 2.60 and older only.

        Get method for struct member 'dsize'.

        Field Documentation

        Java .Blend

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dsize
      • setDsize

        public void setDsize​(CArrayFacade<java.lang.Float> dsize)
                      throws java.io.IOException
        Deprecated.

        Blender Source Code

        DEPRECATED, 2.60 and older only.

        Set method for struct member 'dsize'.

        Field Documentation

        Java .Blend

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dsize
      • getDscale

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

        Field Documentation

        Blender Source Code

        Ack!, changing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dscale
      • setDscale

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

        Field Documentation

        Blender Source Code

        Ack!, changing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dscale
      • getRot

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

        Field Documentation

        Java .Blend

        euler rotation

        Blender Source Code

        Euler rotation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rot
      • setRot

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

        Field Documentation

        Java .Blend

        euler rotation

        Blender Source Code

        Euler rotation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rot
      • getDrot

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

        Field Documentation

        Java .Blend

        euler rotation
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__drot
      • setDrot

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

        Field Documentation

        Java .Blend

        euler rotation
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__drot
      • getQuat

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

        Field Documentation

        Java .Blend

        quaternion rotation

        Blender Source Code

        Quaternion rotation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__quat
      • setQuat

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

        Field Documentation

        Java .Blend

        quaternion rotation

        Blender Source Code

        Quaternion rotation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__quat
      • getDquat

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

        Field Documentation

        Java .Blend

        quaternion rotation
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dquat
      • setDquat

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

        Field Documentation

        Java .Blend

        quaternion rotation
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dquat
      • getRotAxis

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

        Field Documentation

        Java .Blend

        axis angle rotation - axis part

        Blender Source Code

        Axis angle rotation - axis part.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotAxis
      • setRotAxis

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

        Field Documentation

        Java .Blend

        axis angle rotation - axis part

        Blender Source Code

        Axis angle rotation - axis part.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotAxis
      • getDrotAxis

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

        Field Documentation

        Java .Blend

        axis angle rotation - axis part
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__drotAxis
      • setDrotAxis

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

        Field Documentation

        Java .Blend

        axis angle rotation - axis part
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__drotAxis
      • getRotAngle

        public float getRotAngle()
                          throws java.io.IOException
        Get method for struct member 'rotAngle'.

        Field Documentation

        Java .Blend

        axis angle rotation - angle part

        Blender Source Code

        Axis angle rotation - angle part.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotAngle
      • setRotAngle

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

        Field Documentation

        Java .Blend

        axis angle rotation - angle part

        Blender Source Code

        Axis angle rotation - angle part.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotAngle
      • getDrotAngle

        public float getDrotAngle()
                           throws java.io.IOException
        Get method for struct member 'drotAngle'.

        Field Documentation

        Java .Blend

        axis angle rotation - angle part
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__drotAngle
      • setDrotAngle

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

        Field Documentation

        Java .Blend

        axis angle rotation - angle part
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__drotAngle
      • getObmat

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

        Field Documentation

        Java .Blend

        final worldspace matrix with constraints & animsys applied
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__obmat
      • setObmat

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

        Field Documentation

        Java .Blend

        final worldspace matrix with constraints & animsys applied
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__obmat
      • getImat

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

        Field Documentation

        Java .Blend

        inverse matrix of 'obmat' for any other use than rendering! note: this isn't assured to be valid as with 'obmat', before using this value you should do... invert_m4_m4(ob->imat, ob->obmat);
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__imat
      • setImat

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

        Field Documentation

        Java .Blend

        inverse matrix of 'obmat' for any other use than rendering! note: this isn't assured to be valid as with 'obmat', before using this value you should do... invert_m4_m4(ob->imat, ob->obmat);
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__imat
      • getParentinv

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

        Field Documentation

        Java .Blend

        inverse result of parent, so that object doesn't 'stick' to parent

        Blender Source Code

        Inverse result of parent, so that object doesn't 'stick' to parent.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parentinv
      • setParentinv

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

        Field Documentation

        Java .Blend

        inverse result of parent, so that object doesn't 'stick' to parent

        Blender Source Code

        Inverse result of parent, so that object doesn't 'stick' to parent.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parentinv
      • getConstinv

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

        Field Documentation

        Java .Blend

        inverse result of constraints. doesn't include effect of parent or object local transform

        Blender Source Code

        Inverse result of constraints. doesn't include effect of parent or object local transform.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__constinv
      • setConstinv

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

        Field Documentation

        Java .Blend

        inverse result of constraints. doesn't include effect of parent or object local transform

        Blender Source Code

        Inverse result of constraints. doesn't include effect of parent or object local transform.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__constinv
      • getLay

        public int getLay()
                   throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'lay'.

        Field Documentation

        Java .Blend

        copy of Base's layer in the scene

        Blender Source Code

        Copy of Base 's layer in the scene.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lay
      • setLay

        public void setLay​(int lay)
                    throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'lay'.

        Field Documentation

        Java .Blend

        copy of Base's layer in the scene

        Blender Source Code

        Copy of Base 's layer in the scene.

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

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

        Field Documentation

        Java .Blend

        copy of Base#flag

        Blender Source Code

        Copy of Base .

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

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

        Field Documentation

        Java .Blend

        copy of Base#flag

        Blender Source Code

        Copy of Base .

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

        public short getColbits()
                         throws java.io.IOException
        Deprecated.

        Blender Source Code

        Deprecated, use 'matbits'.

        Get method for struct member 'colbits'.

        Field Documentation

        Java .Blend

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__colbits
      • setColbits

        public void setColbits​(short colbits)
                        throws java.io.IOException
        Deprecated.

        Blender Source Code

        Deprecated, use 'matbits'.

        Set method for struct member 'colbits'.

        Field Documentation

        Java .Blend

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__colbits
      • getTransflag

        public short getTransflag()
                           throws java.io.IOException
        Get method for struct member 'transflag'.

        Field Documentation

        Java .Blend

        transformation settings and transform locks. Flags 1 and 2 were unused or relics from past features.
                                                OB_NEG_SCALE        = 1 << 2,
                                                OB_DUPLIFRAMES      = 1 << 3,
                                                OB_DUPLIVERTS       = 1 << 4,
                                                OB_DUPLIROT         = 1 << 5,
                                                OB_DUPLINOSPEED     = 1 << 6,
                                                OB_DUPLIGROUP       = 1 << 8,
                                                OB_DUPLIFACES       = 1 << 9,
                                                OB_DUPLIFACES_SCALE = 1 << 10,
                                                OB_DUPLIPARTS       = 1 << 11,
                                                OB_RENDER_DUPLI     = 1 << 12,
                                                OB_NO_CONSTRAINTS   = 1 << 13,  --> runtime constraints disable
                                                OB_NO_PSYS_UPDATE   = 1 << 14,  --> hack to work around particle issue
                                                OB_DUPLI            = OB_DUPLIFRAMES | OB_DUPLIVERTS | OB_DUPLIGROUP | OB_DUPLIFACES | OB_DUPLIPARTS,
                                        

        Blender Source Code

        Transformation settings and transform locks.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__transflag
      • setTransflag

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

        Field Documentation

        Java .Blend

        transformation settings and transform locks. Flags 1 and 2 were unused or relics from past features.
                                                OB_NEG_SCALE        = 1 << 2,
                                                OB_DUPLIFRAMES      = 1 << 3,
                                                OB_DUPLIVERTS       = 1 << 4,
                                                OB_DUPLIROT         = 1 << 5,
                                                OB_DUPLINOSPEED     = 1 << 6,
                                                OB_DUPLIGROUP       = 1 << 8,
                                                OB_DUPLIFACES       = 1 << 9,
                                                OB_DUPLIFACES_SCALE = 1 << 10,
                                                OB_DUPLIPARTS       = 1 << 11,
                                                OB_RENDER_DUPLI     = 1 << 12,
                                                OB_NO_CONSTRAINTS   = 1 << 13,  --> runtime constraints disable
                                                OB_NO_PSYS_UPDATE   = 1 << 14,  --> hack to work around particle issue
                                                OB_DUPLI            = OB_DUPLIFRAMES | OB_DUPLIVERTS | OB_DUPLIGROUP | OB_DUPLIFACES | OB_DUPLIPARTS,
                                        

        Blender Source Code

        Transformation settings and transform locks.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__transflag
      • getProtectflag

        public short getProtectflag()
                             throws java.io.IOException
        Get method for struct member 'protectflag'.

        Field Documentation

        Java .Blend

        transformation settings and transform locks.

        Values:

                                                OB_LOCK_LOCX    = 1 << 0,
                                                OB_LOCK_LOCY    = 1 << 1,
                                                OB_LOCK_LOCZ    = 1 << 2,
                                                OB_LOCK_LOC     = OB_LOCK_LOCX | OB_LOCK_LOCY | OB_LOCK_LOCZ,
                                                OB_LOCK_ROTX    = 1 << 3,
                                                OB_LOCK_ROTY    = 1 << 4,
                                                OB_LOCK_ROTZ    = 1 << 5,
                                                OB_LOCK_ROT     = OB_LOCK_ROTX | OB_LOCK_ROTY | OB_LOCK_ROTZ,
                                                OB_LOCK_SCALEX  = 1 << 6,
                                                OB_LOCK_SCALEY  = 1 << 7,
                                                OB_LOCK_SCALEZ  = 1 << 8,
                                                OB_LOCK_SCALE   = OB_LOCK_SCALEX | OB_LOCK_SCALEY | OB_LOCK_SCALEZ,
                                                OB_LOCK_ROTW    = 1 << 9,
                                                OB_LOCK_ROT4D   = 1 << 10,
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__protectflag
      • setProtectflag

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

        Field Documentation

        Java .Blend

        transformation settings and transform locks.

        Values:

                                                OB_LOCK_LOCX    = 1 << 0,
                                                OB_LOCK_LOCY    = 1 << 1,
                                                OB_LOCK_LOCZ    = 1 << 2,
                                                OB_LOCK_LOC     = OB_LOCK_LOCX | OB_LOCK_LOCY | OB_LOCK_LOCZ,
                                                OB_LOCK_ROTX    = 1 << 3,
                                                OB_LOCK_ROTY    = 1 << 4,
                                                OB_LOCK_ROTZ    = 1 << 5,
                                                OB_LOCK_ROT     = OB_LOCK_ROTX | OB_LOCK_ROTY | OB_LOCK_ROTZ,
                                                OB_LOCK_SCALEX  = 1 << 6,
                                                OB_LOCK_SCALEY  = 1 << 7,
                                                OB_LOCK_SCALEZ  = 1 << 8,
                                                OB_LOCK_SCALE   = OB_LOCK_SCALEX | OB_LOCK_SCALEY | OB_LOCK_SCALEZ,
                                                OB_LOCK_ROTW    = 1 << 9,
                                                OB_LOCK_ROT4D   = 1 << 10,
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__protectflag
      • getTrackflag

        public short getTrackflag()
                           throws java.io.IOException
        Get method for struct member 'trackflag'.

        Field Documentation

        Java .Blend

        transformation settings and transform locks.
                                                OB_POSX = 0,
                                                OB_POSY = 1,
                                                OB_POSZ = 2,
                                                OB_NEGX = 3,
                                                OB_NEGY = 4,
                                                OB_NEGZ = 5,
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__trackflag
      • setTrackflag

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

        Field Documentation

        Java .Blend

        transformation settings and transform locks.
                                                OB_POSX = 0,
                                                OB_POSY = 1,
                                                OB_POSZ = 2,
                                                OB_NEGX = 3,
                                                OB_NEGY = 4,
                                                OB_NEGZ = 5,
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__trackflag
      • getUpflag

        public short getUpflag()
                        throws java.io.IOException
        Get method for struct member 'upflag'.

        Field Documentation

        Java .Blend

        transformation settings and transform locks.
                                                OB_POSX = 0,
                                                OB_POSY = 1,
                                                OB_POSZ = 2,
                                                OB_NEGX = 3,
                                                OB_NEGY = 4,
                                                OB_NEGZ = 5,
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__upflag
      • setUpflag

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

        Field Documentation

        Java .Blend

        transformation settings and transform locks.
                                                OB_POSX = 0,
                                                OB_POSY = 1,
                                                OB_POSZ = 2,
                                                OB_NEGX = 3,
                                                OB_NEGY = 4,
                                                OB_NEGZ = 5,
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__upflag
      • getNlaflag

        public short getNlaflag()
                         throws java.io.IOException
        Get method for struct member 'nlaflag'.

        Field Documentation

        Java .Blend

        used for DopeSheet filtering settings (expanded/collapsed).
                                                -- object-channel expanded status --
                                                OB_ADS_COLLAPSED    = 1 << 10,
                                                -- object's ipo-block --
                                                OB_ADS_SHOWIPO      = 1 << 11,
                                                -- object's constraint channels --
                                                OB_ADS_SHOWCONS     = 1 << 12,
                                                -- object's material channels --
                                                OB_ADS_SHOWMATS     = 1 << 13,
                                                -- object's marticle channels --
                                                OB_ADS_SHOWPARTS    = 1 << 14,
                                        

        Blender Source Code

        Used for DopeSheet filtering settings (expanded/collapsed).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__nlaflag
      • setNlaflag

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

        Field Documentation

        Java .Blend

        used for DopeSheet filtering settings (expanded/collapsed).
                                                -- object-channel expanded status --
                                                OB_ADS_COLLAPSED    = 1 << 10,
                                                -- object's ipo-block --
                                                OB_ADS_SHOWIPO      = 1 << 11,
                                                -- object's constraint channels --
                                                OB_ADS_SHOWCONS     = 1 << 12,
                                                -- object's material channels --
                                                OB_ADS_SHOWMATS     = 1 << 13,
                                                -- object's marticle channels --
                                                OB_ADS_SHOWPARTS    = 1 << 14,
                                        

        Blender Source Code

        Used for DopeSheet filtering settings (expanded/collapsed).

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

        public byte 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​(byte _pad1)
                      throws java.io.IOException
        Set method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • getDuplicator_visibility_flag

        public byte getDuplicator_visibility_flag()
                                           throws java.io.IOException
        Get method for struct member 'duplicator_visibility_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__duplicator_visibility_flag
      • setDuplicator_visibility_flag

        public void setDuplicator_visibility_flag​(byte duplicator_visibility_flag)
                                           throws java.io.IOException
        Set method for struct member 'duplicator_visibility_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__duplicator_visibility_flag
      • getBase_flag

        public short getBase_flag()
                           throws java.io.IOException
        Get method for struct member 'base_flag'.

        Field Documentation

        Blender Source Code

        Depsgraph Used by depsgraph, flushed from base.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__base_flag
      • setBase_flag

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

        Field Documentation

        Blender Source Code

        Depsgraph Used by depsgraph, flushed from base.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__base_flag
      • getBase_local_view_bits

        public short getBase_local_view_bits()
                                      throws java.io.IOException
        Get method for struct member 'base_local_view_bits'.

        Field Documentation

        Blender Source Code

        Used by viewport, synced from base.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__base_local_view_bits
      • setBase_local_view_bits

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

        Field Documentation

        Blender Source Code

        Used by viewport, synced from base.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__base_local_view_bits
      • getCol_group

        public short getCol_group()
                           throws java.io.IOException
        Get method for struct member 'col_group'.

        Field Documentation

        Java .Blend

        Collision mask settings

        Blender Source Code

        Collision mask settings

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__col_group
      • setCol_group

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

        Field Documentation

        Java .Blend

        Collision mask settings

        Blender Source Code

        Collision mask settings

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__col_group
      • getCol_mask

        public short getCol_mask()
                          throws java.io.IOException
        Get method for struct member 'col_mask'.

        Field Documentation

        Java .Blend

        Collision mask settings
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__col_mask
      • setCol_mask

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

        Field Documentation

        Java .Blend

        Collision mask settings
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__col_mask
      • getRotmode

        public short getRotmode()
                         throws java.io.IOException
        Get method for struct member 'rotmode'.

        Field Documentation

        Java .Blend

        rotation mode - uses defines set out in DNA_action_types.h for PoseChannel rotations...

        Blender Source Code

        Rotation mode - uses defines set out in DNA_action_types.h for PoseChannel rotations....

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotmode
      • setRotmode

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

        Field Documentation

        Java .Blend

        rotation mode - uses defines set out in DNA_action_types.h for PoseChannel rotations...

        Blender Source Code

        Rotation mode - uses defines set out in DNA_action_types.h for PoseChannel rotations....

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotmode
      • getBoundtype

        public byte getBoundtype()
                          throws java.io.IOException
        Get method for struct member 'boundtype'.

        Field Documentation

        Java .Blend

        bounding box use for drawing

        Blender Source Code

        Bounding box use for drawing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__boundtype
      • setBoundtype

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

        Field Documentation

        Java .Blend

        bounding box use for drawing

        Blender Source Code

        Bounding box use for drawing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__boundtype
      • getCollision_boundtype

        public byte getCollision_boundtype()
                                    throws java.io.IOException
        Get method for struct member 'collision_boundtype'.

        Field Documentation

        Java .Blend

        bounding box type used for collision.
                                                OB_BOUND_BOX           = 0,
                                                OB_BOUND_SPHERE        = 1,
                                                OB_BOUND_CYLINDER      = 2,
                                                OB_BOUND_CONE          = 3,
                                                OB_BOUND_TRIANGLE_MESH = 4,
                                                OB_BOUND_CONVEX_HULL   = 5,
                                                OB_BOUND_CAPSULE       = 7,
                                        

        Blender Source Code

        Bounding box type used for collision.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__collision_boundtype
      • setCollision_boundtype

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

        Field Documentation

        Java .Blend

        bounding box type used for collision.
                                                OB_BOUND_BOX           = 0,
                                                OB_BOUND_SPHERE        = 1,
                                                OB_BOUND_CYLINDER      = 2,
                                                OB_BOUND_CONE          = 3,
                                                OB_BOUND_TRIANGLE_MESH = 4,
                                                OB_BOUND_CONVEX_HULL   = 5,
                                                OB_BOUND_CAPSULE       = 7,
                                        

        Blender Source Code

        Bounding box type used for collision.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__collision_boundtype
      • getDtx

        public short getDtx()
                     throws java.io.IOException
        Get method for struct member 'dtx'.

        Field Documentation

        Java .Blend

        viewport draw extra settings. Flags:
                                                OB_DRAWBOUNDOX    = 1 << 0,
                                                OB_AXIS           = 1 << 1,
                                                OB_TEXSPACE       = 1 << 2,
                                                OB_DRAWNAME       = 1 << 3,
                                                OB_DRAWIMAGE      = 1 << 4,
                                                -- for solid+wire display --
                                                OB_DRAWWIRE       = 1 << 5,
                                                -- for overdraw s --
                                                OB_DRAWXRAY       = 1 << 6,
                                                -- enable transparent draw --
                                                OB_DRAWTRANSP     = 1 << 7,
                                                OB_DRAW_ALL_EDGES = 1 << 8,  --> only for meshes currently
                                        

        Blender Source Code

        Viewport draw extra settings.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dtx
      • setDtx

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

        Field Documentation

        Java .Blend

        viewport draw extra settings. Flags:
                                                OB_DRAWBOUNDOX    = 1 << 0,
                                                OB_AXIS           = 1 << 1,
                                                OB_TEXSPACE       = 1 << 2,
                                                OB_DRAWNAME       = 1 << 3,
                                                OB_DRAWIMAGE      = 1 << 4,
                                                -- for solid+wire display --
                                                OB_DRAWWIRE       = 1 << 5,
                                                -- for overdraw s --
                                                OB_DRAWXRAY       = 1 << 6,
                                                -- enable transparent draw --
                                                OB_DRAWTRANSP     = 1 << 7,
                                                OB_DRAW_ALL_EDGES = 1 << 8,  --> only for meshes currently
                                        

        Blender Source Code

        Viewport draw extra settings.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dtx
      • getDt

        public byte getDt()
                   throws java.io.IOException
        Get method for struct member 'dt'.

        Field Documentation

        Java .Blend

        viewport draw type.
                                                OB_BOUNDBOX  = 1,
                                                OB_WIRE      = 2,
                                                OB_SOLID     = 3,
                                                OB_MATERIAL  = 4,
                                                OB_TEXTURE   = 5,
                                                OB_RENDER    = 6,
                                                OB_PAINT     = 100,  --> temporary used in draw code 
                                        

        Blender Source Code

        Viewport draw type.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dt
      • setDt

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

        Field Documentation

        Java .Blend

        viewport draw type.
                                                OB_BOUNDBOX  = 1,
                                                OB_WIRE      = 2,
                                                OB_SOLID     = 3,
                                                OB_MATERIAL  = 4,
                                                OB_TEXTURE   = 5,
                                                OB_RENDER    = 6,
                                                OB_PAINT     = 100,  --> temporary used in draw code 
                                        

        Blender Source Code

        Viewport draw type.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dt
      • getEmpty_drawtype

        public byte getEmpty_drawtype()
                               throws java.io.IOException
        Get method for struct member 'empty_drawtype'.

        Field Documentation

        Java .Blend

        related to viewport drawing.
                                                OB_ARROWS        = 1,
                                                OB_PLAINAXES     = 2,
                                                OB_CIRCLE        = 3,
                                                OB_SINGLE_ARROW  = 4,
                                                OB_CUBE          = 5,
                                                OB_EMPTY_SPHERE  = 6,
                                                OB_EMPTY_CONE    = 7,
                                                OB_EMPTY_IMAGE   = 8,
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__empty_drawtype
      • setEmpty_drawtype

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

        Field Documentation

        Java .Blend

        related to viewport drawing.
                                                OB_ARROWS        = 1,
                                                OB_PLAINAXES     = 2,
                                                OB_CIRCLE        = 3,
                                                OB_SINGLE_ARROW  = 4,
                                                OB_CUBE          = 5,
                                                OB_EMPTY_SPHERE  = 6,
                                                OB_EMPTY_CONE    = 7,
                                                OB_EMPTY_IMAGE   = 8,
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__empty_drawtype
      • getEmpty_drawsize

        public float getEmpty_drawsize()
                                throws java.io.IOException
        Get method for struct member 'empty_drawsize'.

        Field Documentation

        Java .Blend

        related to viewport drawing
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__empty_drawsize
      • setEmpty_drawsize

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

        Field Documentation

        Java .Blend

        related to viewport drawing
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__empty_drawsize
      • getDupfacesca

        public float getDupfacesca()
                            throws java.io.IOException
        Get method for struct member 'dupfacesca'.

        Field Documentation

        Java .Blend

        dupliface scale
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dupfacesca
      • setDupfacesca

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

        Field Documentation

        Java .Blend

        dupliface scale
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dupfacesca
      • getIndex

        public short getIndex()
                       throws java.io.IOException
        Get method for struct member 'index'.

        Field Documentation

        Java .Blend

        custom index, for renderpasses

        Blender Source Code

        Custom index, for render-passes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__index
      • setIndex

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

        Field Documentation

        Java .Blend

        custom index, for renderpasses

        Blender Source Code

        Custom index, for render-passes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__index
      • getActdef

        public short getActdef()
                        throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'actdef'.

        Field Documentation

        Java .Blend

        current deformation group, note: index starts at 1

        Blender Source Code

        Current deformation group, NOTE: index starts at 1.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__actdef
      • setActdef

        public void setActdef​(short actdef)
                       throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'actdef'.

        Field Documentation

        Java .Blend

        current deformation group, note: index starts at 1

        Blender Source Code

        Current deformation group, NOTE: index starts at 1.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__actdef
      • getActfmap

        public short getActfmap()
                         throws java.io.IOException
        Get method for struct member 'actfmap'.

        Field Documentation

        Blender Source Code

        Current face map, NOTE: index starts at 1.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__actfmap
      • setActfmap

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

        Field Documentation

        Blender Source Code

        Current face map, NOTE: index starts at 1.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__actfmap
      • get_pad2

        public CArrayFacade<java.lang.Byte> get_pad2()
                                              throws java.io.IOException
        Get method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • set_pad2

        public void set_pad2​(CArrayFacade<java.lang.Byte> _pad2)
                      throws java.io.IOException
        Set method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • getCol

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

        Field Documentation

        Java .Blend

        object color
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__col
      • setCol

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

        Field Documentation

        Java .Blend

        object color
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__col
      • getSoftflag

        public short getSoftflag()
                          throws java.io.IOException
        Get method for struct member 'softflag'.

        Field Documentation

        Java .Blend

        softbody settings

        Blender Source Code

        Softbody settings.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__softflag
      • setSoftflag

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

        Field Documentation

        Java .Blend

        softbody settings

        Blender Source Code

        Softbody settings.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__softflag
      • getRestrictflag

        public short getRestrictflag()
                              throws java.io.IOException
        Get method for struct member 'restrictflag'.

        Field Documentation

        Java .Blend

        for restricting view, select, render etc. accessible in outliner
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__restrictflag
      • setRestrictflag

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

        Field Documentation

        Java .Blend

        for restricting view, select, render etc. accessible in outliner
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__restrictflag
      • getShapenr

        public short getShapenr()
                         throws java.io.IOException
        Get method for struct member 'shapenr'.

        Field Documentation

        Java .Blend

        current shape key for menu or pinned

        Blender Source Code

        Current shape key for menu or pinned.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shapenr
      • setShapenr

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

        Field Documentation

        Java .Blend

        current shape key for menu or pinned

        Blender Source Code

        Current shape key for menu or pinned.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shapenr
      • getShapeflag

        public byte getShapeflag()
                          throws java.io.IOException
        Get method for struct member 'shapeflag'.

        Field Documentation

        Java .Blend

        flag for pinning

        Blender Source Code

        Flag for pinning.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shapeflag
      • setShapeflag

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

        Field Documentation

        Java .Blend

        flag for pinning

        Blender Source Code

        Flag for pinning.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shapeflag
      • get_pad3

        public CArrayFacade<java.lang.Byte> get_pad3()
                                              throws java.io.IOException
        Get method for struct member '_pad3'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad3
      • set_pad3

        public void set_pad3​(CArrayFacade<java.lang.Byte> _pad3)
                      throws java.io.IOException
        Set method for struct member '_pad3'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad3
      • getConstraints

        public ListBase getConstraints()
                                throws java.io.IOException
        Get method for struct member 'constraints'.

        Field Documentation

        Java .Blend

        object constraints

        Blender Python API

        (read-only) Constraints affecting the transformation of the object

        Blender Source Code

        Object constraints.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__constraints
      • setConstraints

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

        Field Documentation

        Java .Blend

        object constraints

        Blender Python API

        (read-only) Constraints affecting the transformation of the object

        Blender Source Code

        Object constraints.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__constraints
      • getNlastrips

        public ListBase getNlastrips()
                              throws java.io.IOException
        Deprecated.

        Blender Source Code

        XXX deprecated... old animation system

        Get method for struct member 'nlastrips'.

        Field Documentation

        Java .Blend

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__nlastrips
      • setNlastrips

        public void setNlastrips​(ListBase nlastrips)
                          throws java.io.IOException
        Deprecated.

        Blender Source Code

        XXX deprecated... old animation system

        Set method for struct member 'nlastrips'.

        Field Documentation

        Java .Blend

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__nlastrips
      • getHooks

        public ListBase getHooks()
                          throws java.io.IOException
        Deprecated.

        Blender Source Code

        XXX deprecated... old animation system

        Get method for struct member 'hooks'.

        Field Documentation

        Java .Blend

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hooks
      • setHooks

        public void setHooks​(ListBase hooks)
                      throws java.io.IOException
        Deprecated.

        Blender Source Code

        XXX deprecated... old animation system

        Set method for struct member 'hooks'.

        Field Documentation

        Java .Blend

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hooks
      • getParticlesystem

        public ListBase getParticlesystem()
                                   throws java.io.IOException
        Get method for struct member 'particlesystem'.

        Field Documentation

        Java .Blend

        particle systems

        Blender Source Code

        Particle systems.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__particlesystem
      • setParticlesystem

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

        Field Documentation

        Java .Blend

        particle systems

        Blender Source Code

        Particle systems.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__particlesystem
      • getPd

        public CPointer<PartDeflect> getPd()
                                    throws java.io.IOException
        Get method for struct member 'pd'.

        Field Documentation

        Java .Blend

        particle deflector/attractor/collision data

        Blender Source Code

        Particle deflector/attractor/collision data.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pd
      • setPd

        public void setPd​(CPointer<PartDeflect> pd)
                   throws java.io.IOException
        Set method for struct member 'pd'.

        Field Documentation

        Java .Blend

        particle deflector/attractor/collision data

        Blender Source Code

        Particle deflector/attractor/collision data.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pd
      • getSoft

        public CPointer<SoftBody> getSoft()
                                   throws java.io.IOException
        Get method for struct member 'soft'.

        Field Documentation

        Java .Blend

        if exists, saved in file

        Blender Source Code

        If exists, saved in file.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__soft
      • setSoft

        public void setSoft​(CPointer<SoftBody> soft)
                     throws java.io.IOException
        Set method for struct member 'soft'.

        Field Documentation

        Java .Blend

        if exists, saved in file

        Blender Source Code

        If exists, saved in file.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__soft
      • getDup_group

        public CPointer<Collection> getDup_group()
                                          throws java.io.IOException
        Get method for struct member 'dup_group'.

        Field Documentation

        Java .Blend

        object duplicator for group
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dup_group
      • setDup_group

        public void setDup_group​(CPointer<Collection> dup_group)
                          throws java.io.IOException
        Set method for struct member 'dup_group'.

        Field Documentation

        Java .Blend

        object duplicator for group
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dup_group
      • getFluidsimSettings

        public CPointer<FluidsimSettings> getFluidsimSettings()
                                                       throws java.io.IOException
        Deprecated.
        DeprecatedXXX deprecated... replaced by mantaflow, keep for readfile

        Get method for struct member 'fluidsimSettings'.

        Field Documentation

        Java .Blend

        if fluidsim enabled, store additional settings

        Blender Source Code

        If fluidsim enabled, store additional settings.

        XXX deprecated... replaced by mantaflow, keep for readfile

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fluidsimSettings
      • setFluidsimSettings

        public void setFluidsimSettings​(CPointer<FluidsimSettings> fluidsimSettings)
                                 throws java.io.IOException
        Deprecated.
        DeprecatedXXX deprecated... replaced by mantaflow, keep for readfile

        Set method for struct member 'fluidsimSettings'.

        Field Documentation

        Java .Blend

        if fluidsim enabled, store additional settings

        Blender Source Code

        If fluidsim enabled, store additional settings.

        XXX deprecated... replaced by mantaflow, keep for readfile

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fluidsimSettings
      • getPc_ids

        public ListBase getPc_ids()
                           throws java.io.IOException
        Get method for struct member 'pc_ids'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pc_ids
      • setPc_ids

        public void setPc_ids​(ListBase pc_ids)
                       throws java.io.IOException
        Set method for struct member 'pc_ids'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pc_ids
      • getRigidbody_object

        public CPointer<RigidBodyOb> getRigidbody_object()
                                                  throws java.io.IOException
        Get method for struct member 'rigidbody_object'.

        Field Documentation

        Java .Blend

        settings for Bullet rigid body

        Blender Source Code

        Settings for Bullet rigid body.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rigidbody_object
      • setRigidbody_object

        public void setRigidbody_object​(CPointer<RigidBodyOb> rigidbody_object)
                                 throws java.io.IOException
        Set method for struct member 'rigidbody_object'.

        Field Documentation

        Java .Blend

        settings for Bullet rigid body

        Blender Source Code

        Settings for Bullet rigid body.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rigidbody_object
      • getRigidbody_constraint

        public CPointer<RigidBodyCon> getRigidbody_constraint()
                                                       throws java.io.IOException
        Get method for struct member 'rigidbody_constraint'.

        Field Documentation

        Java .Blend

        settings for Bullet constraint

        Blender Source Code

        Settings for Bullet constraint.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rigidbody_constraint
      • setRigidbody_constraint

        public void setRigidbody_constraint​(CPointer<RigidBodyCon> rigidbody_constraint)
                                     throws java.io.IOException
        Set method for struct member 'rigidbody_constraint'.

        Field Documentation

        Java .Blend

        settings for Bullet constraint

        Blender Source Code

        Settings for Bullet constraint.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rigidbody_constraint
      • getIma_ofs

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

        Field Documentation

        Java .Blend

        offset for image empties

        Blender Source Code

        Offset for image empties.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ima_ofs
      • setIma_ofs

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

        Field Documentation

        Java .Blend

        offset for image empties

        Blender Source Code

        Offset for image empties.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ima_ofs
      • getIuser

        public CPointer<ImageUser> getIuser()
                                     throws java.io.IOException
        Get method for struct member 'iuser'.

        Field Documentation

        Blender Source Code

        Must be non-null when object is an empty image.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__iuser
      • setIuser

        public void setIuser​(CPointer<ImageUser> iuser)
                      throws java.io.IOException
        Set method for struct member 'iuser'.

        Field Documentation

        Blender Source Code

        Must be non-null when object is an empty image.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__iuser
      • getEmpty_image_visibility_flag

        public byte getEmpty_image_visibility_flag()
                                            throws java.io.IOException
        Get method for struct member 'empty_image_visibility_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__empty_image_visibility_flag
      • setEmpty_image_visibility_flag

        public void setEmpty_image_visibility_flag​(byte empty_image_visibility_flag)
                                            throws java.io.IOException
        Set method for struct member 'empty_image_visibility_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__empty_image_visibility_flag
      • getEmpty_image_depth

        public byte getEmpty_image_depth()
                                  throws java.io.IOException
        Get method for struct member 'empty_image_depth'.

        Field Documentation

        Blender Python API

        Determine which other objects will occlude the image
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__empty_image_depth
      • setEmpty_image_depth

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

        Field Documentation

        Blender Python API

        Determine which other objects will occlude the image
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__empty_image_depth
      • getEmpty_image_flag

        public byte getEmpty_image_flag()
                                 throws java.io.IOException
        Get method for struct member 'empty_image_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__empty_image_flag
      • setEmpty_image_flag

        public void setEmpty_image_flag​(byte empty_image_flag)
                                 throws java.io.IOException
        Set method for struct member 'empty_image_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__empty_image_flag
      • getModifier_flag

        public byte getModifier_flag()
                              throws java.io.IOException
        Get method for struct member 'modifier_flag'.

        Field Documentation

        Blender Source Code

        ModifierFlag

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modifier_flag
      • setModifier_flag

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

        Field Documentation

        Blender Source Code

        ModifierFlag

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modifier_flag
      • get_pad8

        public CArrayFacade<java.lang.Byte> get_pad8()
                                              throws java.io.IOException
        Get method for struct member '_pad8'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad8
      • set_pad8

        public void set_pad8​(CArrayFacade<java.lang.Byte> _pad8)
                      throws java.io.IOException
        Set method for struct member '_pad8'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad8
      • getLineart

        public ObjectLineArt getLineart()
                                 throws java.io.IOException
        Get method for struct member 'lineart'.

        Field Documentation

        Blender Python API

        (read-only) Line art settings for the object
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lineart
      • setLineart

        public void setLineart​(ObjectLineArt lineart)
                        throws java.io.IOException
        Set method for struct member 'lineart'.

        Field Documentation

        Blender Python API

        (read-only) Line art settings for the object
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lineart
      • getLightgroup

        public CPointer<LightgroupMembership> getLightgroup()
                                                     throws java.io.IOException
        Get method for struct member 'lightgroup'.

        Field Documentation

        Blender Python API

        Lightgroup that the object belongs to

        Blender Source Code

        Lightgroup membership information.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lightgroup
      • setLightgroup

        public void setLightgroup​(CPointer<LightgroupMembership> lightgroup)
                           throws java.io.IOException
        Set method for struct member 'lightgroup'.

        Field Documentation

        Blender Python API

        Lightgroup that the object belongs to

        Blender Source Code

        Lightgroup membership information.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lightgroup
      • getRuntime

        public Object_Runtime getRuntime()
                                  throws java.io.IOException
        Get method for struct member 'runtime'.

        Field Documentation

        Blender Source Code

        Runtime evaluation data (keep last).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime
      • setRuntime

        public void setRuntime​(Object_Runtime runtime)
                        throws java.io.IOException
        Set method for struct member 'runtime'.

        Field Documentation

        Blender Source Code

        Runtime evaluation data (keep last).

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

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