RegionView3D(bpy_struct)

base class — bpy_struct

class bpy.types.RegionView3D.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.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

  • bpy_struct.id_data

Inherited Functions

  • bpy_struct.as_pointer

  • bpy_struct.driver_add

  • bpy_struct.driver_remove

  • bpy_struct.get

  • bpy_struct.is_property_hidden

  • bpy_struct.is_property_overridable_library

  • bpy_struct.is_property_readonly

  • bpy_struct.is_property_set

  • bpy_struct.items

  • bpy_struct.keyframe_delete

  • bpy_struct.keyframe_insert

  • bpy_struct.keys

  • bpy_struct.path_from_id

  • bpy_struct.path_resolve

  • bpy_struct.pop

  • bpy_struct.property_overridable_library_set

  • bpy_struct.property_unset

  • bpy_struct.type_recast

  • bpy_struct.values

References

  • Context.region_data

  • SpaceView3D.region_3d

  • SpaceView3D.region_quadviews