Class SplineComponent
Base class for SplineInstantiate and SplineExtrude, contains common elements to both of these Components
Inherited Members
Component.GetComponentIndex()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Scene)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.Splines
Assembly: Unity.Splines.dll
Syntax
public abstract class SplineComponent : MonoBehaviour
Methods
GetAxis(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 |