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

Разделы

 Diag menu API definition
 

Перечисления

enum  ShapeType {
  BBOX , LINE , SPHERE , CYLINDER ,
  DIAMOND , PYRAMID
}
 
enum  ShapeFlags {
  NOZBUFFER , NOZWRITE , WIREFRAME , TRANSP ,
  DOUBLESIDE , ONCE , NOOUTLINE , BACKFACE ,
  NOCULL , VISIBLE , ADDITIVE
}
 
enum  CollisionFlags
 

Функции

proto native void GetMatrix (out vector mat[4])
 
proto native void SetMatrix (vector mat[4])
 
proto native void SetDirection (vector direction)
 
proto native void SetPosition (vector position)
 Set the world position of the Effect.
 
proto native void SetColor (int color)
 
proto native void SetFlags (ShapeFlags flags)
 
proto native void Destroy ()
 Cleans up the Effect, including unregistering if needed.
 
static proto native Shape Create (ShapeType type, int color, ShapeFlags flags, vector p1, vector p2)
 
static proto native Shape CreateLines (int color, ShapeFlags flags, vector p[], int num)
 
static proto native Shape CreateTris (int color, ShapeFlags flags, vector p[], int num)
 
static proto native Shape CreateSphere (int color, ShapeFlags flags, vector origin, float radius)
 
static proto native Shape CreateFrustum (float horizontalAngle, float verticalAngle, float length, int color, ShapeFlags flags)
 
static proto native Shape CreateCylinder (int color, ShapeFlags flags, vector origin, float radius, float length)
 
static Shape CreateArrow (vector from, vector to, float size, int color, ShapeFlags flags)
 
static Shape CreateBridgeArrow (vector from, vector to, float size, int color, ShapeFlags flags)
 
static void CreateMatrix (vector mat[4])
 

Переменные

enum ShapeType ErrorEx
 

Destroy

Methods regarding automatic cleanup

void SetAutodestroy (bool auto_destroy)
 Sets whether Effect automatically cleans up when it stops.
 
bool IsAutodestroy ()
 Get whether Effect automatically cleans up when it stops.
 
bool IsPendingDeletion ()
 Get whether the Effect is queued up for being cleaned up.
 
bool CanDestroy ()
 Get whether the Effect can be destroyed right now.
 
void SetEnableEventFrame (bool enable)
 Enable Event_OnFrameUpdate for the effect.
 

Подробное описание