b3dSetAnimTime

Sets animation playback time and animation index (manual time control, seeks to specific position). Takes entity (animated mesh entity handle), time (playback position in seconds, can be any value within animation duration), animIndex (animation index 0-based, selects which animation to use from GLB file). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

entity Int
time Double
animIndex Int

Returns

Void

Quick Summary

Sets animation playback time and animation index (manual time control, seeks to specific position). Takes entity (animated mesh entity handle), time (playback position in seconds, can be any value within animation duration), animIndex (animation index 0-based, selects which animation to use from GLB file). Returns nothing.

Technical Exegesis...

Sets animation playback time and animation index (manual time control, seeks to specific position). Takes entity (animated mesh entity handle), time (playback position in seconds, can be any value within animation duration), animIndex (animation index 0-based, selects which animation to use from GLB file). Returns nothing. Sets entity.animatedMesh.currentTime = time and entity.animatedMesh.currentAnimationIndex = animIndex (directly modifies playback state).

Example

Example.bam
; No example implemented yet