TransformOrientationSlot(bpy_struct)

base class — bpy_struct

class bpy.types.TransformOrientationSlot(bpy_struct)
custom_orientation
Type

TransformOrientation, (readonly)

type

Transformation orientation

  • GLOBAL Global, Align the transformation axes to world space.

  • LOCAL Local, Align the transformation axes to the selected objects’ local space.

  • NORMAL Normal, Align the transformation axes to average normal of selected elements (bone Y axis for pose mode).

  • GIMBAL Gimbal, Align each axis to the Euler rotation axis as used for input.

  • VIEW View, Align the transformation axes to the window.

  • CURSOR Cursor, Align the transformation axes to the 3D cursor.

Type

enum in [‘GLOBAL’, ‘LOCAL’, ‘NORMAL’, ‘GIMBAL’, ‘VIEW’, ‘CURSOR’], default ‘GLOBAL’

use

Use scene orientation instead of a custom setting

Type

boolean, default False

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

Inherited Functions

References