@twinfinity/core
    Preparing search index...

    Class TwinfinityTargetCameraInputsManager

    Default Inputs manager for the PivotTargetCamera. It groups all the default supported inputs for ease of use.

    Hierarchy

    • CameraInputsManager<TargetCamera>
      • TwinfinityTargetCameraInputsManager

    Implements

    Index

    Constructors

    Properties

    _keyboardInput: Nullable<TwinfinityTargetCameraKeyboardInput<PivotTargetCamera>> = null
    _mousePanInput: Nullable<TwinfinityTargetCameraMousePanInput<PivotTargetCamera>> = null
    _mouseRotationInput: Nullable<TwinfinityTargetCameraMouseRotationInput> = null
    _mouseZoomInput: Nullable<
        TwinfinityTargetCameraMouseZoomInput<PivotTargetCamera>,
    > = null
    _touchInput: Nullable<TwinfinityCameraTouchInput> = null
    isKeyboardMoveEnabled: boolean = true

    If true then camera can be moved along its axes using a keyboard. Default is by arrow keys or WASD keys.

    isPanEnabled: boolean = true

    If true then camera can be panned.

    isRotationEnabled: boolean = true

    If true then camera can be rotated

    isZoomEnabled: boolean = true

    If true then camera can be zoomed

    mode: CameraMode = 'all'

    Determines mode of camera.

    Methods

    • Remove all attached input methods from this PivotTargetCamera

      Returns void