drawlabel 1 - eisclimber/ExPresS-XR GitHub Wiki

GizmoUtils.DrawLabel(string,Vector3,Transform)

Method in GizmoUtils

Summary

Draws a text at a position if it is not empty. Defaults to white text with size 11 and text anchor at the top left.

public static void DrawLabel(string text, Vector3 position, Transform atTransform = null)

Parameters

Name Description
string text Text to be displayed.
UnityEngine.Vector3 position Position to draw at.
UnityEngine.Transform atTransform Transform context to draw the gizmo.
⚠️ **GitHub.com Fallback** ⚠️