Class AlembicShotAsset
Clip representing the playback range of an Alembic asset.
Inherited Members
Namespace: UnityEngine.Formats.Alembic.Timeline
Syntax
public class AlembicShotAsset : PlayableAsset, IPlayableAsset, ITimelineClipAsset, IPropertyPreview
Properties
duration
Returns the duration selected through the AlembicStreamPlayer.
Declaration
public override double duration { get; }
Property Value
Type | Description |
---|---|
Double |
Overrides
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. |
Overrides
GatherProperties(PlayableDirector, IPropertyCollector)
Declaration
public void GatherProperties(PlayableDirector director, IPropertyCollector driver)
Parameters
Type | Name | Description |
---|---|---|
PlayableDirector | director | |
IPropertyCollector | driver |
Explicit Interface Implementations
ITimelineClipAsset.clipCaps
Declaration
ClipCaps ITimelineClipAsset.clipCaps { get; }
Returns
Type | Description |
---|---|
ClipCaps |