Microsoft.Xna.Framework.Vector2.Vector2 C# (CSharp) Метод

Vector2() публичный Метод

Creates a new instance of Vector2.
public Vector2 ( float value ) : System
value float Value to initialize both components to.
Результат System
        public Vector2(float value)
        {
            this.Y = value;
            this.X = value;
        }
        /// <summary>Retrieves a string representation of the current object.</summary>

Same methods

Vector2::Vector2 ( float x, float y ) : System