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 public static ImageGestureImage CreateImageGestureImageFromTexture(
Texture2D texture,
float scorePadding = 0f
)
Parameters
- texture
- Type: Texture2D
Texture - scorePadding (Optional)
- Type: SystemSingle
Score padding
Return Value
Type:
ImageGestureImageImageGestureImage or null if dimensions of texture do not match ImageGestureRecognizer.ImageColumns and ImageGestureRecognizer.ImageRows.
See Also