载入中...
搜索中...
未找到
One volumetric influence applied to a geometry-collection instance. 更多...
#include <DestructionField.h>
Public 属性 | |
| DestructionFieldKind | kind = DestructionFieldKind::Strain |
| DestructionFieldFalloff | falloff = DestructionFieldFalloff::Linear |
| float | centerX = 0.f |
| float | centerY = 0.f |
| float | centerZ = 0.f |
| float | radius = 1.f |
| float | magnitude = 1.f |
| float | dirX = 0.f |
| Impulse direction (used only when kind == Impulse); zero uses +Y. | |
| float | dirY = 1.f |
| float | dirZ = 0.f |
详细描述
One volumetric influence applied to a geometry-collection instance.
Fields do not own instances. Strain accumulates on edges; Anchor pins bones; Impulse hits detached dynamic bones; Sleep requests static settlement.
在文件 DestructionField.h 第 28 行定义.
类成员变量说明
◆ centerX
| float eve::physics::DestructionField::centerX = 0.f |
在文件 DestructionField.h 第 31 行定义.
◆ centerY
| float eve::physics::DestructionField::centerY = 0.f |
在文件 DestructionField.h 第 32 行定义.
◆ centerZ
| float eve::physics::DestructionField::centerZ = 0.f |
在文件 DestructionField.h 第 33 行定义.
◆ dirX
| float eve::physics::DestructionField::dirX = 0.f |
Impulse direction (used only when kind == Impulse); zero uses +Y.
在文件 DestructionField.h 第 37 行定义.
◆ dirY
| float eve::physics::DestructionField::dirY = 1.f |
在文件 DestructionField.h 第 38 行定义.
◆ dirZ
| float eve::physics::DestructionField::dirZ = 0.f |
在文件 DestructionField.h 第 39 行定义.
◆ falloff
| DestructionFieldFalloff eve::physics::DestructionField::falloff = DestructionFieldFalloff::Linear |
在文件 DestructionField.h 第 30 行定义.
◆ kind
| DestructionFieldKind eve::physics::DestructionField::kind = DestructionFieldKind::Strain |
在文件 DestructionField.h 第 29 行定义.
◆ magnitude
| float eve::physics::DestructionField::magnitude = 1.f |
在文件 DestructionField.h 第 35 行定义.
◆ radius
| float eve::physics::DestructionField::radius = 1.f |
在文件 DestructionField.h 第 34 行定义.
该结构体的文档由以下文件生成:
- src/modules/physics/destruction/DestructionField.h