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

Public Member Functions

override bool _WB_OnKeyChanged (BaseContainer src, string key, BaseContainerList ownerContainers, IEntity parent)
 
void SCR_ShapeAnalyserEntity (IEntitySource src, IEntity parent)
 

Protected Member Functions

override void OnShapeChangedInternal (IEntitySource shapeEntitySrc, ShapeEntity shapeEntity, array< vector > mins, array< vector > maxes)
 
void Process (notnull IEntitySource shapeEntitySrc, notnull ShapeEntity shapeEntity)
 
void DrawDebugShapes (notnull SCR_ShapeAnalyser shapeAnalyser)
 
void AddDebugLine (vector pointA, vector pointB, bool isImportant=false)
 
void DrawErrorShapes (notnull SCR_ShapeAnalyser shapeAnalyser)
 
void PrintDebugInfo (notnull SCR_ShapeAnalyser shapeAnalyser)
 

Protected Attributes

bool m_bDrawErrors
 
float m_fMaxAngle
 
float m_fMaxSlope
 
bool m_bDrawDebugShapes
 
bool m_bPrintDebugInfo
 

Static Protected Attributes

static ref array< ref Shape > s_aErrorShapes
 
static ref array< ref Shape > s_aDebugShapes
 
static const int ERROR_SHAPE_ANGLE_ARRAY_LENGTH = 50
 
static const float ERROR_SHAPE_ANGLE_CHECK_LENGTH = 10.0
 see m_fMaxAngle description
 
static float SLOPE_ERROR_SHAPE_LENGTH = 30.0
 
static float ANGLE_ERROR_LINE_LENGTH = 5.0
 
static vector NORMAL_POINT_LINE_VECTOR = "0 20 0"
 
static float NORMAL_POINT_LINE_HAT_SIZE = 1.0
 
static vector TESSELATED_POINT_LINE_VECTOR = "0 10 0"
 
static vector MIDDLE_POINT_LINE_VECTOR = "0 15 0"
 
static int ERROR_SHAPE_COLOUR = Color.RED
 
static int DEBUG_SHAPE_COLOUR = Color.MAGENTA
 
static int DEBUG_SHAPE_COLOUR_IMPORTANT = Color.DARK_RED
 
static ShapeFlags DEBUG_SHAPE_FLAGS = ShapeFlags.NOZBUFFER
 
static ShapeFlags DEBUG_SHAPE_FLAGS_SPHERE = ShapeFlags.NOOUTLINE | ShapeFlags.TRANSP
 
static int DEBUG_SHAPE_COLOUR_ALPHA = 0x66000000
 

Constructor & Destructor Documentation

◆ SCR_ShapeAnalyserEntity()

void SCR_ShapeAnalyserEntity.SCR_ShapeAnalyserEntity ( IEntitySource  src,
IEntity  parent 
)
Parameters
[in]src
[in]parent

Member Function Documentation

◆ _WB_OnKeyChanged()

override bool SCR_ShapeAnalyserEntity._WB_OnKeyChanged ( BaseContainer  src,
string  key,
BaseContainerList  ownerContainers,
IEntity  parent 
)

◆ AddDebugLine()

void SCR_ShapeAnalyserEntity.AddDebugLine ( vector  pointA,
vector  pointB,
bool  isImportant = false 
)
protected

◆ DrawDebugShapes()

void SCR_ShapeAnalyserEntity.DrawDebugShapes ( notnull SCR_ShapeAnalyser  shapeAnalyser)
protected

◆ DrawErrorShapes()

void SCR_ShapeAnalyserEntity.DrawErrorShapes ( notnull SCR_ShapeAnalyser  shapeAnalyser)
protected

◆ OnShapeChangedInternal()

override void SCR_ShapeAnalyserEntity.OnShapeChangedInternal ( IEntitySource  shapeEntitySrc,
ShapeEntity  shapeEntity,
array< vector >  mins,
array< vector >  maxes 
)
protected

◆ PrintDebugInfo()

void SCR_ShapeAnalyserEntity.PrintDebugInfo ( notnull SCR_ShapeAnalyser  shapeAnalyser)
protected

