Lib.point.transform.SnapPointsToGrid - tixl3d/tixl GitHub Wiki

SnapPointsToGrid

in Lib.point.transform


Rounds (floors) the position of points onto a grid, i.e., snaps them to the position of a grid.

This can be useful to debug compute shader effects that rely on a spatial grid.


Input Parameters

Name (Relevancy & Type) Description
Points (BufferWithViewsRequired) -
Amount (Single) -
AmountFactor (Int32) -
Mode (Int32) -
GridScale (Single) -
GridStretch (Vector3) -
Offset (Vector3) -
Scatter (Single) -
BiasAndGain (Vector2) -
UseWAsWeight (Boolean) This is parameter has been deprecated and is only here for reference.
UseSelection (Boolean) This is parameter has been deprecated and is only here for reference.

Outputs

Name Type
Output T3.Core.DataTypes.BufferWithViews

⚠ Everything else is automatically generated and will be overwritten regularly.

⚠️ **GitHub.com Fallback** ⚠️