Click or drag to resize

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
Syntax
C#
private 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: Vector3Int
The mapped point.
See Also