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

Protected Member Functions

override void DisplayStartDraw (IEntity owner)
override void DisplayStopDraw (IEntity owner)
override void DisplayUpdate (IEntity owner, float timeSlice)
void UpdatePosition ()
bool IsInLineOfSight (vector point, vector transform[4])
void FadeOutPulse (WidgetAnimationOpacity anim)
void FadeOutPulseDelayed ()
void DeleteWidget (WidgetAnimationOpacity anim=null)
void HideWidget (bool deleteWidget=false)
void HandleVisualizationDuration ()
bool GetWorldToScreenPosition (BaseWorld world, vector worldPosition, out float posX, out float posY, int cameraIndex=-1)
void VisualizeCommand (vector targetPosition, SCR_BaseGroupCommand command)
void SetCanUpdatePosition (bool canUpdate)
void SetIsPreview (bool isPreview)

Protected Attributes

float m_fCommandVisualRange
ref Curve m_aScaleCurve
string m_sCommandFrameWidgetName
string m_sCommandIconWidgetName
string m_sCommandGlowWidgetName
string m_sCommandPulseWidgetName
string m_sCommandPulsePreviewWidgetName
float m_fCommandIconWidgetSize
float m_fCommandGlowWidgetSize
float m_fCommandPulsePreviewWidgetSize
bool m_bCanUpdate
bool m_bCanUpdatePosition
bool m_bIsPreview
float m_fDistance
vector m_vCommandPosition
WorkspaceWidget m_wWorkspace
Widget m_wCommandFrameWidget
ImageWidget m_wCommandIconWidget
ImageWidget m_wCommandGlowWidget
ImageWidget m_wCommandPulseWidget
ImageWidget m_wCommandPulsePreviewWidget
ref SCR_PhysicsHelper m_PhysicsHelper
SCR_ECommandVisualizationDuration m_eCommandVisualizationDuration
ref TraceParam m_TraceParam

Static Protected Attributes

static const int PULSE_WIDGET_MAX_SIZE = 70
static const float BASE_FOV = 100
static const float LINE_OF_SIGHT_THRESHOLD = 0.25

Detailed Description

Definition at line 1 of file SCR_PlacedCommandInfoDisplay.c.

Member Function Documentation

◆ DeleteWidget()

void SCR_PlacedCommandInfoDisplay::DeleteWidget ( WidgetAnimationOpacity anim = null)
inlineprotected

Definition at line 251 of file SCR_PlacedCommandInfoDisplay.c.

◆ DisplayStartDraw()

override void SCR_PlacedCommandInfoDisplay::DisplayStartDraw ( IEntity owner)
inlineprotected

Definition at line 60 of file SCR_PlacedCommandInfoDisplay.c.

◆ DisplayStopDraw()

override void SCR_PlacedCommandInfoDisplay::DisplayStopDraw ( IEntity owner)
inlineprotected

Definition at line 81 of file SCR_PlacedCommandInfoDisplay.c.

◆ DisplayUpdate()

override void SCR_PlacedCommandInfoDisplay::DisplayUpdate ( IEntity owner,
float timeSlice )
inlineprotected

Definition at line 88 of file SCR_PlacedCommandInfoDisplay.c.

◆ FadeOutPulse()

void SCR_PlacedCommandInfoDisplay::FadeOutPulse ( WidgetAnimationOpacity anim)
inlineprotected

Definition at line 236 of file SCR_PlacedCommandInfoDisplay.c.

◆ FadeOutPulseDelayed()

void SCR_PlacedCommandInfoDisplay::FadeOutPulseDelayed ( )
inlineprotected

Definition at line 245 of file SCR_PlacedCommandInfoDisplay.c.

◆ GetWorldToScreenPosition()

bool SCR_PlacedCommandInfoDisplay::GetWorldToScreenPosition ( BaseWorld world,
vector worldPosition,
out float posX,
out float posY,
int cameraIndex = -1 )
inlineprotected

Recalculates worldPosition to screen space.

Parameters
[in]world
[in]worldPosition
[out]posXX Position on the screen
[out]posYY Position on the screen
[in]intCamera thats being used

Definition at line 285 of file SCR_PlacedCommandInfoDisplay.c.

◆ HandleVisualizationDuration()

void SCR_PlacedCommandInfoDisplay::HandleVisualizationDuration ( )
inlineprotected

Definition at line 271 of file SCR_PlacedCommandInfoDisplay.c.

◆ HideWidget()

void SCR_PlacedCommandInfoDisplay::HideWidget ( bool deleteWidget = false)
inlineprotected

Definition at line 261 of file SCR_PlacedCommandInfoDisplay.c.

◆ IsInLineOfSight()

bool SCR_PlacedCommandInfoDisplay::IsInLineOfSight ( vector point,
vector transform[4] )
inlineprotected

Performs a dot product check against threshold whether point is in line of sight of provided transformation.

Parameters
[in]vectorpoint Point to perform check for
Returns
true if is in line of sight, flase otherwise

Definition at line 227 of file SCR_PlacedCommandInfoDisplay.c.

◆ SetCanUpdatePosition()

void SCR_PlacedCommandInfoDisplay::SetCanUpdatePosition ( bool canUpdate)
inlineprotected

Definition at line 340 of file SCR_PlacedCommandInfoDisplay.c.

