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

Private Attributes

float height = 0
 Height position.
 
float normalX = 0
 Right normal.
 
float normalZ = 0
 Up normal - always set to 1, not necessary to expose.
 
SurfaceInfo surface = null
 Returned SurfaceInfo, plain pointer.
 
bool aboveWater = false
 If water was the returned surface.
 
Object object = null
 SurfaceTraceType.Roadway only.
 

Detailed Description

Output of surface detection

Field Documentation

◆ aboveWater

bool aboveWater = false
private

If water was the returned surface.

◆ height

float height = 0
private

Height position.

Referenced by EntityAI::DetectFlippedUsingSurface().

◆ normalX

float normalX = 0
private

Right normal.

◆ normalZ

float normalZ = 0
private

Up normal - always set to 1, not necessary to expose.

Forward normal

◆ object

Object object = null
private

SurfaceTraceType.Roadway only.

◆ surface

SurfaceInfo surface = null
private

Returned SurfaceInfo, plain pointer.


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