Class SubTimelineClip
SubTimelineClip - is a clip that can build DOTS compatible tracks from a timeline asset.
The clip itself stores the tags
Inheritance
SubTimelineClip
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
Properties
clipCaps
Declaration
public ClipCaps clipCaps { get; }
Property Value
Type |
Description |
ClipCaps |
|
duration
Declaration
public override double duration { get; }
Property Value
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
Returns
Overrides
DeclareReferencedPrefabs(ConversionContext, List<GameObject>)
Declaration
public override void DeclareReferencedPrefabs(ConversionContext context, List<GameObject> referencedPrefabs)
Parameters
Overrides
Declaration
public void GetTags(ICollection<Entities.Hash128> tags)
Parameters
Type |
Name |
Description |
ICollection<Unity.Entities.Hash128> |
tags |
|