◆ SetIsPreview()

void SCR_PlacedCommandInfoDisplay::SetIsPreview ( bool isPreview)
inlineprotected

Definition at line 346 of file SCR_PlacedCommandInfoDisplay.c.

◆ UpdatePosition()

void SCR_PlacedCommandInfoDisplay::UpdatePosition ( )
inlineprotected

Definition at line 171 of file SCR_PlacedCommandInfoDisplay.c.

◆ VisualizeCommand()

void SCR_PlacedCommandInfoDisplay::VisualizeCommand ( vector targetPosition,
SCR_BaseGroupCommand command )
inlineprotected

Initializes the visualization of the provided command

Parameters
[in]targetPosition
[in]command

Definition at line 298 of file SCR_PlacedCommandInfoDisplay.c.

Member Data Documentation

◆ BASE_FOV

const float SCR_PlacedCommandInfoDisplay::BASE_FOV = 100
staticprotected

Definition at line 56 of file SCR_PlacedCommandInfoDisplay.c.

◆ LINE_OF_SIGHT_THRESHOLD

const float SCR_PlacedCommandInfoDisplay::LINE_OF_SIGHT_THRESHOLD = 0.25
staticprotected

Definition at line 57 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_aScaleCurve

ref Curve SCR_PlacedCommandInfoDisplay::m_aScaleCurve
protected

Definition at line 7 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_bCanUpdate

bool SCR_PlacedCommandInfoDisplay::m_bCanUpdate
protected

Definition at line 33 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_bCanUpdatePosition

bool SCR_PlacedCommandInfoDisplay::m_bCanUpdatePosition
protected

Definition at line 34 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_bIsPreview

bool SCR_PlacedCommandInfoDisplay::m_bIsPreview
protected

Definition at line 35 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_eCommandVisualizationDuration

SCR_ECommandVisualizationDuration SCR_PlacedCommandInfoDisplay::m_eCommandVisualizationDuration
protected

Definition at line 50 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_fCommandGlowWidgetSize

float SCR_PlacedCommandInfoDisplay::m_fCommandGlowWidgetSize
protected

Definition at line 28 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_fCommandIconWidgetSize

float SCR_PlacedCommandInfoDisplay::m_fCommandIconWidgetSize
protected

Definition at line 25 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_fCommandPulsePreviewWidgetSize

float SCR_PlacedCommandInfoDisplay::m_fCommandPulsePreviewWidgetSize
protected

Definition at line 31 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_fCommandVisualRange

float SCR_PlacedCommandInfoDisplay::m_fCommandVisualRange
protected

Definition at line 4 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_fDistance

float SCR_PlacedCommandInfoDisplay::m_fDistance
protected

Definition at line 37 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_PhysicsHelper

ref SCR_PhysicsHelper SCR_PlacedCommandInfoDisplay::m_PhysicsHelper
protected

Definition at line 48 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_sCommandFrameWidgetName

string SCR_PlacedCommandInfoDisplay::m_sCommandFrameWidgetName
protected

Definition at line 10 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_sCommandGlowWidgetName

string SCR_PlacedCommandInfoDisplay::m_sCommandGlowWidgetName
protected

Definition at line 16 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_sCommandIconWidgetName

string SCR_PlacedCommandInfoDisplay::m_sCommandIconWidgetName
protected

Definition at line 13 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_sCommandPulsePreviewWidgetName

string SCR_PlacedCommandInfoDisplay::m_sCommandPulsePreviewWidgetName
protected

Definition at line 22 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_sCommandPulseWidgetName

string SCR_PlacedCommandInfoDisplay::m_sCommandPulseWidgetName
protected

Definition at line 19 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_TraceParam

ref TraceParam SCR_PlacedCommandInfoDisplay::m_TraceParam
protected

Definition at line 52 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_vCommandPosition

vector SCR_PlacedCommandInfoDisplay::m_vCommandPosition
protected

Definition at line 39 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_wCommandFrameWidget

Widget SCR_PlacedCommandInfoDisplay::m_wCommandFrameWidget
protected

Definition at line 42 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_wCommandGlowWidget

ImageWidget SCR_PlacedCommandInfoDisplay::m_wCommandGlowWidget
protected

Definition at line 44 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_wCommandIconWidget

ImageWidget SCR_PlacedCommandInfoDisplay::m_wCommandIconWidget
protected

Definition at line 43 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_wCommandPulsePreviewWidget

ImageWidget SCR_PlacedCommandInfoDisplay::m_wCommandPulsePreviewWidget
protected

Definition at line 46 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_wCommandPulseWidget

ImageWidget SCR_PlacedCommandInfoDisplay::m_wCommandPulseWidget
protected

Definition at line 45 of file SCR_PlacedCommandInfoDisplay.c.

◆ m_wWorkspace

WorkspaceWidget SCR_PlacedCommandInfoDisplay::m_wWorkspace
protected

Definition at line 40 of file SCR_PlacedCommandInfoDisplay.c.

◆ PULSE_WIDGET_MAX_SIZE

const int SCR_PlacedCommandInfoDisplay::PULSE_WIDGET_MAX_SIZE = 70
staticprotected

Definition at line 54 of file SCR_PlacedCommandInfoDisplay.c.


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