Method CreateSnapModifier
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
CreateSnapModifier(float)
Rounds each axis of the translate up to a multiple of gridSize.
public static DndModifier CreateSnapModifier(float gridSize)
Parameters
gridSizefloatThe grid step, px.
Returns
- DndModifier
The modifier.