Class SurfaceOrbitController
public sealed class SurfaceOrbitController : MonoBehaviour
- Inheritance
-
object
Object
Component
Behaviour
MonoBehaviour
SurfaceOrbitController
Fields
Distance
[Tooltip("Camera distance from the target in world units.")]
public float Distance
Field Value
- float
DollyStep
[Tooltip("Distance change per scroll notch, multiplicative.")]
public float DollyStep
Field Value
- float
Map
[Tooltip("Map whose input source drives this camera. Empty reads Unity's own mouse and touch.")]
public BaseMapView Map
Field Value
- BaseMapView
MaxDistance
Field Value
- float
MaxPitchDeg
Field Value
- float
MinDistance
Field Value
- float
MinPitchDeg
Field Value
- float
OrbitDegPerPx
[Tooltip("Orbit degrees per dragged pixel.")]
public float OrbitDegPerPx
Field Value
- float
PitchDeg
[Tooltip("Camera elevation above the table in degrees.")]
public float PitchDeg
Field Value
- float
Target
[Tooltip("Point the camera orbits; usually the map plane.")]
public Transform Target
Field Value
- Transform
YawDeg
Field Value
- float