Class LoftRoadBehaviour
Inherited Members
UnityEngine.Component.GetComponentInParent(System.Type, System.Boolean)
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Unity.Splines.Examples
Syntax
[ExecuteInEditMode]
[DisallowMultipleComponent]
[RequireComponent(typeof(SplineContainer), typeof(MeshRenderer), typeof(MeshFilter))]
public class LoftRoadBehaviour : MonoBehaviour
Properties
mesh
Declaration
public Mesh mesh { get; }
Property Value
Type | Description |
---|---|
Mesh |
segmentsPerMeter
Declaration
public int segmentsPerMeter { get; }
Property Value
Type | Description |
---|---|
Int32 |
spline
Declaration
public Spline spline { get; }
Property Value
Type | Description |
---|---|
Spline |
width
Declaration
public SplineData<float> width { get; set; }
Property Value
Type | Description |
---|---|
SplineData<Single> |
Methods
Loft()
Declaration
public void Loft()
OnEnable()
Declaration
public void OnEnable()