ParticleSource CreateParticle | ( | int | id, |
vector | pos, | ||
bool | playOnCreation = false, | ||
Object | parent = null, | ||
vector | ori = vector.Zero, | ||
bool | forceWorldRotation = false, | ||
Class | owner = null ) |
Create function.
id | int Particle ID registered in ParticleList |
pos | vector Position of ParticleSource in LS (WS when no parent) |
playOnCreation | bool Whether to play immediately after creation (Optional) |
parent | Object Parent Object which will child the ParticleSource (Optional) |
ori | vector Orientation of ParticleSource in LS (WS when no parent) (Pitch, Yaw, Roll in degrees) (Optional) |
forceWorldRotation | bool Forces orientation to rotate relative to the world and not with the parent (Optional) |
owner | Class The owning instance for this particle (Optional) |
ParticleSource
Created particle instance when successful См. определение в файле ParticleManager.c строка 115
Перекрестные ссылки CreateParticleEx().