Module dagon.resource.gltf.animation

glTF 2.0 animation.

Description

The dagon.resource.gltf.animation module defines classes for representing and evaluating glTF animation samplers, channels, and animation clips. Animation playback, blending, and update logic are included.

Classes

NameDescription
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

NameDescription
TRS TRS (Translation, Rotation, Scale) structure for joint transforms.

Enums

NameDescription
InterpolationType Interpolation types supported by glTF animation samplers.
PlayMode Animation playback mode (loop or once).
TRSType Animation target property types (translation, rotation, scale).