DayZ 1.24
Loading...
Searching...
No Matches
Selection Class Reference

Selection class. More...

Private Member Functions

void Selection ()
 
void ~Selection ()
 
proto native owned string GetName ()
 
proto native int GetVertexCount ()
 
proto native int GetLODVertexIndex (int sel_vertex_index)
 
vector GetVertexPosition (LOD lod, int index)
 

Detailed Description

Selection class.

Definition at line 178 of file gameplay.c.

Constructor & Destructor Documentation

◆ Selection()

void Selection::Selection ( )
inlineprivate

Definition at line 180 of file gameplay.c.

180{}

◆ ~Selection()

void Selection::~Selection ( )
inlineprivate

Definition at line 181 of file gameplay.c.

181{}

Member Function Documentation

◆ GetLODVertexIndex()

proto native int Selection::GetLODVertexIndex ( int sel_vertex_index)
private

Referenced by GetVertexPosition().

◆ GetName()

proto native owned string Selection::GetName ( )
private

◆ GetVertexCount()

proto native int Selection::GetVertexCount ( )
private

◆ GetVertexPosition()

vector Selection::GetVertexPosition ( LOD lod,
int index )
inlineprivate

Definition at line 187 of file gameplay.c.

188 {
190 if (lodIndex == -1)
191 {
192 Error("Vertex doesn't exist");
193 return vector.Zero;
194 }
195
196 return lod.GetVertexPosition(lodIndex);
197 }
proto native int GetLODVertexIndex(int sel_vertex_index)
static const vector Zero
Definition EnConvert.c:110
void Error(string err)
Messagebox with error message.
Definition EnDebug.c:90

References Error(), GetLODVertexIndex(), and vector::Zero.


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