Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches

Functions

void ~OcclusionQuery ()
proto native void Destroy ()
 Destroys the object.
proto native float GetOceanHeight (float worldX, float worldZ)
 Get water ocean height at given point.
proto native vector GetOceanHeightAndDisplace (float worldX, float worldZ)
 Get water ocean height and displacement at given point, returns vector(displaceX, height, displaceZ).
proto native int GetResult ()
 return Query result
proto native bool IsOcean ()
 Is ocean availabled.
proto native void SetPosition (vector pos)
 Sets world position.

Variables

int Content
int Content
vector End
IEntity Exclude
TraceFlags Flags
float Fraction
float Fraction
int LayerMask = 0xffffffff
vector Mat [3]
int MaterialFlags
int MaterialFlags
owned string MaterialName
owned string MaterialName
vector Maxs
vector Mins
owned string OriginalMaterialName
owned string OriginalMaterialName
float Plane [4]
float Plane [4]
vector Point
vector Point
float Radius
vector Start
int SurfaceID
int SurfaceID
int Surfparm
int Surfparm
int Triangle
int Triangle

Detailed Description

Function Documentation

◆ ~OcclusionQuery()

void ~OcclusionQuery ( )
private

◆ Destroy()

proto native void Destroy ( )
private

Destroys the object.

◆ GetOceanHeight()

proto native float GetOceanHeight ( float worldX,
float worldZ )

Get water ocean height at given point.

Parameters
worldXworld x position
worldZworld z position

◆ GetOceanHeightAndDisplace()

proto native vector GetOceanHeightAndDisplace ( float worldX,
float worldZ )

Get water ocean height and displacement at given point, returns vector(displaceX, height, displaceZ).

Parameters
worldXworld x position
worldZworld z position

◆ GetResult()

proto native int GetResult ( )
private

return Query result

Returns
-1 result is not ready yet, try it later. >0 point is visible ==0 point is not visible

◆ IsOcean()

proto native bool IsOcean ( )

Is ocean availabled.

◆ SetPosition()

proto native void SetPosition ( vector pos)
private

Sets world position.

Variable Documentation

◆ Content [1/2]

int Content

Definition at line 1 of file enworld.c.

◆ Content [2/2]

int Content
private

Definition at line 200 of file enworld.c.

◆ End

vector End
private

Definition at line 218 of file enworld.c.

◆ Exclude

IEntity Exclude
private

Definition at line 221 of file enworld.c.

◆ Flags

TraceFlags Flags
private

Definition at line 220 of file enworld.c.

◆ Fraction [1/2]

float Fraction

Definition at line 0 of file enworld.c.

◆ Fraction [2/2]

float Fraction
private

Definition at line 199 of file enworld.c.

◆ LayerMask

int LayerMask = 0xffffffff
private

Definition at line 219 of file enworld.c.

◆ Mat

vector Mat[3]
private

Definition at line 238 of file enworld.c.

◆ MaterialFlags [1/2]

int MaterialFlags

Definition at line 3 of file enworld.c.

◆ MaterialFlags [2/2]

int MaterialFlags
private

Definition at line 202 of file enworld.c.

◆ MaterialName [1/2]

owned string MaterialName

Definition at line 6 of file enworld.c.

◆ MaterialName [2/2]

owned string MaterialName
private

Definition at line 205 of file enworld.c.

◆ Maxs

vector Maxs
private

Definition at line 233 of file enworld.c.

◆ Mins

vector Mins
private

Definition at line 232 of file enworld.c.

◆ OriginalMaterialName [1/2]

owned string OriginalMaterialName

Definition at line 7 of file enworld.c.

◆ OriginalMaterialName [2/2]

owned string OriginalMaterialName
private

Definition at line 206 of file enworld.c.

◆ Plane [1/2]

float Plane[4]

Definition at line 8 of file enworld.c.

◆ Plane [2/2]

float Plane[4]
private

Definition at line 207 of file enworld.c.

◆ Point [1/2]

vector Point

Definition at line 9 of file enworld.c.

◆ Point [2/2]

vector Point
private

Definition at line 208 of file enworld.c.

◆ Radius

float Radius
private

Definition at line 227 of file enworld.c.

◆ Start

vector Start
private

Definition at line 217 of file enworld.c.

◆ SurfaceID [1/2]

int SurfaceID

Definition at line 5 of file enworld.c.

◆ SurfaceID [2/2]

int SurfaceID
private

Definition at line 204 of file enworld.c.

◆ Surfparm [1/2]

int Surfparm

Definition at line 2 of file enworld.c.

◆ Surfparm [2/2]

int Surfparm
private

Definition at line 201 of file enworld.c.

◆ Triangle [1/2]

int Triangle
private

Definition at line 203 of file enworld.c.

◆ Triangle [2/2]

int Triangle

Definition at line 4 of file enworld.c.