static bool Handle(string id, Pose& pose, Bounds handle, bool drawHandle, UIMove moveType)
This begins and ends a handle so you can just use its grabbable/moveable functionality! Behaves much like a window, except with a more flexible handle, and no header. You can draw the handle, but it will have no text on it. Returns true for every frame the user is grabbing the handle.
|string id||An id for tracking element state. MUST be unique within current hierarchy.|
|Pose& pose||The pose state for the handle! The user will be able to grab this handle and move it around. The pose is relative to the current hierarchy stack.|
|Bounds handle||Size and location of the handle, relative to the pose.|
|bool drawHandle||Should this function draw the handle for you, or will you draw that yourself?|
|UIMove moveType||Describes how the handle will move when dragged around.|
|RETURNS: bool||Returns true for every frame the user is grabbing the handle.|
Found an issue with these docs, or have some additional questions? Create an Issue on Github!