Talos docs

ShotSample

Since 0.6

What a shot list says the camera is doing at one time.

Plain text

Signature

export interface ShotSample {
  position: Vec3
  target: Vec3
  fov: number
  /** Index of the shot playing. */
  shot: number
  name: string | null
  /** Seconds into that shot. */
  local: number
  /** True when the list has run out (and is not looping): the pose is the last shot's last. */
  done: boolean
}

Import: import type { ShotSample } from "@argus/gameplay"

Members

MemberSignatureDescription
positionposition: Vec3
targettarget: Vec3
fovfov: number
shotshot: numberIndex of the shot playing.
namename: string | null
locallocal: numberSeconds into that shot.
donedone: booleanTrue when the list has run out (and is not looping): the pose is the last shot's last.