예제 #1
0
 public NiParticleSystem()
 {
     farBegin     = (ushort)0;
     farEnd       = (ushort)0;
     nearBegin    = (ushort)0;
     nearEnd      = (ushort)0;
     data         = null;
     worldSpace   = 1;
     numModifiers = (uint)0;
 }
예제 #2
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);
            if ((info.userVersion2 >= 100))
            {
                data = FixLink <NiPSysData>(objects, link_stack, missing_link_stack, info);
            }
            if (info.version >= 0x0A010000)
            {
                for (var i2 = 0; i2 < modifiers.Count; i2++)
                {
                    modifiers[i2] = FixLink <NiPSysModifier>(objects, link_stack, missing_link_stack, info);
                }
            }
        }