Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
UnitDisplayComponent.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_UnitDisplayComponentClass
 

Functions

override void EOnFrame (IEntity owner, float timeSlice)
 
override void OnPostInit (IEntity owner)
 Called on PostInit when all components are added. More...
 
void SCR_UnitDisplayComponent (IEntityComponentSource src, IEntity ent, IEntity parent)
 

Variables

SCR_UnitDisplayComponentClass m_FactionAffiliatonComponent
 
private DamageManagerComponent m_DamageManagerComponent
 
private ref Shape m_Shape = null
 
private ref Shape m_ShapeHealth = null
 
private ref Shape m_ShapeHealthBackground = null
 
private float m_DistanceToCamera = 0.0
 
private vector m_Position = vector.Zero
 
private IEntity m_Entity = null
 

Function Documentation

◆ EOnFrame()

override void EOnFrame ( IEntity  owner,
float  timeSlice 
)

Draw a debug shape every frame

Parameters
[in]owner
[in]timeSlice

Definition at line 24 of file UnitDisplayComponent.c.

◆ SCR_UnitDisplayComponent()

void SCR_UnitDisplayComponent ( IEntityComponentSource  src,
IEntity  ent,
IEntity  parent 
)
Parameters
[in]src
[in]ent
[in]parent

Definition at line 182 of file UnitDisplayComponent.c.

Variable Documentation

◆ m_DamageManagerComponent

private DamageManagerComponent m_DamageManagerComponent

Definition at line 9 of file UnitDisplayComponent.c.

◆ m_DistanceToCamera

private float m_DistanceToCamera = 0.0

Definition at line 14 of file UnitDisplayComponent.c.

◆ m_Entity

private IEntity m_Entity = null

Definition at line 18 of file UnitDisplayComponent.c.

◆ m_FactionAffiliatonComponent

SCR_UnitDisplayComponentClass m_FactionAffiliatonComponent

◆ m_Position

private vector m_Position = vector.Zero

Definition at line 17 of file UnitDisplayComponent.c.

◆ m_Shape

private ref Shape m_Shape = null

Definition at line 11 of file UnitDisplayComponent.c.

◆ m_ShapeHealth

private ref Shape m_ShapeHealth = null

Definition at line 12 of file UnitDisplayComponent.c.

◆ m_ShapeHealthBackground

private ref Shape m_ShapeHealthBackground = null

Definition at line 13 of file UnitDisplayComponent.c.