Struct CameraTarget
Structure for holding the procedural motion targets for a CinemachineCamera. The main TrackingTarget is used by default for all object tracking. Optionally, a second LookAt target can be provided to make the camera follow one object while pointing at another.
Inherited Members
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
[Serializable]
public struct CameraTarget
Fields
Name | Description |
---|---|
CustomLookAtTarget | If false, TrackingTarget will be used for all object tracking. |
LookAtTarget | Optional secondary object for the camera to look at |
TrackingTarget | Object for the camera to follow |