mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Give control over screen space conversion to DrawableHitObject
This commit is contained in:
@ -42,12 +42,12 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The local point that causes this <see cref="DrawableHitObject"/> to be selected in the Editor.
|
||||
/// The screen-space point that causes this <see cref="DrawableHitObject"/> to be selected in the Editor.
|
||||
/// </summary>
|
||||
public virtual Vector2 SelectionPoint => DrawSize / 2f;
|
||||
public virtual Vector2 SelectionPoint => ScreenSpaceDrawQuad.Centre;
|
||||
|
||||
/// <summary>
|
||||
/// The local rectangle that outlines this <see cref="DrawableHitObject"/> for selections in the Editor.
|
||||
/// The screen-space quad that outlines this <see cref="DrawableHitObject"/> for selections in the Editor.
|
||||
/// </summary>
|
||||
public virtual Quad SelectionQuad => ScreenSpaceDrawQuad;
|
||||
}
|
||||
|
Reference in New Issue
Block a user