firstUpdate

open override fun firstUpdate(scene: Scene, time: JulianDate)(source)

Invoked when the controller is being updated the first time, immediately before update is called. Implement firstUpdate to perform one-time work after the relevant scene has begun its render loop. Some examples might include initializing simulation time values or adding a primitive to the scene.

Parameters

time

The current simulation time.

See also