CinemachineOrbitalTransposer.Recentering Structure

Cinemachine

CinemachineOrbitalTransposerRecentering Structure

Controls how automatic orbit recentering occurs

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

The CinemachineOrbitalTransposerRecentering type exposes the following members.

Methods
  NameDescription
Public methodValidate
Call this from OnValidate()
Top
Fields
  NameDescription
Public fieldm_enabled
If checked, will enable automatic recentering of the camera based on the heading calculation mode. If FALSE, recenting is disabled.
Public fieldm_RecenteringTime
Maximum angular speed of recentering. Will accelerate into and decelerate out of this
Public fieldm_RecenterWaitTime
If no input has been detected, the camera will wait this long in seconds before moving its heading to the default heading.
Top
See Also