Functions | |
proto private void | ~OcclusionQuery () |
proto native int | GetResult () |
proto native void | SetPosition (vector pos) |
Sets world position. | |
proto native void | Destroy () |
Destroys the object. | |
proto native bool | IsOcean () |
proto native float | GetOceanHeight (float worldX, float worldZ) |
proto native vector | GetOceanHeightAndDisplace (float worldX, float worldZ) |
Variables | |
float | Fraction |
int | Content |
int | Surfparm |
int | MaterialFlags |
int | Triangle |
int | SurfaceID |
owned string | MaterialName |
owned string | OriginalMaterialName |
float | Plane [4] |
vector | Point |
float | Fraction |
int | Content |
int | Surfparm |
int | MaterialFlags |
int | Triangle |
int | SurfaceID |
owned string | MaterialName |
owned string | OriginalMaterialName |
float | Plane [4] |
vector | Point |
vector | Start |
vector | End |
int | LayerMask = 0xffffffff |
TraceFlags | Flags |
IEntity | Exclude |
float | Radius |
vector | Mins |
vector | Maxs |
vector | Mat [3] |
|
private |
Destroys the object.
Get water ocean height at given point
worldX | world x position |
worldZ | world z position |
Get water ocean height and displacement at given point, returns vector(displaceX, height, displaceZ)
worldX | world x position |
worldZ | world z position |
|
private |
return Query result
proto native bool IsOcean | ( | ) |
Is ocean availabled
|
private |
Sets world position.
|
private |
int Content |
|
private |
|
private |
|
private |
|
private |
float Fraction |
|
private |
|
private |
|
private |
int MaterialFlags |
|
private |
owned string MaterialName |
|
private |
|
private |
|
private |
owned string OriginalMaterialName |
|
private |
float Plane[4] |
|
private |
vector Point |
|
private |
|
private |
|
private |
int SurfaceID |
|
private |
int Surfparm |
|
private |
int Triangle |
|
private |