RegionView3D(bpy_struct)¶
base class — bpy_struct
-
class
bpy.types.RegionView3D(bpy_struct)¶ 3D View region data
-
clip_planes¶ - Type
float multi-dimensional array of 6 * 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), (0.0, 0.0, 0.0, 0.0), (0.0, 0.0, 0.0, 0.0))
-
is_orthographic_side_view¶ Is current view an orthographic side view
- Type
boolean, default False
-
is_perspective¶ - Type
boolean, default False
-
lock_rotation¶ Lock view rotation in side views
- Type
boolean, default False
-
perspective_matrix¶ Current perspective matrix (
window_matrix * view_matrix)- Type
float 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)), (readonly)
-
show_sync_view¶ Sync view position between side views
- Type
boolean, default False
-
use_box_clip¶ Clip objects based on what’s visible in other side views
- Type
boolean, default False
-
use_clip_planes¶ - Type
boolean, default False
-
view_camera_offset¶ View shift in camera view
- Type
float array of 2 items in [-inf, inf], default (0.0, 0.0)
-
view_camera_zoom¶ Zoom factor in camera view
- Type
float in [-30, 600], default 0.0
-
view_distance¶ Distance to the view location
- Type
float in [0, inf], default 0.0
-
view_location¶ View pivot location
- Type
float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
-
view_matrix¶ Current view matrix
- Type
float 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))
-
view_perspective¶ View Perspective
- Type
enum in [‘PERSP’, ‘ORTHO’, ‘CAMERA’], default ‘ORTHO’
-
view_rotation¶ Rotation in quaternions (keep normalized)
- Type
float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
-
window_matrix¶ Current window matrix
- Type
float 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)), (readonly)
-
update()¶ Recalculate the view matrices
-
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.Structsubclass
-
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