Interface IGizmo
The base interface for editor gizmos
public interface IGizmo : IDisposable
- Inherited Members
- Extension Methods
Properties
IsEnabled
Gets or sets the enabled state of the gizmo.
bool IsEnabled { get; set; }
Property Value
SizeFactor
Gets or sets the size scale factor of the gizmo.
float SizeFactor { get; set; }
Property Value
Methods
HandlesComponentId(OpaqueComponentId, out Entity)
Used for picking gizmos on mouse down, returns true when that component was created by this gizmo
bool HandlesComponentId(OpaqueComponentId pickedComponentId, out Entity selection)
Parameters
pickedComponentId
OpaqueComponentIdselection
Entity
Returns
Initialize(IServiceRegistry, Scene)
Initialize the gizmo.
void Initialize(IServiceRegistry services, Scene editorScene)
Parameters
services
IServiceRegistryeditorScene
Scene