mirror of https://github.com/ppy/osu
Add xmldoc for LogoTrackingPosition
This commit is contained in:
parent
15b2b6af7d
commit
e89143d76b
|
@ -55,6 +55,12 @@ public void SetLogo(OsuLogo logo, float facadeScale = 1.0f, double duration = 0,
|
|||
startPosition = null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the position that the logo should move to with respect to the <see cref="LogoFacade"/>.
|
||||
/// Manually performs a conversion of the Facade's position to the relative position of the Logo's Parent.
|
||||
/// </summary>
|
||||
/// <remarks>Will only be correct if the logo's <see cref="Drawable.RelativePositionAxes"/> are set to Axes.Both</remarks>
|
||||
/// <returns>The position that the logo should move to in its parent's relative space.</returns>
|
||||
protected Vector2 LogoTrackingPosition()
|
||||
{
|
||||
Vector2 local;
|
||||
|
|
Loading…
Reference in New Issue