DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ GetVertexPosition()

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

См. определение в файле gameplay.c строка 188

189 {
190 int lodIndex = GetLODVertexIndex(index);
191 if (lodIndex == -1)
192 {
193 Error("Vertex doesn't exist");
194 return vector.Zero;
195 }
196
197 return lod.GetVertexPosition(lodIndex);
198 }
proto native vector GetVertexPosition(int vertex_index)
proto native int GetLODVertexIndex(int sel_vertex_index)
void Error(string err)
Messagebox with error message.
Определения EnDebug.c:90

Перекрестные ссылки Error(), GetLODVertexIndex(), LOD::GetVertexPosition() и vector::Zero.

Используется в OnVariablesSynchronized().