CameraProps
Since 0.6
Signature
export interface CameraProps {
/** Which rig starts active. Default `fixed` for a camera entity that names no kind. */
kind?: CameraKind
/** Config for the active rig. */
config?: Record<string, unknown>
/** Extra rigs available to `camera-switch`, keyed by kind. */
rigs?: Partial<Record<CameraKind, Record<string, unknown>>>
/** Read the look axis and steer the rig with it. Default true. */
steerable?: boolean
/** Rebinding data for `InputMap.fromJSON`. */
input?: Record<string, unknown>
/** Default blend, in seconds, for `camera-switch`. */
blend?: number
}
Import: import type { CameraProps } from "@argus/gameplay"
Members
| Member | Signature | Description |
|---|---|---|
kind | kind?: CameraKind | Which rig starts active. Default fixed for a camera entity that names no kind. |
config | config?: Record<string, unknown> | Config for the active rig. |
rigs | rigs?: Partial<Record<CameraKind, Record<string, unknown>>> | Extra rigs available to camera-switch, keyed by kind. |
steerable | steerable?: boolean | Read the look axis and steer the rig with it. Default true. |
input | input?: Record<string, unknown> | Rebinding data for InputMap.fromJSON. |
blend | blend?: number | Default blend, in seconds, for camera-switch. |