Extended camera used to hover round a specified target object.

See also:

  • away3d.containers.View3D

Constructor

@:value({ wrapPanAngle : false, yFactor : 2, steps : 8, maxPanAngle : null, minPanAngle : null, maxTiltAngle : 90, minTiltAngle : -90, distance : 1000, tiltAngle : 90, panAngle : 0, lookAtObject : null, targetObject : null })new(?targetObject:Entity, ?lookAtObject:ObjectContainer3D, panAngle:Float = 0, tiltAngle:Float = 90, distance:Float = 1000, minTiltAngle:Float = -90, maxTiltAngle:Float = 90, ?minPanAngle:Float, ?maxPanAngle:Float, steps:Int = 8, yFactor:Float = 2, wrapPanAngle:Bool = false)

Creates a new HoverController object.

Variables

Methods

@:value({ interpolate : true })update(interpolate:Bool = true):Void

Updates the current tilt angle and pan angle values.

Values are calculated using the defined tiltAngle, panAngle and steps variables.

Parameters:

interpolate

If the update to a target pan- or tiltAngle is interpolated. Default is true.

See also:

  • tiltAngle

  • panAngle

  • steps

Inherited Variables

Defined by LookAtController

lookAtPosition:Vector3D

The Vector3D object that the target looks at.

upAxis:Vector3D

The vector representing the up direction of the target object.

Defined by ControllerBase

Inherited Methods