gltf-codec-0.1.0.5: glTF scene loader
Safe HaskellSafe-Inferred
LanguageHaskell2010

Codec.GlTF.Animation

Synopsis

Documentation

newtype AnimationIx Source #

Constructors

AnimationIx 

Fields

Instances

Instances details
FromJSON AnimationIx Source # 
Instance details

Defined in Codec.GlTF.Animation

ToJSON 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 #

Show AnimationIx Source # 
Instance details

Defined in Codec.GlTF.Animation

Eq AnimationIx Source # 
Instance details

Defined in Codec.GlTF.Animation

Ord 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.5-AQj8n2r1FOLCvhuFAqCDT8" 'True) (C1 ('MetaCons "AnimationIx" 'PrefixI 'True) (S1 ('MetaSel ('Just "unAnimationIx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data Animation Source #

A keyframe animation.

Instances

Instances details
FromJSON Animation Source # 
Instance details

Defined in Codec.GlTF.Animation

ToJSON 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 #

Show Animation Source # 
Instance details

Defined in Codec.GlTF.Animation

Eq 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
FromJSON AnimationSamplerIx Source # 
Instance details

Defined in Codec.GlTF.Animation

ToJSON 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 #

Show AnimationSamplerIx Source # 
Instance details

Defined in Codec.GlTF.Animation

Eq AnimationSamplerIx Source # 
Instance details

Defined in Codec.GlTF.Animation

Ord 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.5-AQj8n2r1FOLCvhuFAqCDT8" '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
FromJSON AnimationSampler Source # 
Instance details

Defined in Codec.GlTF.Animation

ToJSON 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 #

Show AnimationSampler Source # 
Instance details

Defined in Codec.GlTF.Animation

Eq 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
FromJSON AnimationSamplerInterpolation Source # 
Instance details

Defined in Codec.GlTF.Animation

ToJSON 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 #

Show AnimationSamplerInterpolation Source # 
Instance details

Defined in Codec.GlTF.Animation

Eq AnimationSamplerInterpolation Source # 
Instance details

Defined in Codec.GlTF.Animation

Ord 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.5-AQj8n2r1FOLCvhuFAqCDT8" '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
FromJSON AnimationChannel Source # 
Instance details

Defined in Codec.GlTF.Animation

ToJSON 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 #

Show AnimationChannel Source # 
Instance details

Defined in Codec.GlTF.Animation

Eq 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
FromJSON AnimationChannelTarget Source # 
Instance details

Defined in Codec.GlTF.Animation

ToJSON 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 #

Show AnimationChannelTarget Source # 
Instance details

Defined in Codec.GlTF.Animation

Eq 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.5-AQj8n2r1FOLCvhuFAqCDT8" '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
FromJSON AnimationChannelTargetPath Source # 
Instance details

Defined in Codec.GlTF.Animation

ToJSON 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 #

Show AnimationChannelTargetPath Source # 
Instance details

Defined in Codec.GlTF.Animation

Eq AnimationChannelTargetPath Source # 
Instance details

Defined in Codec.GlTF.Animation

Ord 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.5-AQj8n2r1FOLCvhuFAqCDT8" 'True) (C1 ('MetaCons "AnimationChannelTargetPath" 'PrefixI 'True) (S1 ('MetaSel ('Just "unAnimationChannelTargetPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))