Click or drag to resize

FingersPanOrbitComponentScript Fields

The FingersPanOrbitComponentScript type exposes the following members.

Fields
  NameDescription
Public fieldAllowMovementOnBothAxisSimultaneously
Whether to allow orbit and/or pan on both axis at the same time or to only pick the axis with the greatest movement.
Public fieldAllowOrbitWhileZooming
Whether to allow orbit while zooming.
Public fieldClampBounds
Clamp camera to specified world space bounds, null for no clamp
Public fieldLookAtTarget
Whether to look at the target automatically. Set to false if you are controlling this yourself.
Public fieldMaximumDistance
The maximum distance to move away from the orbit target, 0 for no maximum.
Public fieldMinimumDistance
The minimium distance to move to the orbit target, 0 for no minimum.
Public fieldOrbiter
The object to orbit around OrbitTarget.
Public fieldOrbitInertia
How much the velocity of the orbit will cause additional orbit after the gesture stops. 1 for no inertia (orbits forever) or 0 for immediate stop.
Public fieldOrbitMaximumSize
The max size for the orbit or pan. An x,y or z value larget than this away from orbit target will be clamped in. Set to 0 for no limit.
Public fieldOrbitTarget
The transform to orbit around.
Public fieldOrbitXMaxDegrees
The maximum degrees to orbit on the x axis from the starting x rotation. 0 for no limit. Set OrbitXSpeed to 0 to disable x orbit.
Public fieldOrbitXPanLimit
Set a movement limit from orbit target if OrbitXPan is true. 0 for no limit.
Public fieldOrbitXPanSpeed
Speed if OrbitXPan is true
Public fieldOrbitXSpeed
The speed (degrees per second) at which to orbit using x delta pan gesture values. Negative or positive values will cause orbit in the opposite direction.
Public fieldOrbitYMaxDegrees
The maximum degrees to orbit on the y axis from the starting y rotation. 0 for no limit. Set OrbitYSpeed to 0 to disable y orbit.
Public fieldOrbitYPanLimit
Set a movement limit from orbit target if OrbitYPan is true. 0 for no limit.
Public fieldOrbitYPanSpeed
Speed if OrbitYPan is true.
Public fieldOrbitYSpeed
The speed (degrees per second) at which to orbit using y delta pan gesture values. Negative or positive values will cause orbit in the opposite direction.
Public fieldRequireOrbitGesturesToStartOnTarget
Whether the pan and rotate orbit gestures must start on the orbit target to orbit. The tap gesture always requires that it be on the orbit target.
Public fieldXAxisMovementType
Whether the orbit on the x axis is a pan (move sideways) instead of an orbit.
Public fieldYAxisMovementType
Whether the orbit on the y axis is a pan (move sideways) instead of an orbit.
Public fieldZoomLookAtSpeed
The speed at which the orbiter looks at the orbit target is it has panned away from looking direclty at the orbit target.
Public fieldZoomSpeed
The zoom speed
Public fieldZoomThresholdUnits
The threshold in units before zooming begins to happen. Start distance must change this much in order to start the gesture.
Top
See Also