Skip to content

YaUIGraph

YaUIGraph adjusts the graph in the UI.

Functions

void SetColor(string color)

CLIENT ONLY 
Sets the color of the graph.

YaEntity SetNativeObject(YaEntity entity)

CLIENT ONLY 
Shows the 3D effects or meshes in UI.

void SetPlayerAvatarToUI(float2 position, [number yRotation], [number scale])

CLIENT ONLY 
Draws the local player's avatar in the UI.
  • position position
  • yRotation y-axis rotation. default value is 180
  • scale default is 300

void DoDispose()

CLIENT ONLY 
Disposes of the graph.