Class SnappingUtility
Inheritance
System.Object
SnappingUtility
Syntax
public static class SnappingUtility
Properties
enabled
Declaration
public static bool enabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Snap(Single, Single)
Declaration
public static float Snap(float value, float snap)
Parameters
Type |
Name |
Description |
System.Single |
value |
|
System.Single |
snap |
|
Returns
Type |
Description |
System.Single |
|
Snap(Vector3)
Declaration
public static Vector3 Snap(Vector3 position)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Returns