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

    Class SubTimelineClip

    SubTimelineClip - is a clip that can build DOTS compatible tracks from a timeline asset. The clip itself stores the tags

    Inheritance
    Object
    DOTSClip
    SubTimelineClip
    Inherited Members
    DOTSClip.Clip
    DOTSClip.AnimatedFields
    DOTSClip.CreatePlayable(PlayableGraph, GameObject)
    DOTSClip.OnEnable()
    DOTSClip.OnDisable()
    DOTSClip.Convert(Entity, ConversionContext)
    DOTSClip.OnCurvesModified(Entity, EntityManager)
    DOTSClip.ConvertCurves(AnimationClip)
    DOTSClip.GetAnimationBlob<T>(String)
    DOTSClip.GetAnimationBlob<T>(String, Func<AnimationCurve, AnimationCurve>)
    DOTSClip.SetCurvesDirty()
    DOTSClip.CheckAndClearCurvesDirtyFlag()
    DOTSClip.GetClipWeightCurve(BlobAssetReference<AnimationCurveBlob>)
    Namespace: Unity.Timeline.ECS
    Syntax
    [Serializable]
    public class SubTimelineClip : DOTSClip, ITimelineClipAsset, IDeclareTagProvider

    Fields

    Timeline

    Declaration
    public TimelineAsset Timeline
    Field Value
    Type Description
    TimelineAsset

    TrackBindings

    Declaration
    public TrackKeyBindings TrackBindings
    Field Value
    Type Description
    TrackKeyBindings

    Properties

    clipCaps

    Declaration
    public ClipCaps clipCaps { get; }
    Property Value
    Type Description
    ClipCaps

    duration

    Declaration
    public override double duration { get; }
    Property Value
    Type Description
    Double

    Methods

    CreateClipEntity(ConversionContext)

    Creates an entity from this clip, using the context object provided. Override this method to change the default clip create method, or return Entity.Null where a conversion is not required

    Declaration
    public override Entity CreateClipEntity(ConversionContext context)
    Parameters
    Type Name Description
    ConversionContext context
    Returns
    Type Description
    Entity
    Overrides
    DOTSClip.CreateClipEntity(ConversionContext)
    Remarks

    Converts the sub director timeline

    DeclareReferencedPrefabs(ConversionContext, List<GameObject>)

    Declaration
    public override void DeclareReferencedPrefabs(ConversionContext context, List<GameObject> referencedPrefabs)
    Parameters
    Type Name Description
    ConversionContext context
    List<GameObject> referencedPrefabs
    Overrides
    DOTSClip.DeclareReferencedPrefabs(ConversionContext, List<GameObject>)

    GetTags(ICollection<Entities.Hash128>)

    Declaration
    public void GetTags(ICollection<Entities.Hash128> tags)
    Parameters
    Type Name Description
    ICollection<Unity.Entities.Hash128> tags
    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