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.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindFirstObjectByType<T>()
UnityEngine.Object.FindAnyObjectByType<T>()
UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
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 |