RegionView3D(bpy_struct)¶
base class — bpy_struct
-
class
bpy.types.
RegionView3D
(bpy_struct)¶ 3D View region data
-
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 array of 16 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
-
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 array of 16 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 array of 16 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
-
Inherited Properties
Inherited Functions
References