Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
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 210 of file DebugShapes.c.

◆ CreateCircle()

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

Definition at line 91 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 127 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 173 of file DebugShapes.c.

◆ CreateCone()

Shape CreateCone ( vector pos,
vector aroundDir,
float coneAngX,
float coneAngY,
float coneLength,
int color,
int subdivisions,
ShapeFlags flags )
Parameters
[in]posposition in worldspace
[in]aroundDirnormalized direction in worldsapce towards the base
[in]coneAngXangle on its local X axis
[in]coneAngYangle on its local Y axis
[in]coneLengthlength of the sides (not height of the cone - for round base you can use coneLength = coneHeight / Math.Cos(coneAngleInRadians))
[in]color
[in]subdivisions
[in]flags

Definition at line 38 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 244 of file DebugShapes.c.

◆ ShowBoneDebug()

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

Definition at line 7 of file DebugShapes.c.