Click or drag to resize

ChannelTValue Class

Generic Channel implementation capable of storing keyframes of the given Type.
Inheritance Hierarchy
SystemObject
  Fusee.XirkitChannelBase
    Fusee.XirkitChannelTValue

Namespace:  Fusee.Xirkit
Assembly:  Fusee.Xirkit (in Fusee.Xirkit.dll) Version: 0.7.0.0 (0.7.0.0)
Syntax
C#
public class Channel<TValue> : ChannelBase

Type Parameters

TValue
The type of keyframes' values that the channel should store.

The ChannelTValue type exposes the following members.

Constructors
  NameDescription
Public methodChannelTValue(ChannelTValueLerpFunc)
Initializes a new instance of the ChannelTValue class. Adds the right Lerpfunction.
Public methodChannelTValue(ChannelTValueLerpFunc, TValue)
Initializes a new instance of the ChannelTValue class. Adds a Keyframe with a specific value and the right lerpFunction.
Public methodChannelTValue(ChannelTValueSetChanelValue, ChannelTValueLerpFunc)
Initializes a new instance of the ChannelTValue class. Adds one defaul Keyframe and the right Lerpfunction.
Top
Properties
  NameDescription
Public propertyDuration
Retrieves the overall duration of this channel.
(Overrides ChannelBaseDuration.)
Public propertyTime
Gets or sets the time of the Channel.
(Inherited from ChannelBase.)
Public propertyValue
Gets the last calculated value.
Top
Methods
  NameDescription
Public methodAddKeyframe(KeyframeTValue)
Adds a keyframe to this channel.
Public methodAddKeyframe(Single, TValue)
Creates a new Keyframe and add's him to the channel.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValueAt
Returns the value of a keyframe at a specific time.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveKeyframe
Removes a keyframe at a speciffic time (time = key).
Public methodSetTick
Increments the current time and advances between the best fitting keyframes.
(Overrides ChannelBaseSetTick(Single).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventTimeChanged
Occurs when the channel time changed.
Top
See Also