Class CinemachineShot
Internal use only. Not part of the public API.
Inherited Members
Namespace: Global Namespace
Assembly: Cinemachine.dll
Syntax
public sealed class CinemachineShot : PlayableAsset, IPlayableAsset, IPropertyPreview
Fields
DisplayName
The name to display on the track
Declaration
public string DisplayName
Field Value
Type | Description |
---|---|
string |
VirtualCamera
The virtual camera to activate
Declaration
public ExposedReference<CinemachineVirtualCameraBase> VirtualCamera
Field Value
Type | Description |
---|---|
Exposed |
Methods
CreatePlayable(PlayableGraph, GameObject)
Implement this method to have your asset inject playables into the given graph.
Declaration
public override Playable CreatePlayable(PlayableGraph graph, GameObject owner)
Parameters
Type | Name | Description |
---|---|---|
Playable |
graph | The graph to inject playables into. |
Game |
owner | The game object which initiated the build. |
Returns
Type | Description |
---|---|
Playable | The playable injected into the graph, or the root playable if multiple playables are injected. |
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 |