initial commit

This commit is contained in:
Jo 2025-01-07 02:06:59 +01:00
parent 6715289efe
commit 788c3389af
37645 changed files with 2526849 additions and 80 deletions

View file

@ -0,0 +1,5 @@
# Loft Road Sample
This sample demonstrates how to write a road mesh loft tool using `SplineUtility` and `SplineEditorUtility` APIs. See `LoftRoadBehaviour.cs` script as example of how `SplineUtility`'s `EvaluatePosition`, `EvaluateTangent` and `EvaluateUpVector` functions can be used to extract information about a Spline and how `EditorSplineUtility`'s callbacks can be leveraged for tooling. In addition, the width of the loft is driven by use of `SplineData` which is a good example of how custom data can be associated with Splines.
Manipulate `Road Spline` game object's Spline to see the road regenerate.