FingersImageGestureHelperComponentScript Fields |
The FingersImageGestureHelperComponentScript type exposes the following members.
Name | Description | |
---|---|---|
AllowSimultaneousExecutionWith | Gesture components to allow simultaneous execution with. By default, gestures cannot execute together. (Inherited from GestureRecognizerComponentScriptT.) | |
AllowSimultaneousExecutionWithAllGestures | Whether to allow the gesture to execute simultaneously with all other gestures. (Inherited from GestureRecognizerComponentScriptT.) | |
ClearTrackedTouchesOnEndOrFail | Whether tracked touches are cleared when the gesture ends or fails, default is false. By setting to true, you allow the gesture to possibly execute again with a different touch even if the original touch it failed on is still on-going. This is a special case, so be sure to watch for problems if you set this to true, as leaving it false ensures the most correct behavior, especially with lots of gestures at once. (Inherited from GestureRecognizerComponentScriptT.) | |
DirectionTolerance | The amount that the path must change direction (in radians) to count as a new direction (0.39 is 1.8 of PI). (Inherited from ImageGestureRecognizerComponentScript.) | |
GestureImages | The images that should be compared against to find a match. The values are a ulong which match the bits of each generated image. See DemoSceneImage & DemoScriptImage.cs for an example. (Inherited from ImageGestureRecognizerComponentScript.) | |
GestureStateUpdated | Gesture state updated callback (Inherited from GestureRecognizerComponentScriptT.) | |
GestureView | The game object the gesture must execute over, null to allow the gesture to execute anywhere. (Inherited from GestureRecognizerComponentScriptT.) | |
LineRenderers | The line renderers to show drawn lines or NULL if you are drawing your own lines. Make sure to add enough line renderers to match the max path count for your image gesture recognizer. | |
LinesCleared | Executed whenever lines are cleared. | |
LinesUpdated | Executed whenever lines need updating. Use the gesture property FocusX and FocusY to determine the current point. | |
MatchText | Label to show match in, null for none | |
MaximumNumberOfTouchesToTrack | The maximum number of touches to track. This gesture will never track more touches than this. Default is usually 1 or 2. Not all gestures will honor values higher than 1. (Inherited from GestureRecognizerComponentScriptT.) | |
MaximumPathCount | The maximum number of distinct paths for each image. Gesture will reset when max path count is hit. (Inherited from ImageGestureRecognizerComponentScript.) | |
MinimumDistanceBetweenPointsUnits | Minimum difference beteen points in units to count as a new point. (Inherited from ImageGestureRecognizerComponentScript.) | |
MinimumNumberOfTouchesToTrack | The minimum number of touches to track. This gesture will not start unless this many touches are tracked. Default is usually 1 or 2. Not all gestures will honor values higher than 1. (Inherited from GestureRecognizerComponentScriptT.) | |
MinimumPointsToRecognize | The minimum number of points before the gesture will recognize. (Inherited from ImageGestureRecognizerComponentScript.) | |
RequireGestureRecognizersToFail | The gesture recognizers that should be required to fail (Inherited from GestureRecognizerComponentScriptT.) | |
SimilarityMinimum | The amount that the gesture image must match an image from the set to count as a match (0 - 1). (Inherited from ImageGestureRecognizerComponentScript.) | |
ThresholdUnits | The distance in units that the touch must move before the gesture begins. (Inherited from ImageGestureRecognizerComponentScript.) |