Table of Contents

Class SurfaceOrbitController

Namespace
LansMap.Interaction
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

public float MaxDistance

Field Value

float

MaxPitchDeg

public float MaxPitchDeg

Field Value

float

MinDistance

public float MinDistance

Field Value

float

MinPitchDeg

public 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

public float YawDeg

Field Value

float