Table of Contents

Interface IGizmo

Namespace
Stride.Engine.Gizmos
Assembly
Stride.Engine.dll

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

bool

SizeFactor

Gets or sets the size scale factor of the gizmo.

float SizeFactor { get; set; }

Property Value

float

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 OpaqueComponentId
selection Entity

Returns

bool

Initialize(IServiceRegistry, Scene)

Initialize the gizmo.

void Initialize(IServiceRegistry services, Scene editorScene)

Parameters

services IServiceRegistry
editorScene Scene