ShotSample
Since 0.6
What a shot list says the camera is doing at one time.
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
| Member | Signature | Description |
|---|---|---|
position | position: Vec3 | |
target | target: Vec3 | |
fov | fov: number | |
shot | shot: number | Index of the shot playing. |
name | name: string | null | |
local | local: number | Seconds into that shot. |
done | done: boolean | True when the list has run out (and is not looping): the pose is the last shot's last. |