DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
SurfaceInfo.c
См. документацию.
1typedef int[] SurfaceInfo;
2
9{
10 private void SurfaceInfo() {};
11 private void ~SurfaceInfo() {};
12
16 proto static SurfaceInfo GetByName(string name);
17
22 proto static SurfaceInfo GetByFile(string name);
23
24 proto string GetName();
25 proto string GetEntryName();
26 proto string GetSurfaceType();
27
28 proto float GetRoughness();
29 proto float GetDustness();
31 proto float GetThickness();
32 proto float GetDeflection();
33 proto float GetTransparency();
34 proto float GetAudability();
35
36 proto bool IsLiquid();
37 proto bool IsStairs();
38 proto bool IsPassthrough();
39 proto bool IsSolid();
40
41 proto string GetSoundEnv();
42 proto string GetImpact();
43
45 proto int GetLiquidType();
46
49 proto int GetStepParticleId();
50 proto int GetWheelParticleId();
51};
52
64
70
75{
78
81
83 bool includeWater = false;
84
87
89 Object ignore = null;
90
92 RoadSurfaceDetection rsd = RoadSurfaceDetection.ABOVE;
93
94};
95
99/*sealed*/ class SurfaceDetectionResult
100{
102 float height = 0;
103
105 float normalX = 0;
106
108 //float normalY = 1;
109
111 float normalZ = 0;
112
115
117 bool aboveWater = false;
118
120 Object object = null;
121
122};
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
SurfaceDetectionType
Определения SurfaceInfo.c:66
@ Scenery
Определения SurfaceInfo.c:67
@ Roadway
Определения SurfaceInfo.c:68
UseObjectsMode
Определения SurfaceInfo.c:54
@ Wait
wait for the data to be ready
Определения SurfaceInfo.c:56
@ NoWait
do not wait for the data, but refresh caches
Определения SurfaceInfo.c:59
@ NoLock
only return the data we have, do not touch any caches (MT safe mode)
Определения SurfaceInfo.c:62
Определения ObjectTyped.c:2
bool includeWater
Include water in the surface detection, will return the water if it is higher than the surface.
Определения SurfaceInfo.c:83
SurfaceDetectionType type
Type of surface to detect.
Определения SurfaceInfo.c:77
RoadSurfaceDetection rsd
See RoadSurfaceDetection, SurfaceTraceType.Roadway only.
Определения SurfaceInfo.c:92
Object ignore
Object to ignore tracing against, SurfaceTraceType.Roadway only.
Определения SurfaceInfo.c:89
vector position
3D position to trace the surface from
Определения SurfaceInfo.c:80
UseObjectsMode syncMode
See UseObjectsMode, SurfaceTraceType.Roadway only.
Определения SurfaceInfo.c:86
float normalZ
Up normal - always set to 1, not necessary to expose.
Определения SurfaceInfo.c:111
SurfaceInfo surface
Returned SurfaceInfo, plain pointer.
Определения SurfaceInfo.c:114
float normalX
Right normal.
Определения SurfaceInfo.c:105
float height
Height position.
Определения SurfaceInfo.c:102
bool aboveWater
If water was the returned surface.
Определения SurfaceInfo.c:117
proto bool IsStairs()
proto float GetDustness()
proto float GetTransparency()
proto string GetName()
proto string GetSoundEnv()
void ~SurfaceInfo()
Определения SurfaceInfo.c:11
proto int GetLiquidType()
See 'LiquidTypes' in 'constants.c'.
proto bool IsSolid()
proto float GetThickness()
proto float GetBulletPenetrability()
static proto SurfaceInfo GetByName(string name)
proto int GetStepParticleId()
proto int GetWheelParticleId()
proto string GetImpact()
static proto SurfaceInfo GetByFile(string name)
proto float GetRoughness()
proto string GetSurfaceType()
proto bool IsPassthrough()
proto string GetEntryName()
proto bool IsLiquid()
void SurfaceInfo()
Определения SurfaceInfo.c:10
proto float GetAudability()
proto float GetDeflection()
Определения SurfaceInfo.c:9
Определения EnConvert.c:106