Result of a 3D point probe: deepest non-sensor shape within radius. Normal points from the shape toward the probed point (meters). @ownership Compatibility projection: body is a synchronous observer, never an owning pointer. @lifetime Consume on the simulation thread before destroying a body/world or restoring topology. Cross-frame consumers retain a PhysicsBodyHandle and resolve it through the world instead. 更多...
#include <World3DTypes.h>
Public 属性 | |
| bool | hit = false |
| float | nx = 0.f |
| float | ny = 0.f |
| float | nz = 0.f |
| float | depth = 0.f |
| Body3D * | body = nullptr |
| float | friction = 0.f |
| float | restitution = 0.f |
详细描述
Result of a 3D point probe: deepest non-sensor shape within radius. Normal points from the shape toward the probed point (meters). @ownership Compatibility projection: body is a synchronous observer, never an owning pointer. @lifetime Consume on the simulation thread before destroying a body/world or restoring topology. Cross-frame consumers retain a PhysicsBodyHandle and resolve it through the world instead.
在文件 World3DTypes.h 第 20 行定义.
类成员变量说明
◆ body
| Body3D* eve::physics::ClothContact3D::body = nullptr |
在文件 World3DTypes.h 第 26 行定义.
◆ depth
| float eve::physics::ClothContact3D::depth = 0.f |
在文件 World3DTypes.h 第 25 行定义.
◆ friction
| float eve::physics::ClothContact3D::friction = 0.f |
在文件 World3DTypes.h 第 27 行定义.
◆ hit
| bool eve::physics::ClothContact3D::hit = false |
在文件 World3DTypes.h 第 21 行定义.
◆ nx
| float eve::physics::ClothContact3D::nx = 0.f |
在文件 World3DTypes.h 第 22 行定义.
◆ ny
| float eve::physics::ClothContact3D::ny = 0.f |
在文件 World3DTypes.h 第 23 行定义.
◆ nz
| float eve::physics::ClothContact3D::nz = 0.f |
在文件 World3DTypes.h 第 24 行定义.
◆ restitution
| float eve::physics::ClothContact3D::restitution = 0.f |
在文件 World3DTypes.h 第 28 行定义.
该结构体的文档由以下文件生成:
- src/modules/physics/rigid/World3DTypes.h