Ejemplo n.º 1
0
 public NiPhysXProp()
 {
     physxToWorldScale = 0.0f;
     numSources        = (uint)0;
     numDests          = (int)0;
     numModifiedMeshes = (uint)0;
     keepMeshes        = false;
     propDescription   = null;
 }
Ejemplo n.º 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);
            for (var i1 = 0; i1 < sources.Count; i1++)
            {
                sources[i1] = FixLink <NiObject>(objects, link_stack, missing_link_stack, info);
            }
            for (var i1 = 0; i1 < dests.Count; i1++)
            {
                dests[i1] = FixLink <NiPhysXDest>(objects, link_stack, missing_link_stack, info);
            }
            if (info.version >= 0x14040000)
            {
                for (var i2 = 0; i2 < modifiedMeshes.Count; i2++)
                {
                    modifiedMeshes[i2] = FixLink <NiMesh>(objects, link_stack, missing_link_stack, info);
                }
            }
            propDescription = FixLink <NiPhysXPropDesc>(objects, link_stack, missing_link_stack, info);
        }