The interface to render visual aids in the editor. Implemented by Components. Can be used on its own to draw and pick visual aids independent of a scene graph.

interface Gizmo {
    node?: Node;
    drawGizmos?(_cmpCamera?, _picking?): void;
    drawGizmosSelected?(_cmpCamera?): void;
}

Implemented by

Properties

node?: Node

Methods

  • Implement this to draw visual aids inside the editors render view. Use Gizmos inside the override to draw stuff.

    Parameters

    Returns void