CinemachineTargetGroup.Target Structure

Cinemachine

CinemachineTargetGroupTarget Structure

Holds the information that represents a member of the group

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
[SerializableAttribute]
[DocumentationSortingAttribute(19.1f, DocumentationSortingAttributeLevel.UserRef)]
public struct Target
JavaScript supports the use of structures, but not the declaration of new ones.

The CinemachineTargetGroupTarget type exposes the following members.

Fields
  NameDescription
Public fieldradius
The radius of the target, used for calculating the bounding box. Cannot be negative
Public fieldtarget
The target objects. This object's position and orientation will contribute to the group's average position and orientation, in accordance with its weight
Public fieldweight
How much weight to give the target when averaging. Cannot be negative
Top
See Also