API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
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?: numberInterpolation factor in [0, 1]. 1 snaps instantly; lower values smooth the camera. Defaults to 1.
offsetX?: numberHorizontal offset in world units applied after following the target.
offsetY?: numberVertical offset in world units applied after following the target.
Source