Skip to content

@modoki/engine / index / getVisualDelta

Function: getVisualDelta()

getVisualDelta(world): number

Presentation delta for this frame: smoothedCadence × timeScale (jitter-free) — i.e. the Time.smoothedDelta field. 0 when the sim isn't running. Use for visual motion — animation, skeletal, particles, procedural wobble, shader time.

Parameters

world

World

Returns

number

Built with Modoki.