 | GesturePreprocessorGetDiscretized Method |
Convert a single normalized point into a discrete one.
Namespace:
RavingBots.MagicGestures.AI
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxprivate static Vector3Int GetDiscretized(
Vector3 normalized,
Vector3Int size
)
Parameters
- normalized
- Type: Vector3
The point to map. - size
- Type: Vector3Int
The size of the discrete grid.
Return Value
Type:
Vector3IntThe mapped point.
See Also