MeshExt.CreateSpline Method
Creates a Mesh tessellating a UxrSpline
Namespace: UltimateXR.Extensions.Unity.Render
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static Mesh CreateSpline(
UxrSpline spline,
int subdivisions,
int sides,
float radius
)
Parameters
- spline
- Type: UltimateXR.Animation.Splines.UxrSpline
Spline to evaluate - subdivisions
- Type: System.Int32
Number of subdivisions along the spline axis - sides
- Type: System.Int32
Number of subdivisions in the section - radius
- Type: System.Single
Section radius
Return Value
Type: Mesh
Mesh with the tessellated UxrSpline