Component:BoxEmitter: Difference between revisions

From Resonite Wiki
Automated: update Categories, SyncDelegates
fix
 
Line 36: Line 36:
[[Category:Components:Rendering:Particle System:Emitters{{#translation:}}|Box Emitter]]
[[Category:Components:Rendering:Particle System:Emitters{{#translation:}}|Box Emitter]]
[[Category:Components{{#translation:}}|Box Emitter]]
[[Category:Components{{#translation:}}|Box Emitter]]
[[Category:ComponentStub]]
[[Category:ComponentStubs]]
[[Category:ComponentStubs]]

Latest revision as of 17:30, 17 December 2024

Component image 
Box Emitter component as seen in the Scene Inspector

Box emitter is a component that is used in conjunction with Particle System and Particle Style. It allows for adding particles into a Particle system with a rate, and does them inside or along the outside of the box area specified.

Usage

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
System ParticleSystem The particle system to get data from like style and particle count limits
Rate Float how fast to emit particles into the system.
BurstOnActivatedMin Float the min value of the range of particles to be emitted when activated.
BurstOnActivatedMax Float the max value of the range of particles to be emitted when activated.
Size Float3 The size of this box emitter.
EmitFromShell Bool Enable emitting particles on the outside of the box instead of from any point within the volume.
DirectionMode BoxEmitterDirection
Direction Float3 Which direction in local space to shoot particles emitted by this emitter
DirectionTransformMode DirectionTransformMode
RandomDirectionWeight Float How much random velocity to add to the particles.
Color0 ColorX
Color1 ColorX
Color2 ColorX
Color3 ColorX
Color4 ColorX
Color5 ColorX
Color6 ColorX
Color7 ColorX

Behavior

Examples

Useful to make fireflies in an area, for a calming nighttime aura. It can also be used to make leaves fall from trees by making a box around the tree leaves, or as wind particles in a breezy field.

See Also