core.libraries.thirdparty.niknaks.modules.sh_bsp_pvspas
(no description)
Functions
AddPAS(position)
View source »Adds the position to PAS
Parameters
-
position
Vector
Returns
-
PASObject self
AddPVS(position)
View source »Adds the position to PVS
Parameters
-
position
Vector
Returns
-
self
CreatePAS()
View source »Create PAS from Leaf
Returns
-
PASObject
CreatePAS()
View source »Creates a new empty PAS-object.
Returns
-
PASObject
CreatePVS()
View source »Creates a new empty PVS-object.
Returns
CreatePVS()
View source »Create PVS from Leaf
Returns
GetLeafs()
View source »Returns a list of leafs within this PVS. Note: This is a bit slow.
HasLeaf(leaf)
View source »Returns true if the PVS has the given leaf
Parameters
-
leaf
LeafObject
Returns
-
boolean
HasLeaf(leaf)
View source »Returns true if the PAS has the given leaf
Parameters
-
leaf
LeafObject
Returns
-
boolean
PASCheck(position, position2)
View source »Returns true if the two positions are in same PAS
Parameters
-
position
Vector
-
position2
Vector
Returns
-
boolean
PASForOrigin(position, PAS)
View source »Uses the given ( or creates a new PAS-object ) and adds the position to it.
Parameters
-
position
Vector
-
PAS
optional
Returns
-
optional
PVSCheck(position, position2)
View source »Returns true if the two positions are in same PVS.
Parameters
-
position
Vector
-
position2
Vector
Returns
-
boolean
PVSForOrigin(position, PVS)
View source »Uses the given ( or creates a new PVS-object ) and adds the position to it.
Parameters
-
position
Vector
-
PVS
optional
Returns
RemoveLeaf(leaf)
View source »Removes the leaf from PVS
Parameters
-
leaf
LeafObject
Returns
-
self PVSObject
RemoveLeaf(leaf)
View source »Removes the leaf from PVS
Parameters
-
leaf
LeafObject
Returns
-
PASObject self
RemovePAS(position)
View source »Removes the position from PAS
Parameters
-
position
Vector
Returns
-
PASObject self
RemovePVS(position)
View source »Removes the position from PVS
Parameters
-
position
Vector
Returns
-
self
TestPosition(position)
View source »Returns true if the position is visible in the PAS
Parameters
-
position
Vector
Returns
-
boolean
TestPosition(position)
View source »Returns true if the position is visible in the PVS
Parameters
-
position
Vector
Returns
-
boolean
Tables
PVSObject
View source »Documentation for this section is incomplete and needs expanding.
Fields
-
__map
BSPObject