Dayz 1.25
Dayz Code Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс RaycastRVParams

Закрытые члены

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

Закрытые данные

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.
 

Подробное описание

Input parameters for RaycastRVProxy function.

Конструктор(ы)

◆ RaycastRVParams()

void RaycastRVParams ( vector vBeg,
vector vEnd,
Object pIgnore = null,
float fRadius = 0.0 )
inlineprivate
79 {
80 begPos = vBeg;
81 endPos = vEnd;
84
85 // default values
86 with = null;
87 flags = CollisionFlags.NEARESTCONTACT;
89 sorted = false;
90 groundOnly = false;
91 }
Definition EntityAI.c:95
Object ignore
ignore this object in collision, used only if groundOnly is false
Definition DayZPhysics.c:54
CollisionFlags flags
Definition DayZPhysics.c:63
float radius
radius along the ray tested
Definition DayZPhysics.c:57
vector begPos
begin position of raycast (e.g. player position)
Definition DayZPhysics.c:51
vector endPos
end position of raycast (e.g. player direction)
Definition DayZPhysics.c:52
bool groundOnly
raycasts only ground (ignores all objects). Default value is false if not needed.
Definition DayZPhysics.c:76
int type
Definition DayZPhysics.c:73
bool sorted
used only if groundOnly = false
Definition DayZPhysics.c:75
Object with
ignore object with this object, otherwise collision hits, used only if groundOnly is false
Definition DayZPhysics.c:55
CollisionFlags
Definition EnDebug.c:141

Перекрестные ссылки begPos, endPos, flags, groundOnly, ignore, radius, sorted, type и with.

Поля

◆ begPos

vector begPos
private

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

Используется в RaycastRVParams().

◆ endPos

vector endPos
private

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

Используется в RaycastRVParams().

◆ flags

CollisionFlags flags
private

Sets the raycast behaviour in terms of result.

См. также
CollisionFlags

Используется в RaycastRVParams().

◆ groundOnly

bool groundOnly
private

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

Используется в RaycastRVParams().

◆ ignore

Object ignore
private

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

Используется в RaycastRVParams().

◆ radius

float radius
private

radius along the ray tested

Используется в RaycastRVParams().

◆ sorted

bool sorted
private

used only if groundOnly = false

Используется в RaycastRVParams().

◆ type

int type
private

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

Используется в RaycastRVParams().

◆ with

Object with
private

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

Используется в RaycastRVParams().


Объявления и описания членов класса находятся в файле: