载入中...
搜索中...
未找到
eve::fluids::VolumeFluidDistanceHit结构体 参考

Owning signed surface-distance result for a native query shape. 更多...

#include <VolumeFluid.h>

Public 属性

unsigned particleIndex = 0
 Current pool index; valid only until the next particle mutation.
 
float distance = 0.f
 Signed separation; negative values mean surface overlap.
 
glm::vec3 queryPoint {0.f}
 Nearest point on the query surface including its contact offset.
 
glm::vec3 normal {0.f, 1.f, 0.f}
 Direction from the query shape toward the particle center.
 
VolumeFluidParticle particle
 Owning particle value captured at query time.
 

详细描述

Owning signed surface-distance result for a native query shape.

在文件 VolumeFluid.h 第 403 行定义.

类成员变量说明

◆ distance

float eve::fluids::VolumeFluidDistanceHit::distance = 0.f

Signed separation; negative values mean surface overlap.

在文件 VolumeFluid.h 第 407 行定义.

◆ normal

glm::vec3 eve::fluids::VolumeFluidDistanceHit::normal {0.f, 1.f, 0.f}

Direction from the query shape toward the particle center.

在文件 VolumeFluid.h 第 411 行定义.

◆ particle

VolumeFluidParticle eve::fluids::VolumeFluidDistanceHit::particle

Owning particle value captured at query time.

在文件 VolumeFluid.h 第 413 行定义.

◆ particleIndex

unsigned eve::fluids::VolumeFluidDistanceHit::particleIndex = 0

Current pool index; valid only until the next particle mutation.

在文件 VolumeFluid.h 第 405 行定义.

◆ queryPoint

glm::vec3 eve::fluids::VolumeFluidDistanceHit::queryPoint {0.f}

Nearest point on the query surface including its contact offset.

在文件 VolumeFluid.h 第 409 行定义.


该结构体的文档由以下文件生成: