Class AlembicShotAsset
Clip representing the playback range of an Alembic asset.
Inherited Members
Namespace: UnityEngine .Formats.Alembic.Timeline
Assembly: Unity.Formats.Alembic.Runtime.dll
Syntax
public class AlembicShotAsset : PlayableAsset, IPlayableAsset, ITimelineClipAsset, IPropertyPreview
Properties
StreamPlayer
The AlembicStreamPlayer to play.
Declaration
public ExposedReference<AlembicStreamPlayer> StreamPlayer { get; set; }
Property Value
Type | Description |
---|---|
Exposed |
duration
Returns the duration selected through the AlembicStreamPlayer.
Declaration
public override double duration { get; }
Property Value
Type | Description |
---|---|
double |
Overrides
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 |
---|---|---|
Playable |
graph | The Playable Graph. |
Game |
owner | The GameObject containing the PlayableDirector. |
Returns
Type | Description |
---|---|
Playable | The playable that drives the AlembicStreamPlayer. |
Overrides
GatherProperties(PlayableDirector, IPropertyCollector)
Called by the Timeline Editor to gather properties requiring preview.
Declaration
public void GatherProperties(PlayableDirector director, IPropertyCollector driver)
Parameters
Type | Name | Description |
---|---|---|
Playable |
director | The PlayableDirector invoking the preview |
IProperty |
driver | PropertyCollector used to gather previewable properties |