public NiInstancingMeshModifier()
 {
     hasInstanceNodes   = false;
     perInstanceCulling = false;
     hasStaticBounds    = false;
     affectedMesh       = null;
     numInstanceNodes   = (uint)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);
     affectedMesh = FixLink <NiMesh>(objects, link_stack, missing_link_stack, info);
     if (hasInstanceNodes)
     {
         for (var i4 = 0; i4 < instanceNodes.Count; i4++)
         {
             instanceNodes[i4] = FixLink <NiMeshHWInstance>(objects, link_stack, missing_link_stack, info);
         }
     }
 }
Exemple #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);
            masterMesh   = FixLink <NiMesh>(objects, link_stack, missing_link_stack, info);
            meshModifier = FixLink <NiInstancingMeshModifier>(objects, link_stack, missing_link_stack, info);
        }
Exemple #4
0
 public NiMeshHWInstance()
 {
     masterMesh   = null;
     meshModifier = null;
 }