Contents

size

The initial size of the particle as a 2D vector representing width and height.

Declaration

var size: SIMD2<Float> { get set }

Discussion

For most particle systems, this represents the billboard size in world space units.

  • x component: width of the particle

  • y component: height of the particle

Equal values create square particles, while different values create rectangular particles.