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

    Class DOTSClip

    Inheritance
    Object
    DOTSClip
    AnimationClip
    AnimationPose
    TestGameObjectBindingClip
    TestPrefabBindingClip
    TestPreviewDotsClip
    ComponentClip
    EditRegion
    EntityClip
    SubDirectorClip
    SubPrefabClip
    SubTimelineClip
    Namespace: Unity.Timeline.Hybrid
    Syntax
    public abstract class DOTSClip : PlayableAsset

    Fields

    AnimatedFields

    Declaration
    public readonly List<DOTSClip.AnimatedField> AnimatedFields
    Field Value
    Type Description
    List<DOTSClip.AnimatedField>

    Properties

    Clip

    Declaration
    public TimelineClip Clip { get; set; }
    Property Value
    Type Description
    TimelineClip

    Methods

    CheckAndClearCurvesDirtyFlag()

    Declaration
    public bool CheckAndClearCurvesDirtyFlag()
    Returns
    Type Description
    Boolean

    Convert(Entity, ConversionContext)

    Override this method to add addition components to the clipEntity provided

    Declaration
    public virtual void Convert(Entity clipEntity, ConversionContext context)
    Parameters
    Type Name Description
    Entity clipEntity
    ConversionContext context

    ConvertCurves(AnimationClip)

    Declaration
    protected void ConvertCurves(AnimationClip clip)
    Parameters
    Type Name Description
    AnimationClip clip

    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 virtual Entity CreateClipEntity(ConversionContext context)
    Parameters
    Type Name Description
    ConversionContext context
    Returns
    Type Description
    Entity

    CreatePlayable(PlayableGraph, GameObject)

    Declaration
    public override Playable CreatePlayable(PlayableGraph graph, GameObject owner)
    Parameters
    Type Name Description
    PlayableGraph graph
    GameObject owner
    Returns
    Type Description
    Playable

    DeclareReferencedPrefabs(ConversionContext, List<GameObject>)

    Declaration
    public virtual void DeclareReferencedPrefabs(ConversionContext context, List<GameObject> referencedPrefabs)
    Parameters
    Type Name Description
    ConversionContext context
    List<GameObject> referencedPrefabs

    GetAnimationBlob<T>(String)

    Declaration
    public BlobAssetReference<AnimatedComponentBlob> GetAnimationBlob<T>(string prefix)
        where T : struct, IComponentData
    Parameters
    Type Name Description
    String prefix
    Returns
    Type Description
    BlobAssetReference<AnimatedComponentBlob>
    Type Parameters
    Name Description
    T

    GetAnimationBlob<T>(String, Func<AnimationCurve, AnimationCurve>)

    Declaration
    public BlobAssetReference<AnimatedComponentBlob> GetAnimationBlob<T>(string prefix, Func<AnimationCurve, AnimationCurve> postProcessCurve)
        where T : struct, IComponentData
    Parameters
    Type Name Description
    String prefix
    Func<AnimationCurve, AnimationCurve> postProcessCurve
    Returns
    Type Description
    BlobAssetReference<AnimatedComponentBlob>
    Type Parameters
    Name Description
    T

    GetClipWeightCurve(out BlobAssetReference<AnimationCurveBlob>)

    Get the blob asset for the weight curve.

    Declaration
    public bool GetClipWeightCurve(out BlobAssetReference<AnimationCurveBlob> blob)
    Parameters
    Type Name Description
    BlobAssetReference<AnimationCurveBlob> blob
    Returns
    Type Description
    Boolean

    Whether the asset needed to be built

    OnCurvesModified(Entity, EntityManager)

    Declaration
    public virtual void OnCurvesModified(Entity entity, EntityManager dstManager)
    Parameters
    Type Name Description
    Entity entity
    EntityManager dstManager

    OnDisable()

    Declaration
    protected virtual void OnDisable()

    OnEnable()

    Declaration
    protected virtual void OnEnable()

    SetCurvesDirty()

    Declaration
    public void SetCurvesDirty()
    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