Class CinemachineHardLookAt
This is a CinemachineComponent in the Aim section of the component pipeline. Its job is to aim the camera hard at the LookAt target.
Inheritance
CinemachineHardLookAt
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
[AddComponentMenu("Cinemachine/Procedural/Rotation Control/Cinemachine Hard Look At")]
[DisallowMultipleComponent]
[CameraPipeline(CinemachineCore.Stage.Aim)]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.cinemachine@3.0/manual/CinemachineHardLookAt.html")]
public class CinemachineHardLookAt : CinemachineComponentBase
Fields
Name | Description |
---|---|
LookAtOffset | Offset from the LookAt target's origin, in target's local space. The camera will look at this point. |
Properties
Name | Description |
---|---|
IsValid | True if component is enabled and has a LookAt defined |
Stage | Get the Cinemachine Pipeline stage that this component implements. Always returns the Aim stage |
Methods
Name | Description |
---|---|
MutateCameraState(ref CameraState, float) | Applies the composer rules and orients the camera accordingly |