csc.view.ViewportDomain

class csc.view.ViewportDomain

Domain Viewport class. Represents the Domain ViewPort class that manages properties and functionalities of a viewport in the scene.

Args: camera_struct (csc.view.SphericalCameraStruct) : The camera structure associated with the viewport.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

camera(self)

Get the camera associated with the viewport.

camera_struct(self)

Get the camera structure associated with the viewport.

id(self)

Get the ID of the viewport.

is_main(self)

mode_visualizers(self)

Get the mode visualizers of the viewport.

set_camera_struct(self, camera_struct)

Set the camera structure associated with the viewport.

set_mode_visualizers(self, mode)

Set the mode visualizers of the viewport.

__annotations__ = {}
__init__(*args, **kwargs)
__module__ = 'csc.view'
camera(self: csc.view.ViewportDomain) object

Get the camera associated with the viewport.

Returns:

The camera associated with the viewport.

Return type:

csc.view.Camera

camera_struct(self: csc.view.ViewportDomain) csc.view.SphericalCameraStruct

Get the camera structure associated with the viewport.

Returns:

The camera structure associated with the viewport.

Return type:

csc.view.SphericalCameraStruct

id(self: csc.view.ViewportDomain) csc.Guid

Get the ID of the viewport.

Returns:

The ID of the viewport.

Return type:

csc.Guid

is_main(self: csc.view.ViewportDomain) bool
mode_visualizers(self: csc.view.ViewportDomain) csc.view.ViewportMode

Get the mode visualizers of the viewport.

Returns:

The mode visualizers of the viewport.

Return type:

csc.view.ViewportMode

set_camera_struct(self: csc.view.ViewportDomain, camera_struct: csc.view.SphericalCameraStruct) None

Set the camera structure associated with the viewport.

Parameters:

arg0 (csc.view.SphericalCameraStruct) – The camera structure to set.

set_mode_visualizers(self: csc.view.ViewportDomain, mode: csc.view.ViewportMode) None

Set the mode visualizers of the viewport.

Parameters:

arg0 (csc.view.ViewportMode) – The mode visualizers to set.