Entity/TestPVS

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
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 18:57, 28 April 2016

 Entity:TestPVS( )

Description

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

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