Lib.point.modify.ResampleLinePoints - tixl3d/tixl GitHub Wiki

ResampleLinePoints

in Lib.point.modify



Input Parameters

Name (Relevancy & Type) Description
Points (BufferWithViewsRequired) -
Count (Int32) The number of resulting points.
RangeMode (Int32) -
SampleRange (Vector2) -
SmoothDistance (Single) The smoothing distinces for sampling. E.g. 1 rounding over the neighbour points. 2 rounding across two neighours, etc.
Samples (Int32) The sample count used for smoothing out the result.
Because higher values can have a significant performance impact, the max count is 10.
Rotation (Int32) Defines how rotation of the interpolated points is computed.
This rotation can be relevant when resulting points are used for instantiating or repeating other points.

In some situations, the rotation is already inconsistent, e.g. when the position of the points has be randomized without adjusting the rotation. In this case, recomputing the rotation from the line's tangent can be helpful.
RotationUpVector (Vector3) When using the "Recompute" rotation mode, this will be used as the up-vector to compute the normal direction of the line.
This basically defines how the line twists around its forward direction.

If the direction of the approaches the up vector, the result becomes unstable because of gimbal lock.

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** ⚠️