Class TrackInterpolationModeExtensions
Extension methods for the TrackInterpolationMode values.
Inherited Members
Namespace: Gorgon.Animation
Assembly: Gorgon.Animation.dll
Syntax
public static class TrackInterpolationModeExtensions
Methods
| Edit this page View SourceGetDescription(TrackInterpolationMode)
Function to get a culture sensitive string representing a TrackInterpolationMode value.
Declaration
public static string GetDescription(this TrackInterpolationMode mode)
Parameters
Type | Name | Description |
---|---|---|
TrackInterpolationMode | mode | The mode to evaluate. |
Returns
Type | Description |
---|---|
string | The string representation. |
GetExplicitValues(TrackInterpolationMode)
Function to retrieve a list of explicit values in the TrackInterpolationMode passed in.
Declaration
public static IEnumerable<TrackInterpolationMode> GetExplicitValues(this TrackInterpolationMode mode)
Parameters
Type | Name | Description |
---|---|---|
TrackInterpolationMode | mode | The interpolation mode(s) to evaluate. |
Returns
Type | Description |
---|---|
IEnumerable<TrackInterpolationMode> | The list of explicitly declared values. |
GetTrackInterpolationMode(string)
Function to get a the TrackInterpolationMode from a culture sensitive string.
Declaration
public static TrackInterpolationMode GetTrackInterpolationMode(this string mode)
Parameters
Type | Name | Description |
---|---|---|
string | mode | The string value to evaluate. |
Returns
Type | Description |
---|---|
TrackInterpolationMode | The enum value. |