Class AnimationDataChannel
Namespace: ValveResourceFormat.ResourceTypes.ModelAnimation
Assembly: ValveResourceFormat.dll
Represents a data channel in an animation, mapping bones or flex controllers to animation elements.
public class AnimationDataChannelInheritance
object ← AnimationDataChannel
Constructors
AnimationDataChannel(Skeleton, FlexController[], string[], KVObject)
Initializes a new instance of the AnimationDataChannel class.
public AnimationDataChannel(Skeleton skeleton, FlexController[] flexControllers, string[] userNames, KVObject dataChannel)Parameters
skeleton Skeleton
The skeleton bone channels bind against.
flexControllers FlexController[]
The model's flex controllers, which morph channels bind against.
userNames string[]
The decode key's own m_userArray names, which user channels bind against. Local to one decode key rather than shared model-wide.
dataChannel KVObject
The CAnimDataChannelDesc key values.
Properties
Attribute
Gets the attribute type of this channel.
public AnimationChannelAttribute Attribute { get; }Property Value
RemapTable
Gets the remap table that maps bone or flex controller IDs to element indices.
public int[] RemapTable { get; }Property Value
int[]

