Table of Contents

Class CurvyInterpolatableMetadataBase<T>

Base class for Metadata classes that support interpolation.

[ExecuteAlways]
public abstract class CurvyInterpolatableMetadataBase<T> : CurvyMetadataBase

Type Parameters

T

The Type of the Metadata's value

Inheritance
Object
Component
Behaviour
MonoBehaviour
DTVersionedMonoBehaviour
CurvyInterpolatableMetadataBase<T>
Inherited Members

Properties

MetaDataValue

The value stored within this Metadata instance

public abstract T MetaDataValue { get; }

Property Value

T

Methods

Interpolate(CurvyInterpolatableMetadataBase<T>, float)

Interpolates between the current Metadata's value and the one from the next Control Point's Metadata.

public abstract T Interpolate(CurvyInterpolatableMetadataBase<T> nextMetadata, float interpolationTime)

Parameters

nextMetadata CurvyInterpolatableMetadataBase<T>

The Metadata from the Control Point next to the current one

interpolationTime float

The local F value on the segment defined by the current Control Point and the next one

Returns

T