1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

Add xmldoc for LogoTrackingPosition

This commit is contained in:
David Zhao 2019-04-04 12:07:11 +09:00
parent 15b2b6af7d
commit e89143d76b

View File

@ -55,6 +55,12 @@ namespace osu.Game.Graphics.Containers
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;