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(float3 position, [number yRotation], [number scale])¶
CLIENT ONLY
Draws the local player's avatar in the UI.
position
positionyRotation
y-axis rotation. default value is 180scale
default is 300
void DoDispose()¶
CLIENT ONLY
Disposes of the graph.