docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ICinemachineTargetGroup

    Interface representing something that can be used as a vcam target.
    It has a transform, a bounding box, and a bounding sphere.

    Namespace: Unity.Cinemachine
    Assembly: solution.dll
    Syntax
    public interface ICinemachineTargetGroup

    Properties

    Name Description
    BoundingBox

    The axis-aligned bounding box of the group, computed using the targets positions and radii

    IsEmpty

    Returns true if the group has no non-zero-weight members

    IsValid

    Returns true if object has not been deleted.

    Sphere

    The bounding sphere of the group, computed using the targets positions and radii

    Transform

    Get the MonoBehaviour's Transform

    Methods

    Name Description
    GetViewSpaceAngularBounds(Matrix4x4, out Vector2, out Vector2, out Vector2)

    Get the local-space angular bounds of the group, from a specific point of view. Also returns the z depth range of the members. Members behind the observer (negative z) will be ignored.

    GetViewSpaceBoundingBox(Matrix4x4, bool)

    The axis-aligned bounding box of the group, in a specific reference frame

    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)