C# 클래스 UnityEngine.VR.WSA.Input.GestureRecognizer

Manager class with API for recognizing user gestures.

상속: IDisposable
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 메소드들

메소드 설명
CancelGestures ( ) : void

Cancels any pending gesture events. Additionally this will call StopCapturingGestures.

Dispose ( ) : void

Disposes the resources used by gesture recognizer.

GestureRecognizer ( ) : System

Create a GestureRecognizer.

GetRecognizableGestures ( ) : GestureSettings

Retrieve a mask of the currently enabled gestures.

IsCapturingGestures ( ) : bool

Used to query if the GestureRecognizer is currently receiving Gesture events.

SetRecognizableGestures ( GestureSettings newMaskValue ) : GestureSettings

Set the recognizable gestures to the ones specified in newMaskValues and return the old settings.

StartCapturingGestures ( ) : void

Call to begin receiving gesture events on this recognizer. No events will be received until this method is called.

StopCapturingGestures ( ) : void

Call to stop receiving gesture events on this recognizer.

비공개 메소드들

메소드 설명
Destroy ( IntPtr recognizer ) : void
DestroyThreaded ( IntPtr recognizer ) : void
INTERNAL_CALL_Internal_Create ( GestureRecognizer self, IntPtr &value ) : void
Internal_CancelGestures ( IntPtr recognizer ) : void
Internal_Create ( ) : IntPtr
Internal_GetRecognizableGestures ( IntPtr recognizer ) : int
Internal_IsCapturingGestures ( IntPtr recognizer ) : bool
Internal_SetRecognizableGestures ( IntPtr recognizer, int newMaskValue ) : int
Internal_StartCapturingGestures ( IntPtr recognizer ) : void
Internal_StopCapturingGestures ( IntPtr recognizer ) : void
InvokeErrorEvent ( string error, int hresult ) : void
InvokeHoldEvent ( GestureEventType eventType, InteractionSourceKind source, Ray headRay ) : void
InvokeManipulationEvent ( GestureEventType eventType, InteractionSourceKind source, Vector3 position, Ray headRay ) : void
InvokeNavigationEvent ( GestureEventType eventType, InteractionSourceKind source, Vector3 relativePosition, Ray headRay ) : void
InvokeRecognitionEvent ( GestureEventType eventType, InteractionSourceKind source, Ray headRay ) : void
InvokeTapEvent ( InteractionSourceKind source, Ray headRay, int tapCount ) : void

메소드 상세

CancelGestures() 공개 메소드

Cancels any pending gesture events. Additionally this will call StopCapturingGestures.

public CancelGestures ( ) : void
리턴 void

Dispose() 공개 메소드

Disposes the resources used by gesture recognizer.

public Dispose ( ) : void
리턴 void

GestureRecognizer() 공개 메소드

Create a GestureRecognizer.

public GestureRecognizer ( ) : System
리턴 System

GetRecognizableGestures() 공개 메소드

Retrieve a mask of the currently enabled gestures.

public GetRecognizableGestures ( ) : GestureSettings
리턴 GestureSettings

IsCapturingGestures() 공개 메소드

Used to query if the GestureRecognizer is currently receiving Gesture events.

public IsCapturingGestures ( ) : bool
리턴 bool

SetRecognizableGestures() 공개 메소드

Set the recognizable gestures to the ones specified in newMaskValues and return the old settings.

public SetRecognizableGestures ( GestureSettings newMaskValue ) : GestureSettings
newMaskValue GestureSettings A mask indicating which gestures are now recognizable.
리턴 GestureSettings

StartCapturingGestures() 공개 메소드

Call to begin receiving gesture events on this recognizer. No events will be received until this method is called.

public StartCapturingGestures ( ) : void
리턴 void

StopCapturingGestures() 공개 메소드

Call to stop receiving gesture events on this recognizer.

public StopCapturingGestures ( ) : void
리턴 void