dl
dl::ParticleConfig::Emitter结构体 参考

发射器 -> 发射器设置 更多...

#include <dl_particle_config.h>

Public 属性

std::array< float, 2 > offset = { 0, 0 }
 
std::array< float, 2 > offset1 = { 0, 0 }
 位置偏移 -> 位置偏移
 
unsigned rate = 20
 位置偏移1,作为line模式的结束点 -> 位置偏移1,作为line模式的结束点
 
std::string shape = "circle"
 发射速率 -> 发射速率,每秒多少个
 
std::array< float, 2 > size = { 100, 100 }
 发射区域类型 -> 发射区域类型(point、circle、box、line)
 

详细描述

发射器 -> 发射器设置

在文件 dl_particle_config.h80 行定义.

类成员变量说明

◆ offset

std::array<float, 2> dl::ParticleConfig::Emitter::offset = { 0, 0 }

在文件 dl_particle_config.h82 行定义.

◆ offset1

std::array<float, 2> dl::ParticleConfig::Emitter::offset1 = { 0, 0 }

位置偏移 -> 位置偏移

在文件 dl_particle_config.h83 行定义.

◆ rate

unsigned dl::ParticleConfig::Emitter::rate = 20

位置偏移1,作为line模式的结束点 -> 位置偏移1,作为line模式的结束点

在文件 dl_particle_config.h84 行定义.

◆ shape

std::string dl::ParticleConfig::Emitter::shape = "circle"

发射速率 -> 发射速率,每秒多少个

在文件 dl_particle_config.h85 行定义.

◆ size

std::array<float, 2> dl::ParticleConfig::Emitter::size = { 100, 100 }

发射区域类型 -> 发射区域类型(point、circle、box、line)

在文件 dl_particle_config.h86 行定义.


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