CinemachineVirtualCameraBase.ParentCamera Property

Cinemachine

CinemachineVirtualCameraBaseParentCamera Property

Support for meta-virtual-cameras. This is the situation where a virtual camera is in fact the public face of a private army of virtual cameras, which it manages on its own. This method gets the VirtualCamera owner, if any. Private armies are implemented as Transform children of the parent vcam.

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public ICinemachineCamera ParentCamera { get; }
function get_ParentCamera();

Property Value

Type: ICinemachineCamera

Implements

ICinemachineCameraParentCamera
See Also