FingersPanOrbitComponentScript Fields |
The FingersPanOrbitComponentScript type exposes the following members.
Name | Description | |
---|---|---|
AllowMovementOnBothAxisSimultaneously | Whether to allow orbit and/or pan on both axis at the same time or to only pick the axis with the greatest movement. | |
AllowOrbitWhileZooming | Whether to allow orbit while zooming. | |
ClampBounds | Clamp camera to specified world space bounds, null for no clamp | |
LookAtTarget | Whether to look at the target automatically. Set to false if you are controlling this yourself. | |
MaximumDistance | The maximum distance to move away from the orbit target, 0 for no maximum. | |
MinimumDistance | The minimium distance to move to the orbit target, 0 for no minimum. | |
Orbiter | The object to orbit around OrbitTarget. | |
OrbitInertia | 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. | |
OrbitMaximumSize | 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. | |
OrbitTarget | The transform to orbit around. | |
OrbitXMaxDegrees | 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. | |
OrbitXPanLimit | Set a movement limit from orbit target if OrbitXPan is true. 0 for no limit. | |
OrbitXPanSpeed | Speed if OrbitXPan is true | |
OrbitXSpeed | 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. | |
OrbitYMaxDegrees | 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. | |
OrbitYPanLimit | Set a movement limit from orbit target if OrbitYPan is true. 0 for no limit. | |
OrbitYPanSpeed | Speed if OrbitYPan is true. | |
OrbitYSpeed | 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. | |
RequireOrbitGesturesToStartOnTarget | 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. | |
XAxisMovementType | Whether the orbit on the x axis is a pan (move sideways) instead of an orbit. | |
YAxisMovementType | Whether the orbit on the y axis is a pan (move sideways) instead of an orbit. | |
ZoomLookAtSpeed | The speed at which the orbiter looks at the orbit target is it has panned away from looking direclty at the orbit target. | |
ZoomSpeed | The zoom speed | |
ZoomThresholdUnits | The threshold in units before zooming begins to happen. Start distance must change this much in order to start the gesture. |