Class SplineComponent
Base class for SplineInstantiate and SplineExtrude, contains common elements to both of these Components
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Splines
Syntax
public abstract class SplineComponent : MonoBehaviour
Methods
GetAxis(SplineComponent.AlignAxis)
Transform a AlignAxis to the associated float3 direction.
Declaration
protected float3 GetAxis(SplineComponent.AlignAxis axis)
Parameters
Type | Name | Description |
---|---|---|
SplineComponent.AlignAxis | axis | The AlignAxis to transform |
Returns
Type | Description |
---|---|
float3 |