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.Instantiate(Object, Scene)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
public sealed class CinemachineShot : PlayableAsset, IPlayableAsset, IPropertyPreview
Fields
DisplayName
The name to display on the track. If empty, the CmCamera's name will be used.
Declaration
[Tooltip("The name to display on the track. If empty, the CmCamera's name will be used.")]
public string DisplayName
Field Value
Type | Description |
---|---|
string |
VirtualCamera
The Cinemachine camera to use for this shot
Declaration
[Tooltip("The Cinemachine camera to use for this shot")]
public ExposedReference<CinemachineVirtualCameraBase> VirtualCamera
Field Value
Type | Description |
---|---|
ExposedReference<CinemachineVirtualCameraBase> |
Methods
CreatePlayable(PlayableGraph, GameObject)
PlayableAsset implementation
Declaration
public override Playable CreatePlayable(PlayableGraph graph, GameObject owner)
Parameters
Type | Name | Description |
---|---|---|
PlayableGraph | graph | |
GameObject | owner |
Returns
Type | Description |
---|---|
Playable |
Overrides
GatherProperties(PlayableDirector, IPropertyCollector)
IPropertyPreview implementation
Declaration
public void GatherProperties(PlayableDirector director, IPropertyCollector driver)
Parameters
Type | Name | Description |
---|---|---|
PlayableDirector | director | |
IPropertyCollector | driver |
Implements
UnityEngine.Timeline.IPropertyPreview