Native referenceRedMclient

DRAW_GIZMO

0xEB2EDCA2 CFX
FUNCTION SIGNATURE
BOOL DRAW_GIZMO(long matrixPtr, char* id);
Property Value
Native Name DRAW_GIZMO
Hash 0xEB2EDCA2
Return Type BOOL
API Set client
Parameters matrixPtr (long), id (char*)

Description: Draws a gizmo. This function supports SDK infrastructure and is not intended to be used directly from your code.

This should be used from JavaScript or another language supporting mutable buffers like ArrayBuffer.

Matrix layout is as follows:

  • Element [0], [1] and [2] should represent the right vector.
  • Element [4], [5] and [6] should represent the forward vector.
  • Element [8], [9] and [10] should represent the up vector.
  • Element [12], [13] and [14] should represent X, Y and Z translation coordinates.
  • All other elements should be [0, 0, 0, 1].

Parameters

  • matrixPtr (long) — A mutable pointer to a 64-byte buffer of floating-point values, representing an XMFLOAT4X4 in layout.
  • id (char*) — A unique identifier of what the gizmo is affecting.
Back to CFX