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

Owning transient query description compatible with Fluid3D QueryShape semantics. 更多...

#include <VolumeFluid.h>

Public 属性

VolumeFluidQueryType type = VolumeFluidQueryType::Sphere
 
glm::vec3 center {0.f}
 Sphere/box center or ray segment start.
 
glm::vec3 size {0.f}
 Sphere radius in x, full box size, or ray segment end.
 
glm::vec4 rotation {0.f, 0.f, 0.f, 1.f}
 Unit XYZW box rotation; ignored by sphere and ray queries.
 
float contactOffset = 0.f
 
float maxDistance = 0.f
 
unsigned phaseMask = 0x0f
 
unsigned collisionFilter = 0xffff0001u
 Low 16 bits category and high 16 bits mask; both sides must match.
 

详细描述

Owning transient query description compatible with Fluid3D QueryShape semantics.

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

类成员变量说明

◆ center

glm::vec3 eve::fluids::VolumeFluidQueryShape::center {0.f}

Sphere/box center or ray segment start.

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

◆ collisionFilter

unsigned eve::fluids::VolumeFluidQueryShape::collisionFilter = 0xffff0001u

Low 16 bits category and high 16 bits mask; both sides must match.

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

◆ contactOffset

float eve::fluids::VolumeFluidQueryShape::contactOffset = 0.f

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

◆ maxDistance

float eve::fluids::VolumeFluidQueryShape::maxDistance = 0.f

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

◆ phaseMask

unsigned eve::fluids::VolumeFluidQueryShape::phaseMask = 0x0f

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

◆ rotation

glm::vec4 eve::fluids::VolumeFluidQueryShape::rotation {0.f, 0.f, 0.f, 1.f}

Unit XYZW box rotation; ignored by sphere and ray queries.

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

◆ size

glm::vec3 eve::fluids::VolumeFluidQueryShape::size {0.f}

Sphere radius in x, full box size, or ray segment end.

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

◆ type

VolumeFluidQueryType eve::fluids::VolumeFluidQueryShape::type = VolumeFluidQueryType::Sphere

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


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