docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    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.
    If true, then LookAtTarget is used for rotation tracking and TrackingTarget is used only for position tracking.

    LookAtTarget

    Optional secondary object for the camera to look at

    TrackingTarget

    Object for the camera to follow

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)