![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| Shape | AddBBox (vector min, vector max, int colour=DEFAULT_SHAPE_COLOUR, ShapeFlags additionalFlags=0) |
| Shape | AddLine (vector from, vector to, int colour=DEFAULT_SHAPE_COLOUR, ShapeFlags additionalFlags=0) |
| Shape | AddPolyLine (notnull array< vector > points, int colour=DEFAULT_SHAPE_COLOUR) |
| Shape | AddArrow (vector from, vector to, float customSize=0, int colour=DEFAULT_SHAPE_COLOUR, ShapeFlags additionalFlags=0) |
| Shape | AddCircleXZ (vector centre, float radius, int colour=DEFAULT_SHAPE_COLOUR) |
| Shape | AddCircleArcXZ (vector centre, float angleStartRad, float coveredAngleRad, float radius, int colour=DEFAULT_SHAPE_COLOUR) |
| Shape | AddCircleSliceXZ (vector centre, float angleStartRad, float coveredAngleRad, float radius, int colour=DEFAULT_SHAPE_COLOUR) |
| Shape | AddRectangle (vector origin, vector vectorDir, float length, float width, int colour=DEFAULT_SHAPE_COLOUR) |
| Shape | AddAABBRectangleXZ (vector min, vector max, int colour=DEFAULT_SHAPE_COLOUR) |
| Shape | AddRectangleXZ (vector origin, float directionRad, float length, float width, int colour=DEFAULT_SHAPE_COLOUR) |
| array< ref Shape > | AddParallelLines (vector origin, vector vectorDir, float length, float width, int colour=DEFAULT_SHAPE_COLOUR) |
| Shape | AddBounds (notnull array< vector > boundsPositionsWorldSpace, float height, vector upDirection=vector.Up, int colour=DEFAULT_SHAPE_COLOUR, ShapeFlags additionalFlags=0) |
| Shape | AddSphere (vector centre, float radius, int colour=DEFAULT_SHAPE_COLOUR, ShapeFlags additionalFlags=0) |
| Shape | AddTrapezoidalPrism (vector centerOfTopBasePos, vector directionUp, float smallBaseRadius, float largeBaseRadius, float height, int subdivisions=6, int colour=DEFAULT_SHAPE_COLOUR, ShapeFlags additionalFlags=0) |
| DebugTextWorldSpace | AddText (string text, vector worldPos, float size=2.0, int colour=DEFAULT_TEXT_COLOUR, int backgroundColour=DEFAULT_TEXT_BACKGROUND_COLOUR) |
| void | Add (notnull Shape shape) |
| void | Add (notnull DebugTextWorldSpace text) |
| void | Remove (notnull Shape shape) |
| void | Remove (notnull DebugTextWorldSpace text) |
| void | Clear () |
| Remove all stored shapes and texts. | |
| void | ClearShapes () |
| Remove all stored shapes. | |
| void | ClearTexts () |
| Remove all stored texts. | |
Protected Attributes | |
| ref set< ref Shape > | m_Shapes = new set<ref Shape>() |
| ref set< ref DebugTextWorldSpace > | m_ScreenSpaceTexts = new set<ref DebugTextWorldSpace>() |
Static Protected Attributes | |
| static const int | DEFAULT_SHAPE_COLOUR = Color.RED |
| static const ShapeFlags | DEFAULT_SHAPE_FLAGS = ShapeFlags.NOZBUFFER | ShapeFlags.TRANSP |
| static const int | DEFAULT_TEXT_COLOUR = Color.WHITE |
| static const int | DEFAULT_TEXT_BACKGROUND_COLOUR = 0x88000000 |
| static const DebugTextFlags | DEFAULT_TEXT_FLAGS = DebugTextFlags.CENTER | DebugTextFlags.FACE_CAMERA | DebugTextFlags.IN_WORLD |
Definition at line 1 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Add an external text to be held by the manager
| [in] | text |
Definition at line 424 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Add an external shape to be held by the manager
| [in] | shape |
Definition at line 416 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Create an axis-aligned horizontal rectangle
| [in] | min | |
| [in] | max | |
| [in] | colour | the shape's colour |
Definition at line 193 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Create an arrow
| [in] | from | arrow's origin |
| [in] | to | arrrow's destination, the pointy thing |
| [in] | customSize | if set above zero arrow will use this value instead of 1/3 of arrow length - for a relative width, use vector.Distance(from, to) * wantedRatio |
| [in] | colour | the shape's colour |
| [in] | additionalFlags | additional Shape flags |
Definition at line 75 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Create an axis-aligned bounding box
| [in] | min | |
| [in] | max | |
| [in] | colour | the shape's colour |
| [in] | additionalFlags | additional Shape flags |
Definition at line 20 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Method used to create a boundary shape
| [in] | boundsPositionsWorldSpace | list points defining the base of the boundary |
| [in] | height | of the walls |
| [in] | upDirection | |
| [in] | colour | |
| [in] | additionalFlags |
Definition at line 265 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Create a horizontal arc (portion of a circle)
| [in] | centre | |
| [in] | angleStartRad | counter-clockwise radians |
| [in] | coveredAngleRad | counter-clockwise radians - can be negative |
| [in] | radius | |
| [in] | colour | the shape's colour |
Definition at line 106 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Create a horizontal circle slice
| [in] | centre | |
| [in] | angleStartRad | counter-clockwise radians |
| [in] | coveredAngleRad | counter-clockwise radians |
| [in] | radius | |
| [in] | colour | the shape's colour |
Definition at line 135 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Create a horizontal circle
| [in] | centre | |
| [in] | radius | |
| [in] | colour | the shape's colour |
Definition at line 91 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Create a straight line
| [in] | from | origin |
| [in] | to | destination |
| [in] | colour | the shape's colour |
| [in] | additionalFlags | additional Shape flags |
Definition at line 34 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Create two parallel lines on the left and on the right of the provided virtual line
| [in] | origin | |
| [in] | vectorDir | can be non-normalised |
| [in] | length | |
| [in] | width | |
| [in] | colour | the shape's colour |
Definition at line 242 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Create a polyline
| [in] | points | from 2 up to 50 points (array will be clipped) |
| [in] | colour | the shape's colour |
Definition at line 47 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Create a rectangle
| [in] | origin | |
| [in] | vectorDir | |
| [in] | length | |
| [in] | width | |
| [in] | colour | the shape's colour |
Definition at line 165 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Create a horizontal rectangle
| [in] | origin | |
| [in] | directionRad | in counter-clockwise radians |
| [in] | length | |
| [in] | width | |
| [in] | colour | the shape's colour |
Definition at line 214 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Create a sphere
| [in] | centre | world position of the sphere's centre |
| [in] | radius | radius in metres |
| [in] | colour | the shape's colour |
| [in] | additionalFlags | additional Shape flags |
Definition at line 305 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Create a world space debug text label
| [in] | text | |
| [in] | worldPos | |
| [in] | size | in metres |
| [in] | colour | |
| [in] | backgroundColour |
Definition at line 387 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Create a trapezoidal prism
| [in] | centerOfTopBasePos | position in worldspace that is the center of the smaller (top) base |
| [in] | directionUp | normalized direction in worldspace that points toward larger (bottom) base |
| [in] | smallBaseRadius | |
| [in] | largeBaseRadius | |
| [in] | height | distance between smaller (top) base and center of larger (bottom) base |
| [in] | subdivisions | min 2, max 50 (will be clamped if needed) |
| [in] | colour | the shape's colour |
| [in] | additionalFlags | additional Shape flags |
Definition at line 322 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Remove all stored shapes and texts.
Definition at line 447 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Remove all stored shapes.
Definition at line 455 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Remove all stored texts.
Definition at line 462 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Remove the provided text, if managed
| [in] | shape |
Definition at line 440 of file SCR_DebugShapeManager.c.
|
inlineprotected |
Remove the provided shape, if managed
| [in] | shape |
Definition at line 432 of file SCR_DebugShapeManager.c.
|
staticprotected |
Definition at line 6 of file SCR_DebugShapeManager.c.
|
staticprotected |
Definition at line 7 of file SCR_DebugShapeManager.c.
|
staticprotected |
Definition at line 10 of file SCR_DebugShapeManager.c.
|
staticprotected |
Definition at line 9 of file SCR_DebugShapeManager.c.
|
staticprotected |
Definition at line 11 of file SCR_DebugShapeManager.c.
|
protected |
Definition at line 4 of file SCR_DebugShapeManager.c.
Definition at line 3 of file SCR_DebugShapeManager.c.