{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class AnimationSampler | Unity glTFast | 6.0.1
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AnimationSampler

    Inheritance
    object
    AnimationSampler
    AnimationSampler
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: GLTFast.Schema
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class AnimationSampler

    Fields

    Name Description
    input

    The index of an accessor containing keyframe input values, e.G., time. That accessor must have componentType FLOAT. The values represent time in seconds with time[0] >= 0.0, and strictly increasing values, i.e., time[n + 1] > time[n]

    interpolation

    Interpolation algorithm. When an animation targets a node's rotation, and the animation's interpolation is \"LINEAR\", spherical linear interpolation (slerp) should be used to interpolate quaternions. When interpolation is \"STEP\", animated value remains constant to the value of the first point of the timeframe, until the next timeframe.

    output

    The index of an accessor, containing keyframe output values. Output and input accessors must have the same count. When sampler is used with TRS target, output accessor's componentType must be FLOAT.

    Methods

    Name Description
    GetInterpolationType()
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)