SceneViewWidget

Description

sealed class Tinman.AddOns.Widgets.SceneViewWidget

Derived from

DefaultControlsWidget abstract

Full source code is included in the Tinman 3D SDK download.

A GUI widget that run a SceneView.

Public / Constructors

SceneViewWidget


public constructor SceneViewWidget → ()

Creates a new instance of SceneViewWidget.

Public / Methods

SceneClear


public method SceneClear → ()

Clears the current scene view, if any.

SceneCreate


public method SceneCreate → (2)

options in : SceneOptions

[not-null]
Options to use for creating the scene object.

entityViewMask opt : int64 = ~0

The entity mask of the created scene view, see IEntityViewMask.EntityViewMask.

returns → Scene

The created Scene object. The associated SceneView object may be accessed via Scene.

Discards the current scene view (see Scene), creates an own scene object based on the given options in and finally creates and sets a new scene view.

ValidatingException

If the given options in are invalid.

GeorefException

If the provided geo-referencing information is incomplete, see SceneOptions.CreateScene.

IOException

If an I/O error has occurred.

RenderException

If a graphics subsystem error has occurred.

SceneSet


public method SceneSet → (1)

scene in : SceneView

The scene view to use or null to clear.

Sets the current scene view (see Scene).

RenderException

If a graphics subsystem error has occurred.

Public / Attributes

Scene


[OwnerValue]
public attribute Scene → (get)

value : SceneView

The scene view object or null.

The current scene view.