Class CinemachineShot
Internal use only. Not part of the public API.
Inherited Members
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, InstantiateParameters)
Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
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 |
---|---|
ExposedReference<CinemachineVirtualCameraBase> |
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 |
---|---|---|
PlayableGraph | graph | The graph to inject playables into. |
GameObject | 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)
Declaration
public void GatherProperties(PlayableDirector director, IPropertyCollector driver)
Parameters
Type | Name | Description |
---|---|---|
PlayableDirector | director | |
IPropertyCollector | driver |
Implements
UnityEngine.Timeline.IPropertyPreview