Click or drag to resize

ITransformGesture Interface

Gesture which performs some kind of transformation in 3d space, i.e. translation, rotation, scaling or a combination of these.

Namespace:  TouchScript.Gestures.TransformGestures
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public interface ITransformGesture

The ITransformGesture type exposes the following members.

Properties
  NameDescription
Public propertyDeltaPosition
Gets delta position between this frame and the last frame in world coordinates. This value is only available during Transformed or StateChanged events.
Public propertyDeltaRotation
Gets delta rotation between this frame and last frame in degrees. This value is only available during Transformed or StateChanged events.
Public propertyDeltaScale
Contains local delta scale when gesture is recognized. Value is between 0 and +infinity, where 1 is no scale, 0.5 is scaled in half, 2 scaled twice. This value is only available during Transformed or StateChanged events.
Public propertyRotationAxis
Gets rotation axis of the gesture in world coordinates.
Public propertyTransformMask
Contains transform operations which happened this frame.
Top
Events
  NameDescription
Public eventTransformCompleted
Occurs when gesture finishes.
Public eventTransformed
Occurs when gesture data updates.
Public eventTransformStarted
Occurs when gesture starts.
Top
See Also