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

Value-owned emission description; +Z is mapped to direction. 更多...

#include <VolumeFluidEmitter.h>

Public 属性

VolumeFluidEmissionShape shape = VolumeFluidEmissionShape::Disk
 
glm::vec3 origin {0.f, 1.f, 0.f}
 
glm::vec3 direction {0.f, -1.f, 0.f}
 
glm::vec3 extent {0.1f}
 Half extents; disk/sphere use x as radius.
 
float speed = 1.f
 Nozzle speed and independent per-axis uniform native velocity jitter, m/s.
 
float jitter = 0.f
 
float randomVelocity = 0.f
 Fluid3D randomVelocity blend between the shape direction and a seeded unit vector, in [0,1].
 
bool useShapeColor = true
 Whether Distribution points replace prototype color, matching Fluid3DEmitter useShapeColor.
 
unsigned actorCapacity = 1000
 Maximum live particles owned by this emitter actor, matching Fluid3DEmitterBlueprintBase capacity.
 
float granularRadiusRandomness = 0.f
 Granular radius reduction percentage in [0,100]; zero preserves the prototype radius.
 
VolumeFluidParticle prototype
 Material/color/data/lifetime copied to emitted particles; position/velocity are generated.
 
uint32_t seed = 1
 Explicit named emission RNG stream seed; never touches a global RNG.
 
std::vector< VolumeFluidDistributionPoint > distribution
 Precomputed shape points, used only by Distribution; maximum 4096, copied by value.
 

详细描述

Value-owned emission description; +Z is mapped to direction.

在文件 VolumeFluidEmitter.h 第 105 行定义.

类成员变量说明

◆ actorCapacity

◆ direction

glm::vec3 eve::fluids::VolumeFluidEmission::direction {0.f, -1.f, 0.f}

◆ distribution

std::vector<VolumeFluidDistributionPoint> eve::fluids::VolumeFluidEmission::distribution

◆ extent

glm::vec3 eve::fluids::VolumeFluidEmission::extent {0.1f}

Half extents; disk/sphere use x as radius.

在文件 VolumeFluidEmitter.h 第 110 行定义.

被这些函数引用 eve::fluids::VolumeFluidJetEmitter::advanceMoving().

◆ granularRadiusRandomness

float eve::fluids::VolumeFluidEmission::granularRadiusRandomness = 0.f

Granular radius reduction percentage in [0,100]; zero preserves the prototype radius.

在文件 VolumeFluidEmitter.h 第 120 行定义.

被这些函数引用 eve::fluids::VolumeFluidJetEmitter::advanceMoving() , 以及 eve::fluids::prepareVolumeGranularEmitterBlueprint3D().

◆ jitter

float eve::fluids::VolumeFluidEmission::jitter = 0.f

在文件 VolumeFluidEmitter.h 第 112 行定义.

被这些函数引用 eve::fluids::VolumeFluidJetEmitter::advanceMoving().

◆ origin

glm::vec3 eve::fluids::VolumeFluidEmission::origin {0.f, 1.f, 0.f}

◆ prototype

◆ randomVelocity

float eve::fluids::VolumeFluidEmission::randomVelocity = 0.f

Fluid3D randomVelocity blend between the shape direction and a seeded unit vector, in [0,1].

在文件 VolumeFluidEmitter.h 第 114 行定义.

◆ seed

uint32_t eve::fluids::VolumeFluidEmission::seed = 1

Explicit named emission RNG stream seed; never touches a global RNG.

在文件 VolumeFluidEmitter.h 第 124 行定义.

被这些函数引用 eve::fluids::VolumeFluidJetEmitter::advanceMoving().

◆ shape

◆ speed

float eve::fluids::VolumeFluidEmission::speed = 1.f

Nozzle speed and independent per-axis uniform native velocity jitter, m/s.

在文件 VolumeFluidEmitter.h 第 112 行定义.

被这些函数引用 eve::fluids::VolumeFluidEmitter::advance() , 以及 eve::fluids::VolumeFluidJetEmitter::advanceMoving().

◆ useShapeColor

bool eve::fluids::VolumeFluidEmission::useShapeColor = true

Whether Distribution points replace prototype color, matching Fluid3DEmitter useShapeColor.

在文件 VolumeFluidEmitter.h 第 116 行定义.

被这些函数引用 eve::fluids::VolumeFluidJetEmitter::advanceMoving().


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