CinemachineTrackedDolly.AutoDolly Structure

Cinemachine

CinemachineTrackedDollyAutoDolly Structure

Controls how automatic dollying occurs

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

The CinemachineTrackedDollyAutoDolly type exposes the following members.

Constructors
  NameDescription
Public methodCinemachineTrackedDollyAutoDolly
Constructor with specific field values
Top
Fields
  NameDescription
Public fieldm_Enabled
If checked, will enable automatic dolly, which chooses a path position that is as close as possible to the Follow target.
Public fieldm_PositionOffset
Offset, in current position units, from the closest point on the path to the follow target.
Public fieldm_SearchRadius
Search up to how many waypoints on either side of the current position. Use 0 for Entire path
Public fieldm_SearchResolution
We search between waypoints by dividing the segment into this many straight pieces. The higher the number, the more accurate the result, but performance is proportionally slower for higher numbers
Top
See Also