Entity:TestPVS

From Garry's Mod
Jump to: navigation, search
 Entity:TestPVS( )

Description

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

NOTE The function won't take in to account AddOriginToPVS and the like.

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