gltf-codec-0.1.0.4: glTF scene loader
Safe HaskellNone
LanguageHaskell2010

Codec.GlTF.Animation

Synopsis

Documentation

newtype AnimationIx Source #

Constructors

AnimationIx 

Fields

Instances

Instances details
Eq AnimationIx Source # 
Instance details

Defined in Codec.GlTF.Animation

Ord AnimationIx Source # 
Instance details

Defined in Codec.GlTF.Animation

Show AnimationIx Source # 
Instance details

Defined in Codec.GlTF.Animation

Generic AnimationIx Source # 
Instance details

Defined in Codec.GlTF.Animation

Associated Types

type Rep AnimationIx :: Type -> Type #

ToJSON AnimationIx Source # 
Instance details

Defined in Codec.GlTF.Animation

FromJSON AnimationIx Source # 
Instance details

Defined in Codec.GlTF.Animation

type Rep AnimationIx Source # 
Instance details

Defined in Codec.GlTF.Animation

type Rep AnimationIx = D1 ('MetaData "AnimationIx" "Codec.GlTF.Animation" "gltf-codec-0.1.0.4-4VoQsGaCivs2IcxkZWD1XT" 'True) (C1 ('MetaCons "AnimationIx" 'PrefixI 'True) (S1 ('MetaSel ('Just "unAnimationIx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data Animation Source #

A keyframe animation.

Instances

Instances details
Eq Animation Source # 
Instance details

Defined in Codec.GlTF.Animation

Show Animation Source # 
Instance details

Defined in Codec.GlTF.Animation

Generic Animation Source # 
Instance details

Defined in Codec.GlTF.Animation

Associated Types

type Rep Animation :: Type -> Type #

ToJSON Animation Source # 
Instance details

Defined in Codec.GlTF.Animation

FromJSON Animation Source # 
Instance details

Defined in Codec.GlTF.Animation

type Rep Animation Source # 
Instance details

Defined in Codec.GlTF.Animation

newtype AnimationSamplerIx Source #

Instances

Instances details
Eq AnimationSamplerIx Source # 
Instance details

Defined in Codec.GlTF.Animation

Ord AnimationSamplerIx Source # 
Instance details

Defined in Codec.GlTF.Animation

Show AnimationSamplerIx Source # 
Instance details

Defined in Codec.GlTF.Animation

Generic AnimationSamplerIx Source # 
Instance details

Defined in Codec.GlTF.Animation

Associated Types

type Rep AnimationSamplerIx :: Type -> Type #

ToJSON AnimationSamplerIx Source # 
Instance details

Defined in Codec.GlTF.Animation

FromJSON AnimationSamplerIx Source # 
Instance details

Defined in Codec.GlTF.Animation

type Rep AnimationSamplerIx Source # 
Instance details

Defined in Codec.GlTF.Animation

type Rep AnimationSamplerIx = D1 ('MetaData "AnimationSamplerIx" "Codec.GlTF.Animation" "gltf-codec-0.1.0.4-4VoQsGaCivs2IcxkZWD1XT" 'True) (C1 ('MetaCons "AnimationSamplerIx" 'PrefixI 'True) (S1 ('MetaSel ('Just "unAnimationSamplerIx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data AnimationSampler Source #

Combines input and output accessors with an interpolation algorithm to define a keyframe graph (but not its target).

Constructors

AnimationSampler 

Fields

Instances

Instances details
Eq AnimationSampler Source # 
Instance details

Defined in Codec.GlTF.Animation

Show AnimationSampler Source # 
Instance details

Defined in Codec.GlTF.Animation

Generic AnimationSampler Source # 
Instance details

Defined in Codec.GlTF.Animation

Associated Types

type Rep AnimationSampler :: Type -> Type #

ToJSON AnimationSampler Source # 
Instance details

Defined in Codec.GlTF.Animation

FromJSON AnimationSampler Source # 
Instance details

Defined in Codec.GlTF.Animation

type Rep AnimationSampler Source # 
Instance details

Defined in Codec.GlTF.Animation

newtype AnimationSamplerInterpolation Source #

Instances

Instances details
Eq AnimationSamplerInterpolation Source # 
Instance details

Defined in Codec.GlTF.Animation

Ord AnimationSamplerInterpolation Source # 
Instance details

Defined in Codec.GlTF.Animation

Show AnimationSamplerInterpolation Source # 
Instance details

Defined in Codec.GlTF.Animation

Generic AnimationSamplerInterpolation Source # 
Instance details

Defined in Codec.GlTF.Animation

Associated Types

type Rep AnimationSamplerInterpolation :: Type -> Type #

ToJSON AnimationSamplerInterpolation Source # 
Instance details

Defined in Codec.GlTF.Animation

FromJSON AnimationSamplerInterpolation Source # 
Instance details

Defined in Codec.GlTF.Animation

type Rep AnimationSamplerInterpolation Source # 
Instance details

Defined in Codec.GlTF.Animation

type Rep AnimationSamplerInterpolation = D1 ('MetaData "AnimationSamplerInterpolation" "Codec.GlTF.Animation" "gltf-codec-0.1.0.4-4VoQsGaCivs2IcxkZWD1XT" 'True) (C1 ('MetaCons "AnimationSamplerInterpolation" 'PrefixI 'True) (S1 ('MetaSel ('Just "unAnimationSamplerInterpolation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data AnimationChannel Source #

Targets an animation's sampler at a node's property.

Instances

Instances details
Eq AnimationChannel Source # 
Instance details

Defined in Codec.GlTF.Animation

Show AnimationChannel Source # 
Instance details

Defined in Codec.GlTF.Animation

Generic AnimationChannel Source # 
Instance details

Defined in Codec.GlTF.Animation

Associated Types

type Rep AnimationChannel :: Type -> Type #

ToJSON AnimationChannel Source # 
Instance details

Defined in Codec.GlTF.Animation

FromJSON AnimationChannel Source # 
Instance details

Defined in Codec.GlTF.Animation

type Rep AnimationChannel Source # 
Instance details

Defined in Codec.GlTF.Animation

data AnimationChannelTarget Source #

The index of the node and TRS property that an animation channel targets.

Instances

Instances details
Eq AnimationChannelTarget Source # 
Instance details

Defined in Codec.GlTF.Animation

Show AnimationChannelTarget Source # 
Instance details

Defined in Codec.GlTF.Animation

Generic AnimationChannelTarget Source # 
Instance details

Defined in Codec.GlTF.Animation

Associated Types

type Rep AnimationChannelTarget :: Type -> Type #

ToJSON AnimationChannelTarget Source # 
Instance details

Defined in Codec.GlTF.Animation

FromJSON AnimationChannelTarget Source # 
Instance details

Defined in Codec.GlTF.Animation

type Rep AnimationChannelTarget Source # 
Instance details

Defined in Codec.GlTF.Animation

type Rep AnimationChannelTarget = D1 ('MetaData "AnimationChannelTarget" "Codec.GlTF.Animation" "gltf-codec-0.1.0.4-4VoQsGaCivs2IcxkZWD1XT" 'False) (C1 ('MetaCons "AnimationChannelTarget" 'PrefixI 'True) ((S1 ('MetaSel ('Just "node") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodeIx)) :*: S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AnimationChannelTargetPath)) :*: (S1 ('MetaSel ('Just "extensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Object)) :*: S1 ('MetaSel ('Just "extras") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)))))

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

Instances details
Eq AnimationChannelTargetPath Source # 
Instance details

Defined in Codec.GlTF.Animation

Ord AnimationChannelTargetPath Source # 
Instance details

Defined in Codec.GlTF.Animation

Show AnimationChannelTargetPath Source # 
Instance details

Defined in Codec.GlTF.Animation

Generic AnimationChannelTargetPath Source # 
Instance details

Defined in Codec.GlTF.Animation

Associated Types

type Rep AnimationChannelTargetPath :: Type -> Type #

ToJSON AnimationChannelTargetPath Source # 
Instance details

Defined in Codec.GlTF.Animation

FromJSON AnimationChannelTargetPath Source # 
Instance details

Defined in Codec.GlTF.Animation

type Rep AnimationChannelTargetPath Source # 
Instance details

Defined in Codec.GlTF.Animation

type Rep AnimationChannelTargetPath = D1 ('MetaData "AnimationChannelTargetPath" "Codec.GlTF.Animation" "gltf-codec-0.1.0.4-4VoQsGaCivs2IcxkZWD1XT" 'True) (C1 ('MetaCons "AnimationChannelTargetPath" 'PrefixI 'True) (S1 ('MetaSel ('Just "unAnimationChannelTargetPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))