Class AlembicShotAsset
Clip representing the playback range of an Alembic asset.
Namespace: UnityEngine.Formats.Alembic.Timeline
Syntax
public class AlembicShotAsset : PlayableAsset, ITimelineClipAsset, IPropertyPreview
Properties
duration
Returns the duration selected through the AlembicStreamPlayer.
Declaration
public override double duration { get; }
Property Value
Type | Description |
---|---|
Double |
StreamPlayer
The AlembicStreamPlayer to play.
Declaration
public ExposedReference<AlembicStreamPlayer> StreamPlayer { get; set; }
Property Value
Type | Description |
---|---|
ExposedReference<AlembicStreamPlayer> |
Methods
CreatePlayable(PlayableGraph, GameObject)
For more information see: https://docs.unity3d.com/ScriptReference/Playables.PlayableAsset.CreatePlayable.html
Declaration
public override Playable CreatePlayable(PlayableGraph graph, GameObject owner)
Parameters
Type | Name | Description |
---|---|---|
PlayableGraph | graph | The Playable Graph. |
GameObject | owner | The GameObject containing the PlayableDirector. |
Returns
Type | Description |
---|---|
Playable | The playable that drives the AlembicStreamPlayer. |
GatherProperties(PlayableDirector, IPropertyCollector)
Declaration
public void GatherProperties(PlayableDirector director, IPropertyCollector driver)
Parameters
Type | Name | Description |
---|---|---|
PlayableDirector | director | |
IPropertyCollector | driver |