API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceViewFollowOptions

@codexo/exojs / rendering / stable

Options for View.follow.

3
props
0
methods
0
events
Import
import { ViewFollowOptions } from '@codexo/exojs'

Options for View.follow.

Properties3
lerp?: number
Interpolation factor in [0, 1]. 1 snaps instantly; lower values smooth the camera. Defaults to 1.
offsetX?: number
Horizontal offset in world units applied after following the target.
offsetY?: number
Vertical offset in world units applied after following the target.
Source