Entity/TestPVS

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Description=Check if the given position or entity is within this entity's PVS. |Realm=Server |IsClass=Yes }} {{Arg |type=any |name=testPoint |desc={{Type|Entity}} or {...")
 
m
Line 1: Line 1:
 
{{Func
 
{{Func
 
|Description=Check if the given position or entity is within this entity's PVS.
 
|Description=Check if the given position or entity is within this entity's PVS.
 +
 +
{{NextUpdate}}
 
|Realm=Server
 
|Realm=Server
 
|IsClass=Yes
 
|IsClass=Yes

Revision as of 17:33, 25 March 2016

 Entity:TestPVS( )

Description

Check if the given position or entity is within this entity's PVS.


Next Update Change

This feature is only available in the next update.

Arguments

any testPoint

Entity or Vector to test against. If an entity is given, this function will test using its bounding box.

Returns

boolean

True if the testPoint is within our PVS.
Personal tools
Navigation