Revision Difference
ents.FindInPVS#563542
<function name="FindInPVS" parent="ents" type="libraryfunc">
	<description>
Finds all entities that lie within a [PVS (Potential Visibility Set)](https://developer.valvesoftware.com/wiki/PVS "PVS - Valve Developer Community").
<note>The function won't take in to account <page>Global.AddOriginToPVS</page> and the like.</note>
	</description>
	<realm>Server</realm>
	<args>
		<arg name="viewPoint" type="any"><page>Entity</page> or <page>Vector</page> to find entities within the PVS of. If a player is given, this function will use the player's view entity.</arg>
		<arg name="viewPoint" type="Entity|Vector"><page>Entity</page> or <page>Vector</page> to find entities within the PVS of. If a player is given, this function will use the player's view entity.</arg>
	</args>
	<rets>
		<ret name="" type="table">The found <page>Entity</page>s.</ret>
		<ret name="" type="table<Entity>">The found <page>Entity</page>s.</ret>
	</rets>
</function>
 Garry's Mod
			Garry's Mod 
		 Rust
			Rust 
		 Steamworks
			Steamworks 
		 Wiki Help
			Wiki Help