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

Go to the source code of this file.

Functions

void ShowBoneDebug (IEntity ent, int bone, float scale)
 
Shape CreateCone (vector pos, vector aroundDir, float coneAngX, float coneAngY, float coneLength, int color, int subdivisions, ShapeFlags flags)
 
Shape CreateCircle (vector pos, vector aroundDir, float radius, int color, int subdivisions, ShapeFlags flags)
 
Shape CreateCircleArc (vector pos, vector aroundDir, vector forwardDir, float angMin, float angMax, float radius, int color, int subdivisions, ShapeFlags flags)
 
Shape CreateCircleSlice (vector pos, vector aroundDir, vector forwardDir, float angMin, float angMax, float radius, int color, int subdivisions, ShapeFlags flags)
 
void CreateArrowLinkLines (vector from, vector to, vector faceDir, float size, int numArrows, int color, ShapeFlags flags)
 
void CreateSimpleText (string text, vector mat[4], float size, int color, ShapeFlags flags, array< ref Shape > output=null, float scaleWidth=1, bool doBackground=false, int backgroundColor=0x80000000)
 

Function Documentation

◆ CreateArrowLinkLines()

void CreateArrowLinkLines ( vector  from,
vector  to,
vector  faceDir,
float  size,
int  numArrows,
int  color,
ShapeFlags  flags 
)

Definition at line 202 of file DebugShapes.c.

◆ CreateCircle()

Shape CreateCircle ( vector  pos,
vector  aroundDir,
float  radius,
int  color,
int  subdivisions,
ShapeFlags  flags 
)

Definition at line 83 of file DebugShapes.c.

◆ CreateCircleArc()

Shape CreateCircleArc ( vector  pos,
vector  aroundDir,
vector  forwardDir,
float  angMin,
float  angMax,
float  radius,
int  color,
int  subdivisions,
ShapeFlags  flags 
)

Definition at line 119 of file DebugShapes.c.

◆ CreateCircleSlice()

Shape CreateCircleSlice ( vector  pos,
vector  aroundDir,
vector  forwardDir,
float  angMin,
float  angMax,
float  radius,
int  color,
int  subdivisions,
ShapeFlags  flags 
)

if angMin > angMax, a full circle will be drawn - use forwardDir to draw e.g 350deg-10deg arc

Parameters
angMinmin angle in degrees
angMaxmax angle in degrees
radiusin metres

Definition at line 165 of file DebugShapes.c.

◆ CreateCone()

Shape CreateCone ( vector  pos,
vector  aroundDir,
float  coneAngX,
float  coneAngY,
float  coneLength,
int  color,
int  subdivisions,
ShapeFlags  flags 
)

Definition at line 30 of file DebugShapes.c.

◆ CreateSimpleText()

void CreateSimpleText ( string  text,
vector  mat[4],
float  size,
int  color,
ShapeFlags  flags,
array< ref Shape >  output = null,
float  scaleWidth = 1,
bool  doBackground = false,
int  backgroundColor = 0x80000000 
)

Definition at line 236 of file DebugShapes.c.

◆ ShowBoneDebug()

void ShowBoneDebug ( IEntity  ent,
int  bone,
float  scale 
)

Definition at line 7 of file DebugShapes.c.