ShoulderLean

Inherits from CameraModifier<T>

Declaration

public sealed class ShoulderLean : CameraModifier<ShoulderLeanSettings>

Description

Handles tilting the camera to the left or right to lean around corners.

Properties

directionThe current lean direction in the range [-1..1] (Read only).
snappedDirectionThe current lean direction snapped to the nearest increment in the range [-1..1] (Read only).
Inherited

Properties

settingsThe settings for the behavior.
enabledEnables or disables the behavior from being updated.
controllerThe camera controller handling the module.
registeredWhether the module has been registered to a controller.
idThe unique identifier of the camera module.