Module dagon.resource.gltf.animation
glTF 2.0 animation.
Description
The dagon module defines classes for representing
and evaluating glTF animation samplers, channels, and animation clips.
Animation playback, blending, and update logic are included.
Classes
| Name | Description |
|---|---|
GLTFAnimation
|
Represents a glTF animation clip, containing samplers and channels. |
GLTFAnimationChannel
|
Represents a glTF animation channel, which targets a node and property (TRS). |
GLTFAnimationComponent
|
Entity component for playing a glTF animation on an entity.
|
GLTFAnimationSampler
|
Represents a glTF animation sampler, which defines keyframe times, values, and interpolation. |
GLTFBlendedPose
|
A pose that supports smooth blending between GLTF animations. |
GLTFPose
|
GPU skinning pose for a glTF skin and animation. |
Structs
| Name | Description |
|---|---|
TRS
|
TRS (Translation, Rotation, Scale) structure for joint transforms. |
Enums
| Name | Description |
|---|---|
InterpolationType
|
Interpolation types supported by glTF animation samplers. |
PlayMode
|
Animation playback mode (loop or once). |
TRSType
|
Animation target property types (translation, rotation, scale). |