Interface IEntityGizmo
An interface creating and managing an editor gizmo for a particular EntityComponent
public interface IEntityGizmo : IGizmo, IDisposable
- Inherited Members
- Extension Methods
Remarks
The implementer must have a GizmoComponentAttribute attach and the constructor of said class must have exactly one argument of the type of component specified in the attribute.
Fields
PickingRenderGroup
Render group used for scene picking, set your model to use this render group when you want mouse selection to work on your models
public const RenderGroup PickingRenderGroup = Group0
Field Value
Remarks
Your HandlesComponentId(OpaqueComponentId, out Entity) takes care of confirming to the engine that the picked component is yours
Properties
IsSelected
Gets or sets the selected state of the gizmo.
bool IsSelected { get; set; }
Property Value
Methods
Update()
Updates the gizmo state.
void Update()