Example #1
0
 public NiPSCollider()
 {
     spawner        = null;
     type           = (ColliderType)0;
     active         = false;
     bounce         = 0.0f;
     spawnOnCollide = false;
     dieOnCollide   = false;
 }
Example #2
0
 public NiPSParticleSystem()
 {
     simulator           = null;
     generator           = null;
     numEmitters         = (uint)0;
     numSpawners         = (uint)0;
     deathSpawner        = null;
     maxNumParticles     = (uint)0;
     hasColors           = false;
     hasRotations        = false;
     hasRotationAxes     = false;
     hasAnimatedTextures = false;
     worldSpace          = false;
     normalMethod        = (AlignMethod)0;
     upMethod            = (AlignMethod)0;
     livingSpawner       = null;
     numSpawnRateKeys    = (byte)0;
     pre_rpi             = false;
 }
Example #3
0
/*! NIFLIB_HIDDEN function.  For internal use only. */
        internal override void FixLinks(Dictionary <uint, NiObject> objects, List <uint> link_stack, List <NiObject> missing_link_stack, NifInfo info)
        {
            base.FixLinks(objects, link_stack, missing_link_stack, info);
            simulator = FixLink <NiPSSimulator>(objects, link_stack, missing_link_stack, info);
            generator = FixLink <NiPSBoundUpdater>(objects, link_stack, missing_link_stack, info);
            for (var i1 = 0; i1 < emitters.Count; i1++)
            {
                emitters[i1] = FixLink <NiPSEmitter>(objects, link_stack, missing_link_stack, info);
            }
            for (var i1 = 0; i1 < spawners.Count; i1++)
            {
                spawners[i1] = FixLink <NiPSSpawner>(objects, link_stack, missing_link_stack, info);
            }
            deathSpawner = FixLink <NiPSSpawner>(objects, link_stack, missing_link_stack, info);
            if (info.version >= 0x14060100)
            {
                livingSpawner = FixLink <NiPSSpawner>(objects, link_stack, missing_link_stack, info);
            }
        }
Example #4
0
 /*! NIFLIB_HIDDEN function.  For internal use only. */
 internal override void FixLinks(Dictionary <uint, NiObject> objects, List <uint> link_stack, List <NiObject> missing_link_stack, NifInfo info)
 {
     base.FixLinks(objects, link_stack, missing_link_stack, info);
     spawner = FixLink <NiPSSpawner>(objects, link_stack, missing_link_stack, info);
 }