drawwirecube - eisclimber/ExPresS-XR GitHub Wiki

GizmoUtils.DrawWireCube(Vector3,Vector3,Transform,string,string)

Method in GizmoUtils

Summary

Draws a wire cube with the given size.

public static void DrawWireCube(Vector3 centerPos, Vector3 size, Transform atTransform = null, string minLabel = "", string maxLabel = "")

Parameters

Name Description
UnityEngine.Vector3 centerPos Center position of the cube.
UnityEngine.Vector3 size Size of the cube.
UnityEngine.Transform atTransform Transform context to draw the gizmo.
string minLabel Optional label displayed at the min position.
string maxLabel Optional label displayed at the max position.
⚠️ **GitHub.com Fallback** ⚠️