Class HoverController3D

Hierarchy

Constructors

  • Parameters

    • Optional targetObject: Node3D
    • Optional lookAtObject: Node3D
    • panAngle: number = 0
    • tiltAngle: number = 90
    • distance: number = 1000
    • minTiltAngle: number = -90
    • maxTiltAngle: number = 90
    • minPanAngle: number = NaN
    • maxPanAngle: number = NaN
    • steps: number = 8
    • yFactor: number = 2
    • wrapPanAngle: boolean = false

    Returns HoverController3D

Properties

_currentPanAngle: number = 0
_currentTiltAngle: number = 90
_distance: number = 1000
_lookAtObject: Node3D
_lookAtPosition: Vector3
_maxPanAngle: number = Infinity
_maxTiltAngle: number = 90
_minPanAngle: number = -Infinity
_minTiltAngle: number = -90
_origin: Vector3 = ...
_panAngle: number = 0
_pos: Vector3 = ...
_steps: number = 8
_targetObject: Node3D

控制对象

_tiltAngle: number = 90
_upAxis: Vector3 = Vector3.Y_AXIS
_wrapPanAngle: boolean = false
_yFactor: number = 2

Accessors

Methods

Generated using TypeDoc