Table of Contents

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

gridSize float

The grid step, px.

Returns

DndModifier

The modifier.