C# Class TBOrbit, swip3

Inheritance: MonoBehaviour
Afficher le fichier Open project: unit9/swip3 Class Usage Examples

Méthodes publiques

Свойство Type Description
allowPanning bool
allowPinchZoom bool
clampPitchAngle bool
clampYawAngle bool
initialDistance float
invertPanningDirections bool
maxDistance float
maxPitch float
maxYaw float
minDistance float
minPitch float
minYaw float
panningPlane Transform
panningSensitivity float
pinchZoomSensitivity float
pitchSensitivity float
smoothMotion bool
smoothOrbitSpeed float
smoothPanning bool
smoothPanningSpeed float
smoothZoomSpeed float
target Transform
yawSensitivity float

Méthodes publiques

Méthode Description
Apply ( ) : void
InstallGestureRecognizers ( ) : void
LateUpdate ( ) : void
OnDrag ( DragGesture gesture ) : void
OnPinch ( PinchGesture, gesture ) : void
OnTwoFingerDrag ( DragGesture gesture ) : void
ResetPanning ( ) : void
Start ( ) : void

Private Methods

Méthode Description
ClampAngle ( float angle, float min, float max ) : float

Method Details

Apply() public méthode

public Apply ( ) : void
Résultat void

InstallGestureRecognizers() public méthode

public InstallGestureRecognizers ( ) : void
Résultat void

LateUpdate() public méthode

public LateUpdate ( ) : void
Résultat void

OnDrag() public méthode

public OnDrag ( DragGesture gesture ) : void
gesture DragGesture
Résultat void

OnPinch() public méthode

public OnPinch ( PinchGesture, gesture ) : void
gesture PinchGesture,
Résultat void

OnTwoFingerDrag() public méthode

public OnTwoFingerDrag ( DragGesture gesture ) : void
gesture DragGesture
Résultat void

ResetPanning() public méthode

public ResetPanning ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

allowPanning public_oe property

Two-Finger camera panning. Panning will apply an offset to the pivot/camera target point
public bool allowPanning
Résultat bool

allowPinchZoom public_oe property

Allow the user to affect the orbit distance using the pinch zoom gesture
public bool allowPinchZoom
Résultat bool

clampPitchAngle public_oe property

Keep pitch angle value between minPitch and maxPitch?
public bool clampPitchAngle
Résultat bool

clampYawAngle public_oe property

Keep yaw angle value between minPitch and maxPitch?
public bool clampYawAngle
Résultat bool

initialDistance public_oe property

Initial camera distance to target
public float initialDistance
Résultat float

invertPanningDirections public_oe property

public bool invertPanningDirections
Résultat bool

maxDistance public_oe property

Maximum distance between camera and target
public float maxDistance
Résultat float

maxPitch public_oe property

public float maxPitch
Résultat float

maxYaw public_oe property

public float maxYaw
Résultat float

minDistance public_oe property

Minimum distance between camera and target
public float minDistance
Résultat float

minPitch public_oe property

public float minPitch
Résultat float

minYaw public_oe property

public float minYaw
Résultat float

panningPlane public_oe property

public Transform panningPlane
Résultat Transform

panningSensitivity public_oe property

public float panningSensitivity
Résultat float

pinchZoomSensitivity public_oe property

Affects pinch zoom speed
public float pinchZoomSensitivity
Résultat float

pitchSensitivity public_oe property

Affects vertical rotation speed
public float pitchSensitivity
Résultat float

smoothMotion public_oe property

Use smooth camera motions?
public bool smoothMotion
Résultat bool

smoothOrbitSpeed public_oe property

public float smoothOrbitSpeed
Résultat float

smoothPanning public_oe property

public bool smoothPanning
Résultat bool

smoothPanningSpeed public_oe property

public float smoothPanningSpeed
Résultat float

smoothZoomSpeed public_oe property

public float smoothZoomSpeed
Résultat float

target public_oe property

The object to orbit around
public Transform target
Résultat Transform

yawSensitivity public_oe property

Affects horizontal rotation speed
public float yawSensitivity
Résultat float