Skip to content

format

typescript
ParticleSystem.sizeByVelocityModuleEnable

class: ParticleSystem

description

Whether to enable the SizeByVelocityModule.

This module controls the size of particles based on their velocity.

parameter

param_nametypedescription

reture

typedescription
booleanWhether the SizeByVelocityModule is enabled.

code example

typescript
let obj = new GameObject();
let com = obj.AddComponent<ParticleSystem>(ParticleSystem);
com.sizeByVelocityModuleEnable;