Class TrackEvaluationFixture<T> | DOTS Timeline | 0.7.0-preview.2
docs.unity3d.com
    Show / Hide Table of Contents

    Class TrackEvaluationFixture<T>

    Inheritance
    Object
    TrackEvaluationFixture<T>
    AnimationTrack_Binding_IntegrationTests
    AnimationTrack_IntegrationTests
    AnimationTrack_SubTimeline_IntegrationTests
    SpawnTrack_IntegrationTests
    Namespace: Unity.Timeline.Hybrid.Tests
    Syntax
    public class TrackEvaluationFixture<T>
        where T : DOTSTrack, new()
    Type Parameters
    Name Description
    T

    Fields

    Director

    Declaration
    protected PlayableDirector Director
    Field Value
    Type Description
    PlayableDirector

    Manager

    Declaration
    protected EntityManager Manager
    Field Value
    Type Description
    EntityManager

    Store

    Declaration
    protected BlobAssetStore Store
    Field Value
    Type Description
    BlobAssetStore

    Timeline

    Declaration
    protected TimelineAsset Timeline
    Field Value
    Type Description
    TimelineAsset

    Track

    Declaration
    protected T Track
    Field Value
    Type Description
    T

    World

    Declaration
    protected World World
    Field Value
    Type Description
    World

    Methods

    AssertAreEqual(float3, float3, Single)

    Declaration
    protected static void AssertAreEqual(float3 expected, float3 val, float t)
    Parameters
    Type Name Description
    Unity.Mathematics.float3 expected
    Unity.Mathematics.float3 val
    Single t

    Convert()

    Declaration
    protected Entity Convert()
    Returns
    Type Description
    Entity

    ConvertDirector(PlayableDirector)

    Declaration
    protected Entity ConvertDirector(PlayableDirector director)
    Parameters
    Type Name Description
    PlayableDirector director
    Returns
    Type Description
    Entity

    CreateDirectorWithTrack(out PlayableDirector, out TimelineAsset, out T)

    Declaration
    protected void CreateDirectorWithTrack(out PlayableDirector director, out TimelineAsset asset, out T track)
    Parameters
    Type Name Description
    PlayableDirector director
    TimelineAsset asset
    T track

    CreateDirectorWithTrack<U>(out PlayableDirector, out TimelineAsset, out U)

    Declaration
    protected void CreateDirectorWithTrack<U>(out PlayableDirector director, out TimelineAsset asset, out U track)
        where U : TrackAsset, new()
    Parameters
    Type Name Description
    PlayableDirector director
    TimelineAsset asset
    U track
    Type Parameters
    Name Description
    U

    GetEntityCount()

    Declaration
    protected int GetEntityCount()
    Returns
    Type Description
    Int32

    SetMainTimeAndUpdate(Double)

    Declaration
    protected void SetMainTimeAndUpdate(double t)
    Parameters
    Type Name Description
    Double t

    SetTime(Entity, Double)

    Declaration
    protected void SetTime(Entity timer, double t)
    Parameters
    Type Name Description
    Entity timer
    Double t

    Setup()

    Declaration
    public virtual void Setup()

    TearDown()

    Declaration
    public virtual void TearDown()

    UpdateBlendOverlaps(TrackAsset)

    Declaration
    public static void UpdateBlendOverlaps(TrackAsset track)
    Parameters
    Type Name Description
    TrackAsset track

    UpdateWorld()

    Declaration
    protected void UpdateWorld()
    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