Click or drag to resize

GestureTouch Constructor

Constructor

Namespace:  DigitalRubyShared
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public GestureTouch(
	int platformSpecificId,
	float screenX,
	float screenY,
	float previousX,
	float previousY,
	float pressure = 1f,
	Object platformSpecificTouch = null,
	TouchPhase touchPhase = TouchPhase.Unknown
)

Parameters

platformSpecificId
Type: SystemInt32
A unique id for this touch (for virtual touches please use range -1000 to -2000
screenX
Type: SystemSingle
Screen x in pixels
screenY
Type: SystemSingle
Screen y in pixels
previousX
Type: SystemSingle
Previous screen x in pixels
previousY
Type: SystemSingle
Previous screen y in pixels
pressure (Optional)
Type: SystemSingle
Pressure if known (0 to 1), set to 1 if unknown
platformSpecificTouch (Optional)
Type: SystemObject

[Missing <param name="platformSpecificTouch"/> documentation for "M:DigitalRubyShared.GestureTouch.#ctor(System.Int32,System.Single,System.Single,System.Single,System.Single,System.Single,System.Object,DigitalRubyShared.TouchPhase)"]

touchPhase (Optional)
Type: DigitalRubySharedTouchPhase

[Missing <param name="touchPhase"/> documentation for "M:DigitalRubyShared.GestureTouch.#ctor(System.Int32,System.Single,System.Single,System.Single,System.Single,System.Single,System.Object,DigitalRubyShared.TouchPhase)"]

See Also