b3dAnimTime

Queries current animation playback time in seconds (returns currentTime, 0.0 if invalid entity). Takes entity (animated mesh entity handle). Returns currentTime as Double (playback position in seconds, advances each frame if playing, frozen if paused), or 0.0 if invalid entity or not animated mesh.

3D Graphics

Parameters & Returns

Parameters

entity Int

Returns

Double

Quick Summary

Queries current animation playback time in seconds (returns currentTime, 0.0 if invalid entity). Takes entity (animated mesh entity handle). Returns currentTime as Double (playback position in seconds, advances each frame if playing, frozen if paused), or 0.0 if invalid entity or not animated mesh.

Technical Exegesis...

Queries current animation playback time in seconds (returns currentTime, 0.0 if invalid entity). Takes entity (animated mesh entity handle). Returns currentTime as Double (playback position in seconds, advances each frame if playing, frozen if paused), or 0.0 if invalid entity or not animated mesh. Reads entity.animatedMesh.currentTime (internal playback position, updated by UpdateAnimations each frame).

Example

Example.bam
; No example implemented yet