{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Enumeration: ANIMATION_INTERPOLATION","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":true,"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/readme"},"children":["API"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d"},"children":["geotoolkit3d"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.data-7"},"children":["data"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.data-7.loader"},"children":["loader"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.data-7.loader.gltftype"},"children":["glTFType"]}," / ANIMATION_INTERPOLATION"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"enumeration-animation_interpolation","__idx":0},"children":["Enumeration: ANIMATION_INTERPOLATION"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.data-7.loader"},"children":["loader"]},".",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.data-7.loader.gltftype"},"children":["glTFType"]},".ANIMATION_INTERPOLATION"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The different interpolation types for AnimationSamplerType.interpolation"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"table-of-contents","__idx":1},"children":["Table of contents"]},{"$$mdtype":"Tag","name":"details","attributes":{"open":"true"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"fontSize":"1.25em","fontWeight":"bold"}},"children":["Enumeration Members"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.data-7.loader.gltftype.animation_interpolation#cubicspline"},"children":["CUBICSPLINE"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.data-7.loader.gltftype.animation_interpolation#linear"},"children":["LINEAR"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.data-7.loader.gltftype.animation_interpolation#step"},"children":["STEP"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"contents","__idx":2},"children":["Contents"]},{"$$mdtype":"Tag","name":"details","attributes":{"open":"true"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"fontSize":"1.25em","fontWeight":"bold"}},"children":["Enumeration Members"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"cubicspline","__idx":3},"children":["CUBICSPLINE"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["CUBICSPLINE"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"CUBICSPLINE\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The animation's interpolation is computed using a cubic spline with specified tangents."," ","The number of output elements ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MUST"]}," equal three times the number of input elements."," ","For each input element, the output stores three elements, an in-tangent, a spline vertex, and an out-tangent."," ","There ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MUST"]}," be at least two keyframes when using this interpolation."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"linear","__idx":4},"children":["LINEAR"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["LINEAR"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"LINEAR\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The animated values are linearly interpolated between keyframes."," ","When targeting a rotation, spherical linear interpolation (slerp) ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["SHOULD"]}," be used to interpolate quaternions."," ","The number of output elements ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MUST"]}," equal the number of input elements."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step","__idx":5},"children":["STEP"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["STEP"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"STEP\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The animated values remain constant to the output of the first keyframe, until the next keyframe."," ","The number of output elements ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MUST"]}," equal the number of input elements."]}]}]},"headings":[{"value":"Enumeration: ANIMATION_INTERPOLATION","id":"enumeration-animation_interpolation","depth":1},{"value":"Table of contents","id":"table-of-contents","depth":2},{"value":"Contents","id":"contents","depth":2},{"value":"CUBICSPLINE","id":"cubicspline","depth":4},{"value":"LINEAR","id":"linear","depth":4},{"value":"STEP","id":"step","depth":4}],"frontmatter":{"seo":{"title":"Enumeration: ANIMATION_INTERPOLATION"}},"lastModified":"2026-02-11T19:54:32.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/geotoolkit/apis/enums/geotoolkit3d.data-7.loader.gltftype.animation_interpolation","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}