Microsoft.Xna.Framework.Vector2.ToString C# (CSharp) 메소드

ToString() 공개 메소드

Retrieves a string representation of the current object.
public ToString ( ) : string
리턴 string
        public override string ToString()
        {
            CultureInfo currentCulture = CultureInfo.CurrentCulture;
            return string.Format(currentCulture, "{{X:{0} Y:{1}}}", new object[]
			{
				this.X.ToString(currentCulture),
				this.Y.ToString(currentCulture)
			});
        }
        /// <summary>Determines whether the specified Object is equal to the Vector2.</summary>