PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
RaycastRVParams Class Reference

Private Member Functions

void RaycastRVParams (vector vBeg, vector vEnd, Object pIgnore=null, float fRadius=0.0)
 

Private Attributes

vector begPos
 begin position of raycast (e.g. player position)
 
vector endPos
 end position of raycast (e.g. player direction)
 
Object ignore
 ignore this object in collision, used only if groundOnly is false
 
Object with
 ignore object with this object, otherwise collision hits, used only if groundOnly is false
 
float radius
 radius along the ray tested
 
CollisionFlags flags
 
int type
 
bool sorted
 used only if groundOnly = false
 
bool groundOnly
 raycasts only ground (ignores all objects). Default value is false if not needed.
 

Detailed Description

Input parameters for RaycastRVProxy function.

Constructor & Destructor Documentation

◆ RaycastRVParams()

void RaycastRVParams ( vector  vBeg,
vector  vEnd,
Object  pIgnore = null,
float  fRadius = 0.0 
)
inlineprivate

Field Documentation

◆ begPos

vector begPos
private

begin position of raycast (e.g. player position)

Referenced by AreaDamageComponentRaycasted::GetRaycastedHitZone(), and RaycastRVParams().

◆ endPos

vector endPos
private

end position of raycast (e.g. player direction)

Referenced by AreaDamageComponentRaycasted::GetRaycastedHitZone(), and RaycastRVParams().

◆ flags

◆ groundOnly

bool groundOnly
private

raycasts only ground (ignores all objects). Default value is false if not needed.

Referenced by RaycastRVParams().

◆ ignore

Object ignore
private

ignore this object in collision, used only if groundOnly is false

Referenced by RaycastRVParams().

◆ radius

float radius
private

◆ sorted

bool sorted
private

used only if groundOnly = false

Referenced by RaycastRVParams(), and Hud::RefreshPlayerTags().

◆ type

int type
private

type of intersection, possible values ObjIntersectFire(0), ObjIntersectView(1), ObjIntersectGeom(2), ObjIntersectIFire(3), ObjIntersectNone(4)

Referenced by GetRandomizedPositionVerified(), AreaDamageComponentRaycasted::GetRaycastedHitZone(), IsObjectObstructedFilterEx(), Weapon::LiftWeaponCheckEx(), TrapBase::OnSteppedOn(), RaycastRVParams(), and VicinityItemManager::RefreshVicinityItems().

◆ with

Object with
private

ignore object with this object, otherwise collision hits, used only if groundOnly is false

Referenced by RaycastRVParams().


The documentation for this class was generated from the following file: