Space Engineers
Classes | Public Member Functions | Properties | List of all members
VRageRender.Utils.MyPolygon Class Reference

Classes

struct  LoopIterator
 
struct  Vertex
 

Public Member Functions

 MyPolygon (Plane polygonPlane)
 
void Transform (ref Matrix transformationMatrix)
 
LoopIterator GetLoopIterator (int loopIndex)
 
int GetLoopStart (int loopIndex)
 
void GetVertex (int vertexIndex, out Vertex v)
 
void GetXExtents (out float minX, out float maxX)
 
void AddLoop (List< Vector3 > loop)
 
void Clear ()
 
void DebugDraw (ref MatrixD drawMatrix)
 

Properties

int VertexCount [get]
 
int LoopCount [get]
 
Plane PolygonPlane [get]
 

Detailed Description

Definition at line 8 of file MyPolygon.cs.

Constructor & Destructor Documentation

VRageRender.Utils.MyPolygon.MyPolygon ( Plane  polygonPlane)
inline

Definition at line 86 of file MyPolygon.cs.

Member Function Documentation

void VRageRender.Utils.MyPolygon.AddLoop ( List< Vector3 loop)
inline

Definition at line 131 of file MyPolygon.cs.

void VRageRender.Utils.MyPolygon.Clear ( )
inline

Definition at line 153 of file MyPolygon.cs.

void VRageRender.Utils.MyPolygon.DebugDraw ( ref MatrixD  drawMatrix)
inline

Definition at line 159 of file MyPolygon.cs.

LoopIterator VRageRender.Utils.MyPolygon.GetLoopIterator ( int  loopIndex)
inline

Definition at line 103 of file MyPolygon.cs.

int VRageRender.Utils.MyPolygon.GetLoopStart ( int  loopIndex)
inline

Definition at line 108 of file MyPolygon.cs.

void VRageRender.Utils.MyPolygon.GetVertex ( int  vertexIndex,
out Vertex  v 
)
inline

Definition at line 113 of file MyPolygon.cs.

void VRageRender.Utils.MyPolygon.GetXExtents ( out float  minX,
out float  maxX 
)
inline

Definition at line 118 of file MyPolygon.cs.

void VRageRender.Utils.MyPolygon.Transform ( ref Matrix  transformationMatrix)
inline

Definition at line 93 of file MyPolygon.cs.

Property Documentation

int VRageRender.Utils.MyPolygon.LoopCount
get

Definition at line 70 of file MyPolygon.cs.

Plane VRageRender.Utils.MyPolygon.PolygonPlane
get

Definition at line 79 of file MyPolygon.cs.

int VRageRender.Utils.MyPolygon.VertexCount
get

Definition at line 61 of file MyPolygon.cs.


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