Class MarsVideoPlayableBehaviour
Inherited Members
PlayableBehaviour.Clone()
Namespace: Unity.MARS.Data.Recorded
Assembly: Unity.MARS.dll
Syntax
[MovedFrom("Unity.MARS.Recording")]
public class MarsVideoPlayableBehaviour : PlayableBehaviour, IPlayableBehaviour, ICloneable
Methods
OnPlayableDestroy(Playable)
This function is called when the Playable that owns the PlayableBehaviour is destroyed.
Declaration
public override void OnPlayableDestroy(Playable playable)
Parameters
Type | Name | Description |
---|---|---|
Playable | playable | The Playable that owns the current PlayableBehaviour. |
Overrides
PrepareFrame(Playable, FrameData)
This function is called during the PrepareFrame phase of the PlayableGraph.
Declaration
public override void PrepareFrame(Playable playable, FrameData info)
Parameters
Type | Name | Description |
---|---|---|
Playable | playable | The Playable that owns the current PlayableBehaviour. |
FrameData | info | A FrameData structure that contains information about the current frame context. |