CustomGizmoAttribute

  • Namespace: Turian
  • Source File: CustomGizmoAttribute.cs

Registers a gizmo drawer (an IGizmoDrawer implementation) for a component type. The drawer is invoked by the editor every frame while the component is visible in the Scene View.

Remarks

The attribute is available to user code so plugins can define custom gizmos without any editor project dependency (only the engine is referenced).

Properties

DrawerType

(Type) = drawerType: The IGizmoDrawer implementation to invoke.

ComponentType

(Type) = componentType: The component type the drawer applies to.