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

    Class SubPrefabClip

    Inheritance
    Object
    DOTSClip
    SubPrefabClip
    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 SubPrefabClip : DOTSClip, ITimelineClipAsset, IDeclareNestedPlayableDirector

    Fields

    subDirector

    Declaration
    public PlayableDirector subDirector
    Field Value
    Type Description
    PlayableDirector

    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>)

    GetNestedDirectors(IExposedPropertyTable, List<PlayableDirector>)

    Declaration
    public void GetNestedDirectors(IExposedPropertyTable propertyTable, List<PlayableDirector> nestedDirectors)
    Parameters
    Type Name Description
    IExposedPropertyTable propertyTable
    List<PlayableDirector> nestedDirectors
    Implements
    IDeclareNestedPlayableDirector.GetNestedDirectors(IExposedPropertyTable, List<PlayableDirector>)
    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