AimPunch

Inherits from CameraEffect<T>
Implements ICameraEffect

Declaration

public sealed class AimPunch : CameraEffect<AimPunchSettings, AimPunchProfile>, ICameraEffect

Description

Quickly "punches" the camera's rotation in one direction then resets to the resting position. This is often used to indicate the player was hit by an object or attack.

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.