![]() |
Paradox Game Engine
v1.0.0 beta06
|
Describes a custom vertex format structure that contains position as a Vector2. More...
Public Member Functions | |
VertexPosition2 (Vector2 position) | |
Initializes a new VertexPositionTexture instance. More... | |
bool | Equals (VertexPosition2 other) |
override bool | Equals (object obj) |
override int | GetHashCode () |
override string | ToString () |
Static Public Member Functions | |
static bool | operator== (VertexPosition2 left, VertexPosition2 right) |
static bool | operator!= (VertexPosition2 left, VertexPosition2 right) |
Public Attributes | |
Vector2 | Position |
XY position. More... | |
Static Public Attributes | |
static readonly int | Size = 8 |
Defines structure byte size. More... | |
static readonly VertexDeclaration | Layout = new VertexDeclaration(VertexElement.Position<Vector2>()) |
The vertex layout of this struct. More... | |
Describes a custom vertex format structure that contains position as a Vector2.
Definition at line 14 of file VertexPosition2.cs.
SiliconStudio.Paradox.Graphics.VertexPosition2.VertexPosition2 | ( | Vector2 | position | ) |
Initializes a new VertexPositionTexture instance.
position | The position of this vertex. |
Definition at line 20 of file VertexPosition2.cs.
bool SiliconStudio.Paradox.Graphics.VertexPosition2.Equals | ( | VertexPosition2 | other | ) |
Definition at line 41 of file VertexPosition2.cs.
override bool SiliconStudio.Paradox.Graphics.VertexPosition2.Equals | ( | object | obj | ) |
Definition at line 46 of file VertexPosition2.cs.
override int SiliconStudio.Paradox.Graphics.VertexPosition2.GetHashCode | ( | ) |
Definition at line 52 of file VertexPosition2.cs.
|
static |
Definition at line 65 of file VertexPosition2.cs.
|
static |
Definition at line 60 of file VertexPosition2.cs.
override string SiliconStudio.Paradox.Graphics.VertexPosition2.ToString | ( | ) |
Definition at line 70 of file VertexPosition2.cs.
|
static |
The vertex layout of this struct.
Definition at line 39 of file VertexPosition2.cs.
Vector2 SiliconStudio.Paradox.Graphics.VertexPosition2.Position |
XY position.
Definition at line 29 of file VertexPosition2.cs.
|
static |
Defines structure byte size.
Definition at line 34 of file VertexPosition2.cs.