From NeoAxis 3D Engine Wiki
|Language:||English • Russian||Status:||Approved|
ParticleSystemSource.type allows adding a particle system source to a given place on the map. The engine stores particle systems in .particle files. To create these files, use the Particle System Editor.
To place a particle system source to a map, in the Object Creation window select the ParticleSystemSource type from the Base\Types folder.
Direction of the flag corresponds to rotation of the source.
To add a particle system to the source, select an object and click the "..." button of the Items box in the Properties window.
In the opened window you can add, remove and configure particle systems. The complete list of attributes of a particle system list element is provided below.
Specific object settings are in the "class ParticleSystemSource" group.
|Components||List of attached components.|
|LogicClass||Reference to the Logic Editor class. Read more about how to work with the Logic Editor class.|
|Tags||User defined information. Defined as key — value pairs. It is used for user's needs.|
|Type||Object type. It can not be changed.|
|Position||Object position on the map.|
|Rotation||Object rotation. The angle of rotation is set in degrees.|
|Enabled||Enable/disable particle system source.|
|Items||List of particle systems generated by the given source. Properties of element of this list are described in details below.|
|AutoVerticalAlignment||Automatical alignment by height mode. Allows to set the value among 4 variants: None (without alignment ), ByBounds (by dimensions), ByBoundsWithRotation (by dimension with possible rotation), ByCenter (by center).|
|Layer||The layer of the map these objects belong to.|
Particle system list element properties
|Visible||Show/hide a particle system.|
|PositionOffset||Coordinates of the reference point of the particle system relative to the source.|
|RotationOffset||Rotation of the particle system relative to the source.|
|ScaleOffset||Scale of the particle system relative to the source.|
|OwnerRotation||Allow/disallow taking into account source rotation when calculatng particle positions of the system.|
|ParticleName||Name of a particle system.|
|RenderingDistance||Distance between particles and the camera at which particles cannot be seen anymore. If 0 is selected, particles can be seen at any distance form the camera.|
|RenderingDistanceForShadows||Distance between particles and the camera at which particle shadow cannot be seen. If 0 is selected, particle shadow can be seen at any distance form the camera.|
|RenderQueueGroup||Render queue of an object relative to other objects.|
|StartTime||Delay before running the particle system, in seconds.|
|UpdateWhenItNotInView||Allow/disallow updating particle system when they are out of the visibility zone.|