Class RecorderClip
Use this class to manage Recorder Clip Timeline integration.
Namespace: UnityEditor.Recorder.Timeline
Syntax
public class RecorderClip : PlayableAsset, ITimelineClipAsset, ISerializationCallbackReceiver
Fields
settings
Indicates the Recorder Settings instance used for this Clip.
Declaration
public RecorderSettings settings
Field Value
Type | Description |
---|---|
RecorderSettings |
Properties
clipCaps
Unity Recorder does not support any clip features. For more information see: https://docs.unity3d.com/2018.1/Documentation/ScriptReference/Timeline.ClipCaps.html
Declaration
public ClipCaps clipCaps { get; }
Property Value
Type | Description |
---|---|
ClipCaps |
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. |
OnAfterDeserialize()
This is called after the Recorder Clip object has been deserialized. For more information see: https://docs.unity3d.com/ScriptReference/ISerializationCallbackReceiver.OnAfterDeserialize.html
Declaration
public void OnAfterDeserialize()
OnBeforeSerialize()
This is called before the Recorder Clip object is serialized. For more information see: https://docs.unity3d.com/ScriptReference/ISerializationCallbackReceiver.OnBeforeSerialize.html
Declaration
public void OnBeforeSerialize()
OnDestroy()
This is called when the Recorder Clip is being destroyed. For more information see: https://docs.unity3d.com/ScriptReference/ScriptableObject.OnDestroy.html
Declaration
public void OnDestroy()