GizmoRenderSystem

GizmoRenderSystem

Renders transform gizmos

Constructor

new GizmoRenderSystem()

Properties:
Name Type Description
doRender boolean

Only render if set to true

Methods

show(gizmoAnchorEntity, selections)

Display or hide the gizmo

Parameters:
Name Type Description
gizmoAnchorEntity Entity

Blank entity providing a transform to which gizmo renderables will
be attached, and on which transform updates are calculated.

selections Array.<Entity>

Selected entities that have no ancestors selected.