Members
-
capabilities
-
capabilities contains the device-specific properties and supported extensions.
-
duration
-
The duration of the clip.
-
frameTime
-
The duration to update and render a frame.
-
looping
-
Determines whether the animation should loop or not. By default, it uses the value determined by the AnimationClip, but can be overridden.
-
onFrame
-
The
Signal
that triggers rendering. Listen to this to callRenderer#render
-
onPreFrame
-
The
Signal
that dispatched before a frame renders.
Methods
-
destroy()
-
This destroys Helix. Any resources created will become invalid.
-
init(canvas [, options])
-
Initializes Helix and creates a WebGL context for a given canvas
Parameters:
Name Type Argument Description canvas
The canvas to create the gl context from.
options
<optional>
An optional
InitOptions
object. -
start()
-
Starts the Helix loop (happens automatically).
-
stop()
-
Stops the Helix loop.