Add xmldoc for LogoTrackingPosition

This commit is contained in:
David Zhao 2019-04-04 12:07:11 +09:00
parent 15b2b6af7d
commit e89143d76b
1 changed files with 6 additions and 0 deletions

View File

@ -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;