Class AnimationBase<TChannel, TSampler>
A keyframe animation.
Inherited Members
Namespace: GLTFast.Schema
Assembly: glTFast.dll
Syntax
[Serializable]
public abstract class AnimationBase<TChannel, TSampler> : AnimationBase where TChannel : AnimationChannelBase where TSampler : AnimationSampler
Type Parameters
| Name | Description |
|---|---|
| TChannel | Animation channel type |
| TSampler | Animation sampler type |
Fields
channels
Declaration
public TChannel[] channels
Field Value
| Type | Description |
|---|---|
| TChannel[] |
See Also
samplers
Declaration
public TSampler[] samplers
Field Value
| Type | Description |
|---|---|
| TSampler[] |
See Also
Properties
Channels
An array of channels, each of which targets an animation's sampler at a node's property. Different channels of the same animation can't have equal targets.
Declaration
public override IReadOnlyList<AnimationChannelBase> Channels { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<AnimationChannelBase> |
Overrides
See Also
Samplers
An array of samplers that combines input and output accessors with an interpolation algorithm to define a keyframe graph (but not its target).
Declaration
public override IReadOnlyList<AnimationSampler> Samplers { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<AnimationSampler> |