Skip to content

camera-3d.animator overview


Table of contents


utils

Camera3dAnimationArgs (type alias)

Signature

export type Camera3dAnimationArgs = {
  position: Point3
  target: Point3
  up?: Point3
  fov?: number
}

Camera3dAnimator (class)

Signature

export declare class Camera3dAnimator<VTypeDoc> {
  constructor(
    public entity: Renderer3dEntity<VTypeDoc>,
    protected _animationFunction: AnimationFunction<Camera3dAnimationArgs>
  )
}

onSpawned (method)

Signature

onSpawned(world: Gg3dWorld<VTypeDoc>)

applyPositioning (method)

Signature

protected applyPositioning(value: Camera3dAnimationArgs)