DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ AttachTo()

void EffectParticle::AttachTo ( Object obj,
vector local_pos = "0 0 0",
vector local_ori = "0 0 0",
bool force_rotation_to_world = false )
inlineprotected

Read Particle.AddAsChild.

См. определение в файле EffectParticle.c строка 251

252 {
253 // Update the cached variables...
254 SetParent(obj);
255 SetLocalPosition(local_pos);
256 SetAttachedLocalOri(local_ori);
257 ForceParticleRotationRelativeToWorld(force_rotation_to_world);
258
259 // Now attach it
260 AddAsChild(obj, local_pos, local_ori, force_rotation_to_world);
261 }
void SetParent(Object parent_obj, int pivot)
Set parent of the Effect.
Определения Effect.c:399
void SetLocalPosition(vector pos)
Set the local position of the Effect.
Определения Effect.c:503
void SetAttachedLocalOri(vector ori)
Set local orientation for the Effectparticle to attach to when the Effect is started.
Определения Effect.c:628
void ForceParticleRotationRelativeToWorld(bool state)
Set orientation setting to be used by the effect when the Effect starts.
Определения EffectParticle.c:542
void AddAsChild(Object obj, vector local_pos, vector local_ori, bool force_rotation_to_world)
Helper method to attach to parent.
Определения EffectParticle.c:275

Перекрестные ссылки AddAsChild(), ForceParticleRotationRelativeToWorld(), SetAttachedLocalOri(), SetLocalPosition() и SetParent().