Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
PreviewRenderAttributes Interface Reference
Inheritance diagram for PreviewRenderAttributes:
[legend]

Public Member Functions

proto external void RotateItemCamera (vector deltaRotation, vector limitMin, vector limitMax)
 Add the rotation to the current rotation of the camera used for previewing.
 
proto external void ResetDeltaRotation ()
 Reset the camera to it's initial rotation.
 
proto external void ZoomCamera (float zoomIncrement, float minFOV=25.0, float maxFOV=120.0)
 Add FOV to the current camera.
 

Member Function Documentation

◆ ResetDeltaRotation()

proto external void PreviewRenderAttributes.ResetDeltaRotation ( )

Reset the camera to it's initial rotation.

◆ RotateItemCamera()

proto external void PreviewRenderAttributes.RotateItemCamera ( vector  deltaRotation,
vector  limitMin,
vector  limitMax 
)

Add the rotation to the current rotation of the camera used for previewing.

Parameters
deltaRotationThe rotation that should be added in degrees
limitMinMinimum limit of the X axis of the camera
limitMaxMaximum limit of the Y axis of the camera

◆ ZoomCamera()

proto external void PreviewRenderAttributes.ZoomCamera ( float  zoomIncrement,
float  minFOV = 25.0,
float  maxFOV = 120.0 
)

Add FOV to the current camera.

Parameters
zoomIncrementThe increment needed
minFOVMinimum FOV
maxFOVMaximum FOV

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