Class Keyframe<TValue>
This Class represents a Keyframe it has a time and a Value.
Inheritance
System.Object
Keyframe<TValue>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Xirkit
Assembly: Fusee.Xirkit.dll
Syntax
public class Keyframe<TValue>
Type Parameters
Name | Description |
---|---|
TValue | The type of the value. |
Constructors
Keyframe(Single, TValue)
Initializes a new instance of the Keyframe<TValue> class.
Declaration
public Keyframe(float time, TValue value)
Parameters
Type | Name | Description |
---|---|---|
System.Single | time | The time of the keyframe. |
TValue | value | The value of the keyframe. |
Properties
Time
Gets and sets the time.
Declaration
public float Time { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The new time. |
Value
Gets and sets the value.
Declaration
public TValue Value { get; set; }
Property Value
Type | Description |
---|---|
TValue | The new value. |