Class CurvyMetadataBase
- Namespace
- FluffyUnderware.Curvy
Base class for all Metadata classes. A Metadata is a custom data attached to a Control Point
[RequireComponent(typeof(CurvySplineSegment))]
[ExecuteAlways]
public abstract class CurvyMetadataBase : DTVersionedMonoBehaviour
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourDTVersionedMonoBehaviourCurvyMetadataBase
- Derived
Properties
ControlPoint
public CurvySplineSegment ControlPoint { get; }
Property Value
Spline
public CurvySpline Spline { get; }
Property Value
Methods
GetNextData<T>(bool, bool, bool)
public T GetNextData<T>(bool autoCreate = true, bool segmentsOnly = true, bool useFollowUp = false) where T : CurvyMetadataBase
Parameters
Returns
- T
Type Parameters
T
GetPreviousData<T>(bool, bool, bool)
public T GetPreviousData<T>(bool autoCreate = true, bool segmentsOnly = true, bool useFollowUp = false) where T : CurvyMetadataBase
Parameters
Returns
- T
Type Parameters
T
NotifyModification()
Call this to make the owner spline send an event to notify its listeners of the change in the spline data.
protected void NotifyModification()