Threepp.Clock¶
Timer class
Members¶
Constructors¶
Properties¶
Methods¶
Clock¶
Constructor
Arguments
| Arguments | Default | Description |
|---|---|---|
autoStart |
true |
Whether to start automatically. |
Description
Constructor
autoStart¶
Property \ Access: r/w
Description
Whether to start automatically
running¶
Property \ Access: r/w
Description
Whether the clock is running (read-only)
elapsedTime¶
Property \ Access: r/w
Description
Elapsed time (read-only)
start¶
Method
Description
Starts the clock
stop¶
Method
Description
Stops the clock
getElapsedTime¶
Method
Description
Gets the elapsed time
getDelta¶
Method
Description
Gets the time elapsed since the last call