Struct TranslationMixer | DOTS Timeline | 0.4.0-preview.5
docs.unity3d.com
    Show / Hide Table of Contents

    Struct TranslationMixer

    Namespace: Unity.Timeline
    Syntax
    public struct TranslationMixer : IComponentMixer<Translation>

    Methods

    Add(ref Translation, ref Translation)

    Declaration
    public Translation Add(ref Translation A, ref Translation B)
    Parameters
    Type Name Description
    Translation A
    Translation B
    Returns
    Type Description
    Translation
    Implements
    IComponentMixer<T>.Add(ref T, ref T)

    Lerp(ref Translation, ref Translation, Single)

    Declaration
    public Translation Lerp(ref Translation A, ref Translation B, float s)
    Parameters
    Type Name Description
    Translation A
    Translation B
    Single s
    Returns
    Type Description
    Translation
    Implements
    IComponentMixer<T>.Lerp(ref T, ref T, Single)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023