Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype AnimationIx = AnimationIx {
- unAnimationIx :: Int
- data Animation = Animation {}
- newtype AnimationSamplerIx = AnimationSamplerIx {}
- data AnimationSampler = AnimationSampler {}
- newtype AnimationSamplerInterpolation = AnimationSamplerInterpolation {}
- pattern LINEAR :: AnimationSamplerInterpolation
- pattern STEP :: AnimationSamplerInterpolation
- pattern CUBICSPLINE :: AnimationSamplerInterpolation
- data AnimationChannel = AnimationChannel {}
- data AnimationChannelTarget = AnimationChannelTarget {}
- newtype AnimationChannelTargetPath = AnimationChannelTargetPath {}
- pattern TRANSLATION :: AnimationChannelTargetPath
- pattern ROTATION :: AnimationChannelTargetPath
- pattern SCALE :: AnimationChannelTargetPath
- pattern WEIGHTS :: AnimationChannelTargetPath
Documentation
newtype AnimationIx Source #
Instances
A keyframe animation.
Animation | |
|
Instances
Eq Animation Source # | |
Show Animation Source # | |
Generic Animation Source # | |
ToJSON Animation Source # | |
Defined in Codec.GlTF.Animation | |
FromJSON Animation Source # | |
type Rep Animation Source # | |
Defined in Codec.GlTF.Animation type Rep Animation = D1 ('MetaData "Animation" "Codec.GlTF.Animation" "gltf-codec-0.1.0.4-4VoQsGaCivs2IcxkZWD1XT" 'False) (C1 ('MetaCons "Animation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "channels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Vector AnimationChannel)) :*: S1 ('MetaSel ('Just "samplers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Vector AnimationSampler))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "extensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Object)) :*: S1 ('MetaSel ('Just "extras") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)))))) |
newtype AnimationSamplerIx Source #
Instances
data AnimationSampler Source #
Combines input and output accessors with an interpolation algorithm to define a keyframe graph (but not its target).
AnimationSampler | |
|
Instances
newtype AnimationSamplerInterpolation Source #
Instances
pattern LINEAR :: AnimationSamplerInterpolation Source #
pattern STEP :: AnimationSamplerInterpolation Source #
pattern CUBICSPLINE :: AnimationSamplerInterpolation Source #
data AnimationChannel Source #
Targets an animation's sampler at a node's property.
Instances
data AnimationChannelTarget Source #
The index of the node and TRS property that an animation channel targets.
Instances
newtype AnimationChannelTargetPath Source #
The name of the node's TRS property to modify, or the weights
of
the Morph Targets it instantiates.
For the translation
property, the values that are provided by
the sampler are the translation along the x, y, and z axes.
For the rotation
property, the values are a quaternion in
the order (x, y, z, w), where w is the scalar.
For the scale
property, the values are the scaling factors
along the x, y, and z axes.",
Instances
pattern TRANSLATION :: AnimationChannelTargetPath Source #
pattern ROTATION :: AnimationChannelTargetPath Source #
pattern SCALE :: AnimationChannelTargetPath Source #
pattern WEIGHTS :: AnimationChannelTargetPath Source #