Type Alias FocusProps

FocusProps: {
    cameraOffset?: { x: number; y: number; z: number };
    focusIntensity?: number;
    focusMode?: "focus" | "unfocus";
    lookAtOffset?: { x: number; y: number; z: number };
    trackCharacterLookAt?: boolean;
}

Type declaration

  • OptionalcameraOffset?: { x: number; y: number; z: number }

    Positional offset applied to the camera relative to its base position.

    This is commonly used to shift the camera up, back, or sideways without changing the look-at target.

    new Vector3(0, 0, 0)

  • OptionalfocusIntensity?: number

    Controls the strength of the camera’s tracking behavior.

    Higher values typically result in faster or tighter camera movement toward the target, while lower values produce smoother, looser motion.

    Implementation-defined (0.005)

  • OptionalfocusMode?: "focus" | "unfocus"

    Sets the camera mode to focus the models head, so it moves along with the head, or to be independent

    focus

  • OptionallookAtOffset?: { x: number; y: number; z: number }

    Offset applied to the camera’s look-at target.

    Useful for aiming the camera slightly above or to the side of a character.

    new Vector3(0, 0, 0)

  • OptionaltrackCharacterLookAt?: boolean

    Whether the camera should dynamically track the character’s look-at direction instead of the head bones'.

    When enabled, the camera’s target may update in real time as the character rotates or changes the orientation of the eyes.

    false