Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SCR_VehicleCameraAlignment Interface Reference

Enables vehicle camera automatic default-direction alignment. More...

Inheritance diagram for SCR_VehicleCameraAlignment:
[legend]

Public Member Functions

bool Update (vector aimChange, vector currentAngles, vector localVelocity, bool isFocus, float timeSlice, out vector newAngles)
 Update the auto alignment object.
 

Detailed Description

Enables vehicle camera automatic default-direction alignment.

Provides multiple parameters of desired values.

Can be added or removed to/from SCR_VehicleCameraDataComponent at will, to enable or disable this camera behaviour.

Member Function Documentation

◆ Update()

bool SCR_VehicleCameraAlignment.Update ( vector  aimChange,
vector  currentAngles,
vector  localVelocity,
bool  isFocus,
float  timeSlice,
out vector  newAngles 
)

Update the auto alignment object.

Returns new rotation in local space as yaw, pitch, roll in degrees.

Parameters
aimChangeThe input change (if any).
currentAnglesCurrent camera local yaw, pitch, roll in degrees.
timeSliceThe time step since last frame
Returns
Returns new local rotation as yaw, pitch, roll in degrees

The documentation for this interface was generated from the following file: