C# 클래스 TBOrbit, swip3

상속: MonoBehaviour
파일 보기 프로젝트 열기: unit9/swip3 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
Apply ( ) : void
InstallGestureRecognizers ( ) : void
LateUpdate ( ) : void
OnDrag ( DragGesture gesture ) : void
OnPinch ( PinchGesture, gesture ) : void
OnTwoFingerDrag ( DragGesture gesture ) : void
ResetPanning ( ) : void
Start ( ) : void

비공개 메소드들

메소드 설명
ClampAngle ( float angle, float min, float max ) : float

메소드 상세

Apply() 공개 메소드

public Apply ( ) : void
리턴 void

InstallGestureRecognizers() 공개 메소드

public InstallGestureRecognizers ( ) : void
리턴 void

LateUpdate() 공개 메소드

public LateUpdate ( ) : void
리턴 void

OnDrag() 공개 메소드

public OnDrag ( DragGesture gesture ) : void
gesture DragGesture
리턴 void

OnPinch() 공개 메소드

public OnPinch ( PinchGesture, gesture ) : void
gesture PinchGesture,
리턴 void

OnTwoFingerDrag() 공개 메소드

public OnTwoFingerDrag ( DragGesture gesture ) : void
gesture DragGesture
리턴 void

ResetPanning() 공개 메소드

public ResetPanning ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

프로퍼티 상세

allowPanning 공개적으로 프로퍼티

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

allowPinchZoom 공개적으로 프로퍼티

Allow the user to affect the orbit distance using the pinch zoom gesture
public bool allowPinchZoom
리턴 bool

clampPitchAngle 공개적으로 프로퍼티

Keep pitch angle value between minPitch and maxPitch?
public bool clampPitchAngle
리턴 bool

clampYawAngle 공개적으로 프로퍼티

Keep yaw angle value between minPitch and maxPitch?
public bool clampYawAngle
리턴 bool

initialDistance 공개적으로 프로퍼티

Initial camera distance to target
public float initialDistance
리턴 float

invertPanningDirections 공개적으로 프로퍼티

public bool invertPanningDirections
리턴 bool

maxDistance 공개적으로 프로퍼티

Maximum distance between camera and target
public float maxDistance
리턴 float

maxPitch 공개적으로 프로퍼티

public float maxPitch
리턴 float

maxYaw 공개적으로 프로퍼티

public float maxYaw
리턴 float

minDistance 공개적으로 프로퍼티

Minimum distance between camera and target
public float minDistance
리턴 float

minPitch 공개적으로 프로퍼티

public float minPitch
리턴 float

minYaw 공개적으로 프로퍼티

public float minYaw
리턴 float

panningPlane 공개적으로 프로퍼티

public Transform panningPlane
리턴 Transform

panningSensitivity 공개적으로 프로퍼티

public float panningSensitivity
리턴 float

pinchZoomSensitivity 공개적으로 프로퍼티

Affects pinch zoom speed
public float pinchZoomSensitivity
리턴 float

pitchSensitivity 공개적으로 프로퍼티

Affects vertical rotation speed
public float pitchSensitivity
리턴 float

smoothMotion 공개적으로 프로퍼티

Use smooth camera motions?
public bool smoothMotion
리턴 bool

smoothOrbitSpeed 공개적으로 프로퍼티

public float smoothOrbitSpeed
리턴 float

smoothPanning 공개적으로 프로퍼티

public bool smoothPanning
리턴 bool

smoothPanningSpeed 공개적으로 프로퍼티

public float smoothPanningSpeed
리턴 float

smoothZoomSpeed 공개적으로 프로퍼티

public float smoothZoomSpeed
리턴 float

target 공개적으로 프로퍼티

The object to orbit around
public Transform target
리턴 Transform

yawSensitivity 공개적으로 프로퍼티

Affects horizontal rotation speed
public float yawSensitivity
리턴 float