Table of Contents

Struct Vector2

Namespace
System.Numerics
Assembly
MonoGame.Framework.dll

This is a dummy Vector2 type for platforms where System.Numerics.Vectors is not supported or available

public struct Vector2
Inherited Members

Constructors

Vector2(float, float)

Creates a vector with the specified values.

public Vector2(float x, float y)

Parameters

x float

The value assigned to the X field.

y float

The value assigned to the Y field.

Fields

X

The X component of the vector.

public float X

Field Value

float

Y

The Y component of the vector.

public float Y

Field Value

float
latest ▼