# Interface ParticleGPUArgs

GPU粒子系统初始化参数

interface ParticleGPUArgs {
accelerationBase: Vector3;
accelerationSpread: Vector3;
angleBase: number;
angleSpread: number;
angleVelocityBase: number;
angleVelocitySpread: number;
blending: Blending;
colorBase: Vector3;
colorSpread: Vector3;
damping: number;
gravity: Vector3;
noiseStrength: number;
opacityBase: number;
opacitySpread: number;
particleDeathAge: number;
particlesPerSecond: number;
positionBase: Vector3;
positionCubeSpread: Vector3;
positionSphereSpread: number;
positionStyle: ParticleGPUType;
sizeBase: number;
sizeGrowth: number;
sizeSpread: number;
texture: Texture;
velocityCubeBase: Vector3;
velocityCubeSpread: Vector3;
velocitySphereBase: number;
velocitySphereSpread: number;
velocityStyle: ParticleGPUType;
}

- Defined in lib/vfx/particle-gpu/particle.ts:13

##### Index

### Properties

accelerationBase
accelerationSpread
angleBase
angleSpread
angleVelocityBase
angleVelocitySpread
blending
colorBase
colorSpread
damping
gravity
noiseStrength
opacityBase
opacitySpread
particleDeathAge
particlesPerSecond
positionBase
positionCubeSpread
positionSphereSpread
positionStyle
sizeBase
sizeGrowth
sizeSpread
texture
velocityCubeBase
velocityCubeSpread
velocitySphereBase
velocitySphereSpread
velocityStyle

## Properties

### accelerationBase

accelerationBase: Vector3

粒子加速度

- Defined in lib/vfx/particle-gpu/particle.ts:36

### accelerationSpread

accelerationSpread: Vector3

粒子加速度扩散值

- Defined in lib/vfx/particle-gpu/particle.ts:38

### angleBase

angleBase: number

旋转角度初始值

- Defined in lib/vfx/particle-gpu/particle.ts:41

### angleSpread

angleSpread: number

旋转角度初始值的扩散值

- Defined in lib/vfx/particle-gpu/particle.ts:43

### angleVelocityBase

angleVelocityBase: number

旋转角度速度值

- Defined in lib/vfx/particle-gpu/particle.ts:45

### angleVelocitySpread

angleVelocitySpread: number

旋转角度速度值的扩散值

- Defined in lib/vfx/particle-gpu/particle.ts:47

### blending

blending: Blending

材质混合方式

- Defined in lib/vfx/particle-gpu/particle.ts:68

### colorBase

colorBase: Vector3

颜色（hsl）

- Defined in lib/vfx/particle-gpu/particle.ts:57

### colorSpread

colorSpread: Vector3

颜色（hsl）的扩散值

- Defined in lib/vfx/particle-gpu/particle.ts:59

### damping

damping: number

阻尼系数

- Defined in lib/vfx/particle-gpu/particle.ts:78

### gravity

gravity: Vector3

重力

- Defined in lib/vfx/particle-gpu/particle.ts:74

### noiseStrength

noiseStrength: number

噪声强度

- Defined in lib/vfx/particle-gpu/particle.ts:76

### opacityBase

opacityBase: number

透明度

- Defined in lib/vfx/particle-gpu/particle.ts:62

### opacitySpread

opacitySpread: number

透明度的扩散值

- Defined in lib/vfx/particle-gpu/particle.ts:64

### particleDeathAge

particleDeathAge: number

粒子存活时长

- Defined in lib/vfx/particle-gpu/particle.ts:72

### particlesPerSecond

particlesPerSecond: number

一秒产生多少粒子

- Defined in lib/vfx/particle-gpu/particle.ts:70

### positionBase

positionBase: Vector3

粒子的初始位置坐标

- Defined in lib/vfx/particle-gpu/particle.ts:15

### positionCubeSpread

positionCubeSpread: Vector3

粒子坐标的抖动`CUBE`计算形式下的扩散值

- Defined in lib/vfx/particle-gpu/particle.ts:20

### positionSphereSpread

positionSphereSpread: number

粒子坐标的抖动`SPHERE`计算形式下的扩散值

- Defined in lib/vfx/particle-gpu/particle.ts:22

### positionStyle

positionStyle: ParticleGPUType

粒子坐标的抖动计算形式

- Defined in lib/vfx/particle-gpu/particle.ts:18

### sizeBase

sizeBase: number

粒子大小

- Defined in lib/vfx/particle-gpu/particle.ts:50

### sizeGrowth

sizeGrowth: number

粒子大小增长率

- Defined in lib/vfx/particle-gpu/particle.ts:54

### sizeSpread

sizeSpread: number

粒子大小的扩散值

- Defined in lib/vfx/particle-gpu/particle.ts:52

### texture

texture: Texture

贴图素材

- Defined in lib/vfx/particle-gpu/particle.ts:66

### velocityCubeBase

velocityCubeBase: Vector3

粒子速度的`CUBE`计算形式下的速度值

- Defined in lib/vfx/particle-gpu/particle.ts:27

### velocityCubeSpread

velocityCubeSpread: Vector3

粒子速度的`CUBE`计算形式下的扩散值

- Defined in lib/vfx/particle-gpu/particle.ts:29

### velocitySphereBase

velocitySphereBase: number

粒子速度的`SPHERE`计算形式下的速度值

- Defined in lib/vfx/particle-gpu/particle.ts:31

### velocitySphereSpread

velocitySphereSpread: number

粒子速度的`SPHERE`计算形式下的扩散值

- Defined in lib/vfx/particle-gpu/particle.ts:33

### velocityStyle

velocityStyle: ParticleGPUType

粒子速度的抖动计算形式

- Defined in lib/vfx/particle-gpu/particle.ts:25