Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Graphics.VertexPosition2 Struct Reference

Describes a custom vertex format structure that contains position as a Vector2. More...

Inheritance diagram for SiliconStudio.Paradox.Graphics.VertexPosition2:
IEquatable< VertexPosition2 >

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...
 

Detailed Description

Describes a custom vertex format structure that contains position as a Vector2.

Definition at line 14 of file VertexPosition2.cs.

Constructor & Destructor Documentation

SiliconStudio.Paradox.Graphics.VertexPosition2.VertexPosition2 ( Vector2  position)

Initializes a new VertexPositionTexture instance.

Parameters
positionThe position of this vertex.

Definition at line 20 of file VertexPosition2.cs.

Member Function Documentation

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 bool SiliconStudio.Paradox.Graphics.VertexPosition2.operator!= ( VertexPosition2  left,
VertexPosition2  right 
)
static

Definition at line 65 of file VertexPosition2.cs.

static bool SiliconStudio.Paradox.Graphics.VertexPosition2.operator== ( VertexPosition2  left,
VertexPosition2  right 
)
static

Definition at line 60 of file VertexPosition2.cs.

override string SiliconStudio.Paradox.Graphics.VertexPosition2.ToString ( )

Definition at line 70 of file VertexPosition2.cs.

Member Data Documentation

readonly VertexDeclaration SiliconStudio.Paradox.Graphics.VertexPosition2.Layout = new VertexDeclaration(VertexElement.Position<Vector2>())
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.

readonly int SiliconStudio.Paradox.Graphics.VertexPosition2.Size = 8
static

Defines structure byte size.

Definition at line 34 of file VertexPosition2.cs.


The documentation for this struct was generated from the following file: