Derm.Render.Vertex4f Struct Reference

Homogeneous tridimensional vertex value type (float coordinates). More...

Inheritance diagram for Derm.Render.Vertex4f:
Derm.Render.IVertex4 Derm.Render.IVertex

List of all members.

Public Member Functions

 Vertex4f (float x, float y, float z, float w)
 Vertex3f constructor.
 Vertex4f (float[] v)
 Vertex3f constructor.
System.Type GetBaseType ()
 Get the type of the components of this IVertex.
int GetComponentsCount ()
 Get the number of the components of this Vertex3d.

Static Public Member Functions

static implicit operator float[] (Vertex4f a)
static implicit operator Vertex3f (Vertex4f a)
 Cast to Vertex2f operator.
static Vertex4f operator* (Vertex4f v, Matrix4x4 m)
 Transform vertex using transformation matrix.

Public Attributes

float w
 W coordinate for fourdimensional vertex.
float x
 X coordinate for fourdimensional vertex.
float y
 Y coordinate for fourdimensional vertex.
float z
 Z coordinate for fourdimensional vertex.

Properties

float this [int idx] [get, set]
 Vertex components indexer (cast to sbyte to float).

Detailed Description

Homogeneous tridimensional vertex value type (float coordinates).


Constructor & Destructor Documentation

Derm.Render.Vertex4f.Vertex4f ( float[]  v  ) 

Vertex3f constructor.

Parameters:
v A System.Single
Derm.Render.Vertex4f.Vertex4f ( float  x,
float  y,
float  z,
float  w 
)

Vertex3f constructor.

Parameters:
x A System.Single
y A System.Single

Member Function Documentation

System.Type Derm.Render.Vertex4f.GetBaseType (  ) 

Get the type of the components of this IVertex.

Returns:
A System.Type

Implements Derm.Render.IVertex.

int Derm.Render.Vertex4f.GetComponentsCount (  ) 

Get the number of the components of this Vertex3d.

Returns:
It returns 3. A System.Int32

Implements Derm.Render.IVertex.

static implicit Derm.Render.Vertex4f.operator float[] ( Vertex4f  a  )  [static]
Parameters:
a 
Returns:
static implicit Derm.Render.Vertex4f.operator Vertex3f ( Vertex4f  a  )  [static]

Cast to Vertex2f operator.

Parameters:
a A Vertex3f
Returns:
A Vertex2f
static Vertex4f Derm.Render.Vertex4f.operator* ( Vertex4f  v,
Matrix4x4  m 
) [static]

Transform vertex using transformation matrix.

Parameters:
v1 A Vertex4f representing the vertex to be transformed.
m A Matrix4x4 representing the transformation matrix.
Returns:
It returns a Vertex4f which represents the transformed vertex.

Member Data Documentation

W coordinate for fourdimensional vertex.

X coordinate for fourdimensional vertex.

Y coordinate for fourdimensional vertex.

Z coordinate for fourdimensional vertex.


Property Documentation

float Derm.Render.Vertex4f.this[int idx] [get, set]

Vertex components indexer (cast to sbyte to float).

Parameters:
idx A System.Int32

Implements Derm.Render.IVertex.



Services powered by Get Deus Ex Render Machina at SourceForge.net. Fast, secure and Free Open Source software downloads