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 |