◆ Process()

void SCR_ShapeAnalyserEntity.Process ( notnull IEntitySource  shapeEntitySrc,
notnull ShapeEntity  shapeEntity 
)
protected

Member Data Documentation

◆ ANGLE_ERROR_LINE_LENGTH

float SCR_ShapeAnalyserEntity.ANGLE_ERROR_LINE_LENGTH = 5.0
staticprotected

◆ DEBUG_SHAPE_COLOUR

int SCR_ShapeAnalyserEntity.DEBUG_SHAPE_COLOUR = Color.MAGENTA
staticprotected

◆ DEBUG_SHAPE_COLOUR_ALPHA

int SCR_ShapeAnalyserEntity.DEBUG_SHAPE_COLOUR_ALPHA = 0x66000000
staticprotected

◆ DEBUG_SHAPE_COLOUR_IMPORTANT

int SCR_ShapeAnalyserEntity.DEBUG_SHAPE_COLOUR_IMPORTANT = Color.DARK_RED
staticprotected

◆ DEBUG_SHAPE_FLAGS

ShapeFlags SCR_ShapeAnalyserEntity.DEBUG_SHAPE_FLAGS = ShapeFlags.NOZBUFFER
staticprotected

◆ DEBUG_SHAPE_FLAGS_SPHERE

ShapeFlags SCR_ShapeAnalyserEntity.DEBUG_SHAPE_FLAGS_SPHERE = ShapeFlags.NOOUTLINE | ShapeFlags.TRANSP
staticprotected

◆ ERROR_SHAPE_ANGLE_ARRAY_LENGTH

const int SCR_ShapeAnalyserEntity.ERROR_SHAPE_ANGLE_ARRAY_LENGTH = 50
staticprotected

◆ ERROR_SHAPE_ANGLE_CHECK_LENGTH

const float SCR_ShapeAnalyserEntity.ERROR_SHAPE_ANGLE_CHECK_LENGTH = 10.0
staticprotected

see m_fMaxAngle description

◆ ERROR_SHAPE_COLOUR

int SCR_ShapeAnalyserEntity.ERROR_SHAPE_COLOUR = Color.RED
staticprotected

◆ m_bDrawDebugShapes

bool SCR_ShapeAnalyserEntity.m_bDrawDebugShapes
protected

◆ m_bDrawErrors

bool SCR_ShapeAnalyserEntity.m_bDrawErrors
protected

◆ m_bPrintDebugInfo

bool SCR_ShapeAnalyserEntity.m_bPrintDebugInfo
protected

◆ m_fMaxAngle

float SCR_ShapeAnalyserEntity.m_fMaxAngle
protected

◆ m_fMaxSlope

float SCR_ShapeAnalyserEntity.m_fMaxSlope
protected

◆ MIDDLE_POINT_LINE_VECTOR

vector SCR_ShapeAnalyserEntity.MIDDLE_POINT_LINE_VECTOR = "0 15 0"
staticprotected

◆ NORMAL_POINT_LINE_HAT_SIZE

float SCR_ShapeAnalyserEntity.NORMAL_POINT_LINE_HAT_SIZE = 1.0
staticprotected

◆ NORMAL_POINT_LINE_VECTOR

vector SCR_ShapeAnalyserEntity.NORMAL_POINT_LINE_VECTOR = "0 20 0"
staticprotected

◆ s_aDebugShapes

ref array<ref Shape> SCR_ShapeAnalyserEntity.s_aDebugShapes
staticprotected

◆ s_aErrorShapes

ref array<ref Shape> SCR_ShapeAnalyserEntity.s_aErrorShapes
staticprotected

◆ SLOPE_ERROR_SHAPE_LENGTH

float SCR_ShapeAnalyserEntity.SLOPE_ERROR_SHAPE_LENGTH = 30.0
staticprotected

◆ TESSELATED_POINT_LINE_VECTOR

vector SCR_ShapeAnalyserEntity.TESSELATED_POINT_LINE_VECTOR = "0 10 0"
staticprotected

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