Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_CameraBase Class Reference
Inheritance diagram for SCR_CameraBase:
SCR_ManualCamera

Protected Member Functions

bool IsInView (vector worldPos, WorkspaceWidget workspace=null)
bool IsInView (vector worldPos, float aspectRatio)

Protected Attributes

bool m_bShowDebugViewCone

Detailed Description

Base class for scripted cameras

Definition at line 9 of file SCR_CameraBase.c.

Member Function Documentation

◆ IsInView() [1/2]

bool SCR_CameraBase::IsInView ( vector worldPos,
float aspectRatio )
inlineprotected

Check if position is in camera view for given aspect ratio.

Parameters
worldPosWorld position
aspectRatioAspect ratio W/H, e.g., 4:3 = 1.333
Returns
True when in view

Definition at line 33 of file SCR_CameraBase.c.

◆ IsInView() [2/2]

bool SCR_CameraBase::IsInView ( vector worldPos,
WorkspaceWidget workspace = null )
inlineprotected

Check if position is in camera view for given workspace.

Parameters
worldPosWorld position
workspaceWorkspace widget
Returns
True when in view

Definition at line 20 of file SCR_CameraBase.c.

Member Data Documentation

◆ m_bShowDebugViewCone

bool SCR_CameraBase::m_bShowDebugViewCone
protected

Definition at line 12 of file SCR_CameraBase.c.


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