Garry's Mod Wiki

Entity:TestPVS

boolean Entity:TestPVS( any testPoint )

Description

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

See also Entity:IsDormant.

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

Arguments

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

Returns

1 boolean
True if the testPoint is within our PVS.

Page Links


Special Pages


Wikis

?

Render Time: 45ms

DB GetPage 5
Generate Html 12
SaveChanges (1) 11
Render Body 0
Render Sidebar 14