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) -
Mode (Int32) -
GridScale (Single) -
GridStretch (Vector3) -
Offset (Vector3) -
Scatter (Single) -
BiasAndGain (Vector2) -
UseWAsWeight (Boolean) -
UseSelection (Boolean) -

Outputs

Name Type
Output T3.Core.DataTypes.BufferWithViews

Please help use to improve this documentation. Feel free to improve the description.

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

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