Class ShotPlayer
A component that plays shots stored in a Shot
Inherited Members
Namespace: Unity.LiveCapture
Assembly: Unity.LiveCapture.dll
Syntax
[ExecuteAlways]
[RequireComponent(typeof(PlayableDirector))]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.live-capture@4.0/manual/ref-component-shot-player.html")]
[DisallowMultipleComponent]
public class ShotPlayer : MonoBehaviour
Remarks
This component allows you to select a shot and prepares its PlayableDirector component with the according TimelineAsset. You can then review the take by playing the PlayableDirector or by using the Timeline window.
Properties
Selection
The index of the selected shot to preview.
Declaration
public int Selection { get; set; }
Property Value
Type | Description |
---|---|
int |
ShotLibrary
The Shot
Declaration
public ShotLibrary ShotLibrary { get; set; }
Property Value
Type | Description |
---|---|
Shot |