Click or drag to resize

FingersImageAutomationScriptCreateImageGestureImageFromTexture Method

Create an image gesture image from a texture

Namespace:  DigitalRubyShared
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static ImageGestureImage CreateImageGestureImageFromTexture(
	Texture2D texture,
	float scorePadding = 0f
)

Parameters

texture
Type: Texture2D
Texture
scorePadding (Optional)
Type: SystemSingle
Score padding

Return Value

Type: ImageGestureImage
ImageGestureImage or null if dimensions of texture do not match ImageGestureRecognizer.ImageColumns and ImageGestureRecognizer.ImageRows.
See Also