Scene

Description

sealed class Tinman.Engine.Scenes.Scene

Derived from

Disposable abstract
IScene
IUpdateableFrameTime

Represents a high-level API for animated 3D-scenes that are based on a terrain.

When there are one or more scene views, the IUpdateableFrameTime.UpdateFrameTime method will be called automatically. Manually calling it in this case is allowed but will have no effect. If there are no scene views, the IUpdateableFrameTime.UpdateFrameTime method must be called in order to advance the scene time index, see TimeIndex.

See also

SceneOptions

Public / Attributes

Time​Index


public attribute TimeIndex → (get)

value : float64

[>=0]
The current time index, in seconds.

Returns the time index of the scene.

The time index is the sum of the frame times that have been passed to IUpdateableFrameTime.UpdateFrameTime.