Пример #1
0
 public NiAVObject()
 {
     flags             = (uint)14;
     scale             = 1.0f;
     numProperties     = (uint)0;
     unknown2          = (byte)0;
     hasBoundingVolume = false;
     collisionObject   = null;
 }
Пример #2
0
 public NiAVObject()
 {
     flags             = (uint)14;
     scale             = 1.0f;
     numProperties     = (uint)0;
     unknown2          = (byte)0;
     hasBoundingVolume = false;
     collisionObject   = null;
     //--BEGIN:CONSTRUCTOR--//
     parent = null;
     //--END:CUSTOM--//
 }
Пример #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);
            if ((info.userVersion2 <= 34))
            {
                for (var i2 = 0; i2 < properties.Count; i2++)
                {
                    properties[i2] = FixLink <NiProperty>(objects, link_stack, missing_link_stack, info);
                }
            }
            if (info.version >= 0x0A000100)
            {
                collisionObject = FixLink <NiCollisionObject>(objects, link_stack, missing_link_stack, info);
            }
        }