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 / Methods

Scene​Clear


public method SceneClear → ()

Clears the current scene view, if any.

Scene​Create


public method SceneCreate → (3)

options in : SceneOptions own

[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.

stage opt : IRenderStage own = null

The render stage to use. If null, RenderStage.Default will be used. A full frame will be rendered when IRenderable.Render is called.

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.

Scene​Set


public method SceneSet → (1)

sceneView in : SceneView own

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.