Part of Trace&Visibility API
Object that handles visibility on GPU. Used for coronas etc.
proto private void ~OcclusionQuery()
proto native int GetResult()
return Query result
Returns: -1 result is not ready yet, try it later. >0 point is visible ==0 point is not visible
proto native void SetPosition(vector pos)
Sets world position
proto native void Destroy()
Destroys the object
Class.member