View3DCursor(bpy_struct)
base class — bpy_struct
- class bpy.types.View3DCursor(bpy_struct)
- location
(array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))
- Type:
- matrix
Matrix combining location and rotation of the cursor (multi-dimensional array of 4 * 4 items, in [-inf, inf], default ((0.0, 0.0, 0.0, 0.0), (0.0, 0.0, 0.0, 0.0), (0.0, 0.0, 0.0, 0.0), (0.0, 0.0, 0.0, 0.0)))
- Type:
- rotation_axis_angle
Angle of Rotation for Axis-Angle rotation representation (array of 4 items, in [-inf, inf], default (0.0, 0.0, 1.0, 0.0))
- Type:
bpy_prop_array[float]
- rotation_euler
3D rotation (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))
- Type:
- rotation_mode
The kind of rotation to apply, values from other rotation modes are not used (default
'XYZ')- Type:
Literal[Object Rotation Mode Items]
- rotation_quaternion
Rotation in quaternions (keep normalized) (array of 4 items, in [-inf, inf], default (1.0, 0.0, 0.0, 0.0))
- Type:
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type