Refactor focusing on selection logic in Editor

This commit is contained in:
Wojtek Figat
2021-05-28 15:51:28 +02:00
parent e41dfe738b
commit 845198ebe3
9 changed files with 62 additions and 34 deletions

View File

@@ -27,6 +27,11 @@ namespace FlaxEditor.Gizmo
/// </summary>
public virtual bool IsControllingMouse => false;
/// <summary>
/// Gets the custom world-space bounds for current gizmo mode focus for used (eg. selected object part bounds). Returns <see cref="BoundingSphere.Empty"/> if not used.
/// </summary>
public virtual BoundingSphere FocusBounds => BoundingSphere.Empty;
/// <summary>
/// Initializes a new instance of the <see cref="GizmoBase"/> class.
/// </summary>