Gorgon
Show / Hide Table of Contents

Interface IGorgonKeyFrame

An animation key frame.

Inherited Members
IGorgonCloneable<IGorgonKeyFrame>.Clone()
Namespace: Gorgon.Animation
Assembly: Gorgon.Animation.dll
Syntax
public interface IGorgonKeyFrame : IGorgonCloneable<IGorgonKeyFrame>
Remarks

A key frame represents a value for an object property at a given time.

The track that the key frame is on is used to interpolate the value between key frames. This method makes it so that only a few key frames are required for an animation rather then setting a value for every time index.

Properties

| Edit this page View Source

DataType

Property to return the type of data for this key frame.

Declaration
[JsonIgnore]
Type DataType { get; }
Property Value
Type Description
Type
See Also
IGorgonAnimationTrack<T>
| Edit this page View Source

Time

Property to return the time at which the key frame is stored.

Declaration
float Time { get; }
Property Value
Type Description
float
See Also
IGorgonAnimationTrack<T>

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)

See Also

IGorgonAnimationTrack<T>
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author