IGizmoDrawer
- Namespace: Turian.Engine.Core
- Source File: IGizmoDrawer.cs
Draws gizmos for a specific component type. Implementations are discovered by the editor through GizmoDrawerCatalog and invoked for every gizmo-capable component of the selected node (or in the scene, when the editor is in "all gizmos" mode). Implementations may live in user assemblies: apply [CustomGizmo] to register a drawer for a component type.
Public Methods
DrawGizmos
void DrawGizmos(Gizmos gizmos, Component component)
Invoked every frame for each matching component. Draw into gizmos.
Parameters:
gizmos(Gizmos)component(Component)