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

Owned obstacle sample; the caller updates moving obstacles before stepping. 更多...

#include <VolumeFluid.h>

Public 属性

unsigned label = 0
 Application label echoed by contacts; not a runtime object handle.
 
VolumeFluidColliderShape shape = VolumeFluidColliderShape::Sphere
 Analytic primitive.
 
glm::vec3 center {0.f, 1.f, 0.f}
 World center and box half extents; capsule halfExtent.y is half its total height.
 
glm::vec3 halfExtent {0.25f}
 
float radius = 0.25f
 Sphere or capsule radius.
 
glm::vec3 velocity {0.f}
 Surface velocity at the sampled center.
 
float friction = 0.2f
 Coulomb friction in [0,1].
 
float staticFriction = 0.2f
 Static Coulomb friction in [0,1]; friction is the dynamic coefficient.
 
float rollingFriction = 0.f
 Rolling-friction coefficient in [0,1].
 
float stickiness = 0.f
 Adhesion strength in [0,1000].
 
float stickDistance = 0.f
 Maximum adhesive surface separation in meters, in [0,10].
 
VolumeFluidMaterialCombineMode frictionCombine = VolumeFluidMaterialCombineMode::Average
 Fluid3D-compatible priority combine mode for all friction coefficients.
 
VolumeFluidMaterialCombineMode stickinessCombine = VolumeFluidMaterialCombineMode::Average
 Fluid3D-compatible priority combine mode for stickiness.
 
bool rollingContacts = false
 Enables oriented rolling contact when either side requests it.
 
bool solidify = false
 Freezes contacts and enables one neighbor-contact wave per step from its attached solids.
 
glm::vec4 rotation {0.f, 0.f, 0.f, 1.f}
 Unit quaternion XYZW; box extents and the capsule's Y axis use this local frame.
 
glm::vec3 angularVelocity {0.f}
 World angular velocity in radians/second, sampled at the collider center.
 
unsigned collisionFilter = 0xffff0001u
 Collision filter: low 16 bits category, high 16 bits mask.
 
bool isTrigger = false
 Generates contacts without applying projection, friction or material transfer.
 

详细描述

Owned obstacle sample; the caller updates moving obstacles before stepping.

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

类成员变量说明

◆ angularVelocity

glm::vec3 eve::fluids::VolumeFluidCollider::angularVelocity {0.f}

World angular velocity in radians/second, sampled at the collider center.

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

◆ center

glm::vec3 eve::fluids::VolumeFluidCollider::center {0.f, 1.f, 0.f}

World center and box half extents; capsule halfExtent.y is half its total height.

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

◆ collisionFilter

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

Collision filter: low 16 bits category, high 16 bits mask.

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

◆ friction

float eve::fluids::VolumeFluidCollider::friction = 0.2f

Coulomb friction in [0,1].

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

◆ frictionCombine

VolumeFluidMaterialCombineMode eve::fluids::VolumeFluidCollider::frictionCombine = VolumeFluidMaterialCombineMode::Average

Fluid3D-compatible priority combine mode for all friction coefficients.

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

◆ halfExtent

glm::vec3 eve::fluids::VolumeFluidCollider::halfExtent {0.25f}

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

◆ isTrigger

bool eve::fluids::VolumeFluidCollider::isTrigger = false

Generates contacts without applying projection, friction or material transfer.

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

◆ label

unsigned eve::fluids::VolumeFluidCollider::label = 0

Application label echoed by contacts; not a runtime object handle.

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

◆ radius

float eve::fluids::VolumeFluidCollider::radius = 0.25f

Sphere or capsule radius.

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

◆ rollingContacts

bool eve::fluids::VolumeFluidCollider::rollingContacts = false

Enables oriented rolling contact when either side requests it.

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

◆ rollingFriction

float eve::fluids::VolumeFluidCollider::rollingFriction = 0.f

Rolling-friction coefficient in [0,1].

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

◆ rotation

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

Unit quaternion XYZW; box extents and the capsule's Y axis use this local frame.

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

◆ shape

VolumeFluidColliderShape eve::fluids::VolumeFluidCollider::shape = VolumeFluidColliderShape::Sphere

Analytic primitive.

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

◆ solidify

bool eve::fluids::VolumeFluidCollider::solidify = false

Freezes contacts and enables one neighbor-contact wave per step from its attached solids.

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

◆ staticFriction

float eve::fluids::VolumeFluidCollider::staticFriction = 0.2f

Static Coulomb friction in [0,1]; friction is the dynamic coefficient.

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

◆ stickDistance

float eve::fluids::VolumeFluidCollider::stickDistance = 0.f

Maximum adhesive surface separation in meters, in [0,10].

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

◆ stickiness

float eve::fluids::VolumeFluidCollider::stickiness = 0.f

Adhesion strength in [0,1000].

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

◆ stickinessCombine

VolumeFluidMaterialCombineMode eve::fluids::VolumeFluidCollider::stickinessCombine = VolumeFluidMaterialCombineMode::Average

Fluid3D-compatible priority combine mode for stickiness.

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

◆ velocity

glm::vec3 eve::fluids::VolumeFluidCollider::velocity {0.f}

Surface velocity at the sampled center.

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


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