载入中...
搜索中...
未找到
Deterministic contact returned by an authoritative terrain probe or sweep. 更多...
#include <PixelWorldPhysics.h>
Public 属性 | |
| bool | hit = false |
| eve::pixelworld::MaterialId | material = eve::pixelworld::MaterialId::Air |
| int | cellX = 0 |
| int | cellY = 0 |
| float | pointX = 0.f |
| float | pointY = 0.f |
| float | normalX = 0.f |
| float | normalY = 0.f |
| float | depth = 0.f |
| Probe penetration depth, or zero for a non-overlapping sweep hit. | |
| float | fraction = 0.f |
| Sweep time in [0,1], or zero for a probe. | |
详细描述
Deterministic contact returned by an authoritative terrain probe or sweep.
在文件 PixelWorldPhysics.h 第 63 行定义.
类成员变量说明
◆ cellX
| int eve::pixelworld_physics::PixelTerrainContact::cellX = 0 |
在文件 PixelWorldPhysics.h 第 66 行定义.
◆ cellY
| int eve::pixelworld_physics::PixelTerrainContact::cellY = 0 |
在文件 PixelWorldPhysics.h 第 67 行定义.
◆ depth
| float eve::pixelworld_physics::PixelTerrainContact::depth = 0.f |
Probe penetration depth, or zero for a non-overlapping sweep hit.
在文件 PixelWorldPhysics.h 第 73 行定义.
◆ fraction
| float eve::pixelworld_physics::PixelTerrainContact::fraction = 0.f |
Sweep time in [0,1], or zero for a probe.
在文件 PixelWorldPhysics.h 第 75 行定义.
◆ hit
| bool eve::pixelworld_physics::PixelTerrainContact::hit = false |
在文件 PixelWorldPhysics.h 第 64 行定义.
◆ material
| eve::pixelworld::MaterialId eve::pixelworld_physics::PixelTerrainContact::material = eve::pixelworld::MaterialId::Air |
在文件 PixelWorldPhysics.h 第 65 行定义.
◆ normalX
| float eve::pixelworld_physics::PixelTerrainContact::normalX = 0.f |
在文件 PixelWorldPhysics.h 第 70 行定义.
◆ normalY
| float eve::pixelworld_physics::PixelTerrainContact::normalY = 0.f |
在文件 PixelWorldPhysics.h 第 71 行定义.
◆ pointX
| float eve::pixelworld_physics::PixelTerrainContact::pointX = 0.f |
在文件 PixelWorldPhysics.h 第 68 行定义.
◆ pointY
| float eve::pixelworld_physics::PixelTerrainContact::pointY = 0.f |
在文件 PixelWorldPhysics.h 第 69 行定义.
该结构体的文档由以下文件生成:
- src/modules/pixelworld/physics/PixelWorldPhysics.h