Struct EmitterRectangleSource
Spawns particles inside of a rectangular area on the X/Y plane.
Namespace: Unity.Tiny.Particles
Syntax
public struct EmitterRectangleSource : IComponentData
Fields
rect
Particles are emitted from a random spot inside this rectangle, with 0,0 of the rect at the Emitter's position.
Declaration
public Rect rect
Field Value
Type | Description |
---|---|
Rect |
speed
The initial speed of the particles.
Declaration
public Range speed
Field Value
Type | Description |
---|---|
Range |