C# 클래스 TouchScript.Gestures.TransformGesture

상속: TouchScript.Gestures.Base.TransformGestureBase, ITransformGesture
파일 보기 프로젝트 열기: DRMold/HungryHungryTetris 1 사용 예제들

공개 메소드들

메소드 설명
ApplyTransform ( Transform target ) : void

보호된 메소드들

메소드 설명
Awake ( ) : void
OnEnable ( ) : void
clearDebug ( ) : void
doOnePointTranslation ( Vector2 oldScreenPos, Vector2 newScreenPos, TouchScript.Layers.ProjectionParams projectionParams ) : Vector3
doRotation ( Vector2 oldScreenPos1, Vector2 oldScreenPos2, Vector2 newScreenPos1, Vector2 newScreenPos2, TouchScript.Layers.ProjectionParams projectionParams ) : float
doScaling ( Vector2 oldScreenPos1, Vector2 oldScreenPos2, Vector2 newScreenPos1, Vector2 newScreenPos2, TouchScript.Layers.ProjectionParams projectionParams ) : float
doTwoPointTranslation ( Vector2 oldScreenPos1, Vector2 oldScreenPos2, Vector2 newScreenPos1, Vector2 newScreenPos2, float dR, float dS, TouchScript.Layers.ProjectionParams projectionParams ) : Vector3
drawDebug ( int touchPoints ) : void
projectScaledRotated ( Vector2 point, float dR, float dS, TouchScript.Layers.ProjectionParams projectionParams ) : Vector3
touchesBegan ( IList touches ) : void

비공개 메소드들

메소드 설명
updateProjectionPlane ( ) : void

Updates projection plane based on options set.

메소드 상세

ApplyTransform() 공개 메소드

public ApplyTransform ( Transform target ) : void
target UnityEngine.Transform
리턴 void

Awake() 보호된 메소드

protected Awake ( ) : void
리턴 void

OnEnable() 보호된 메소드

protected OnEnable ( ) : void
리턴 void

clearDebug() 보호된 메소드

protected clearDebug ( ) : void
리턴 void

doOnePointTranslation() 보호된 메소드

protected doOnePointTranslation ( Vector2 oldScreenPos, Vector2 newScreenPos, TouchScript.Layers.ProjectionParams projectionParams ) : Vector3
oldScreenPos UnityEngine.Vector2
newScreenPos UnityEngine.Vector2
projectionParams TouchScript.Layers.ProjectionParams
리턴 UnityEngine.Vector3

doRotation() 보호된 메소드

protected doRotation ( Vector2 oldScreenPos1, Vector2 oldScreenPos2, Vector2 newScreenPos1, Vector2 newScreenPos2, TouchScript.Layers.ProjectionParams projectionParams ) : float
oldScreenPos1 UnityEngine.Vector2
oldScreenPos2 UnityEngine.Vector2
newScreenPos1 UnityEngine.Vector2
newScreenPos2 UnityEngine.Vector2
projectionParams TouchScript.Layers.ProjectionParams
리턴 float

doScaling() 보호된 메소드

protected doScaling ( Vector2 oldScreenPos1, Vector2 oldScreenPos2, Vector2 newScreenPos1, Vector2 newScreenPos2, TouchScript.Layers.ProjectionParams projectionParams ) : float
oldScreenPos1 UnityEngine.Vector2
oldScreenPos2 UnityEngine.Vector2
newScreenPos1 UnityEngine.Vector2
newScreenPos2 UnityEngine.Vector2
projectionParams TouchScript.Layers.ProjectionParams
리턴 float

doTwoPointTranslation() 보호된 메소드

protected doTwoPointTranslation ( Vector2 oldScreenPos1, Vector2 oldScreenPos2, Vector2 newScreenPos1, Vector2 newScreenPos2, float dR, float dS, TouchScript.Layers.ProjectionParams projectionParams ) : Vector3
oldScreenPos1 UnityEngine.Vector2
oldScreenPos2 UnityEngine.Vector2
newScreenPos1 UnityEngine.Vector2
newScreenPos2 UnityEngine.Vector2
dR float
dS float
projectionParams TouchScript.Layers.ProjectionParams
리턴 UnityEngine.Vector3

drawDebug() 보호된 메소드

protected drawDebug ( int touchPoints ) : void
touchPoints int
리턴 void

projectScaledRotated() 보호된 메소드

protected projectScaledRotated ( Vector2 point, float dR, float dS, TouchScript.Layers.ProjectionParams projectionParams ) : Vector3
point UnityEngine.Vector2
dR float
dS float
projectionParams TouchScript.Layers.ProjectionParams
리턴 UnityEngine.Vector3

touchesBegan() 보호된 메소드

protected touchesBegan ( IList touches ) : void
touches IList
리턴 void