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

Material and integration parameters for surface-bound droplets. 更多...

#include <SurfaceDropletSimulation.h>

Public 属性

glm::vec3 gravity {0.f, -9.8f, 0.f}
 World-space gravity in units per second squared.
 
float friction = 1.5f
 Exponential damping of velocity relative to the surface.
 
float maxSpeed = 12.f
 Maximum relative droplet speed.
 
float adhesionAcceleration = 12.f
 Maximum outward acceleration retained by adhesion.
 
int maxCrossings = 16
 Maximum number of triangle edges crossed by one step.
 
float contactAngleDegrees = 72.f
 Water contact angle in degrees, used to derive a visible cap radius.
 
float mergeRadiusScale = 0.72f
 Multiplier for the sum of cap radii used by droplet merging.
 
float trailDeposition = 0.22f
 Wet-film amount deposited per world-space unit travelled.
 
float airDrag = 0.08f
 Air drag applied after a droplet leaves the surface.
 
float reattachDistance = 0.035f
 Maximum distance at which an airborne droplet can reattach.
 

详细描述

Material and integration parameters for surface-bound droplets.

在文件 SurfaceDropletSimulation.h 第 16 行定义.

类成员变量说明

◆ adhesionAcceleration

float eve::fluids::SurfaceDropletParams::adhesionAcceleration = 12.f

Maximum outward acceleration retained by adhesion.

在文件 SurfaceDropletSimulation.h 第 24 行定义.

被这些函数引用 eve::fluids_editing::SurfaceFluidRuntimeApplier::apply().

◆ airDrag

float eve::fluids::SurfaceDropletParams::airDrag = 0.08f

Air drag applied after a droplet leaves the surface.

在文件 SurfaceDropletSimulation.h 第 34 行定义.

被这些函数引用 eve::fluids_editing::SurfaceFluidRuntimeApplier::apply().

◆ contactAngleDegrees

float eve::fluids::SurfaceDropletParams::contactAngleDegrees = 72.f

Water contact angle in degrees, used to derive a visible cap radius.

在文件 SurfaceDropletSimulation.h 第 28 行定义.

被这些函数引用 eve::fluids_editing::SurfaceFluidRuntimeApplier::apply(), eve::fluids::SurfaceDropletSimulation::dropletRadius() , 以及 eve::fluids::SurfaceFluidRenderData::update().

◆ friction

float eve::fluids::SurfaceDropletParams::friction = 1.5f

Exponential damping of velocity relative to the surface.

在文件 SurfaceDropletSimulation.h 第 20 行定义.

被这些函数引用 eve::fluids_editing::SurfaceFluidRuntimeApplier::apply().

◆ gravity

glm::vec3 eve::fluids::SurfaceDropletParams::gravity {0.f, -9.8f, 0.f}

World-space gravity in units per second squared.

在文件 SurfaceDropletSimulation.h 第 18 行定义.

被这些函数引用 eve::fluids_editing::SurfaceFluidRuntimeApplier::apply().

◆ maxCrossings

int eve::fluids::SurfaceDropletParams::maxCrossings = 16

Maximum number of triangle edges crossed by one step.

在文件 SurfaceDropletSimulation.h 第 26 行定义.

被这些函数引用 eve::fluids_editing::SurfaceFluidRuntimeApplier::apply().

◆ maxSpeed

float eve::fluids::SurfaceDropletParams::maxSpeed = 12.f

Maximum relative droplet speed.

在文件 SurfaceDropletSimulation.h 第 22 行定义.

被这些函数引用 eve::fluids_editing::SurfaceFluidRuntimeApplier::apply().

◆ mergeRadiusScale

float eve::fluids::SurfaceDropletParams::mergeRadiusScale = 0.72f

Multiplier for the sum of cap radii used by droplet merging.

在文件 SurfaceDropletSimulation.h 第 30 行定义.

被这些函数引用 eve::fluids_editing::SurfaceFluidRuntimeApplier::apply().

◆ reattachDistance

float eve::fluids::SurfaceDropletParams::reattachDistance = 0.035f

Maximum distance at which an airborne droplet can reattach.

在文件 SurfaceDropletSimulation.h 第 36 行定义.

被这些函数引用 eve::fluids_editing::SurfaceFluidRuntimeApplier::apply().

◆ trailDeposition

float eve::fluids::SurfaceDropletParams::trailDeposition = 0.22f

Wet-film amount deposited per world-space unit travelled.

在文件 SurfaceDropletSimulation.h 第 32 行定义.

被这些函数引用 eve::fluids_editing::SurfaceFluidRuntimeApplier::apply().


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