Owned local anchor for a contact-frozen particle; indices refer to its snapshot particle array. 更多...
#include <VolumeFluid.h>
Public 属性 | |
| unsigned | particleIndex = 0 |
| Snapshot-local particle index; remapped on lifetime removal, never a persistent entity ID. | |
| unsigned | colliderLabel = 0 |
| Application sample identity; removal detaches permanently, including after label reuse. | |
| glm::vec3 | localPosition {0.f} |
| Point in the collider's rigid local frame; no external pointer is retained. | |
| glm::vec4 | localOrientation {0.f, 0.f, 0.f, 1.f} |
| Particle-shape orientation in the collider's local frame, XYZW. | |
| bool | constrainOrientation = true |
| Whether the target rotation also drives the particle orientation. | |
| bool | dynamic = false |
| Dynamic attachments use a compliant pin instead of a fixed inverse weight. | |
| float | compliance = 0.f |
| XPBD compliance in inverse stiffness units; zero is rigid. | |
| float | breakThreshold = 1e12f |
| Approximate constraint-force threshold in newtons; finite and positive. | |
详细描述
Owned local anchor for a contact-frozen particle; indices refer to its snapshot particle array.
在文件 VolumeFluid.h 第 464 行定义.
类成员变量说明
◆ breakThreshold
| float eve::fluids::VolumeFluidAttachment::breakThreshold = 1e12f |
Approximate constraint-force threshold in newtons; finite and positive.
在文件 VolumeFluid.h 第 480 行定义.
◆ colliderLabel
| unsigned eve::fluids::VolumeFluidAttachment::colliderLabel = 0 |
Application sample identity; removal detaches permanently, including after label reuse.
在文件 VolumeFluid.h 第 468 行定义.
◆ compliance
| float eve::fluids::VolumeFluidAttachment::compliance = 0.f |
XPBD compliance in inverse stiffness units; zero is rigid.
在文件 VolumeFluid.h 第 478 行定义.
◆ constrainOrientation
| bool eve::fluids::VolumeFluidAttachment::constrainOrientation = true |
Whether the target rotation also drives the particle orientation.
在文件 VolumeFluid.h 第 474 行定义.
◆ dynamic
| bool eve::fluids::VolumeFluidAttachment::dynamic = false |
Dynamic attachments use a compliant pin instead of a fixed inverse weight.
在文件 VolumeFluid.h 第 476 行定义.
◆ localOrientation
Particle-shape orientation in the collider's local frame, XYZW.
在文件 VolumeFluid.h 第 472 行定义.
◆ localPosition
| glm::vec3 eve::fluids::VolumeFluidAttachment::localPosition {0.f} |
Point in the collider's rigid local frame; no external pointer is retained.
在文件 VolumeFluid.h 第 470 行定义.
◆ particleIndex
| unsigned eve::fluids::VolumeFluidAttachment::particleIndex = 0 |
Snapshot-local particle index; remapped on lifetime removal, never a persistent entity ID.
在文件 VolumeFluid.h 第 466 行定义.
该结构体的文档由以下文件生成:
- src/modules/fluids/VolumeFluid.h