public NiGeometry() { skin = null; data = null; skinInstance = null; shaderProperty = null; alphaProperty = null; }
/*! 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)) { if (IsDerivedType(NiParticleSystem.TYPE)) { skin = FixLink <NiObject>(objects, link_stack, missing_link_stack, info); } } if ((info.userVersion2 < 100)) { data = FixLink <NiGeometryData>(objects, link_stack, missing_link_stack, info); } if ((info.userVersion2 >= 100)) { if ((!IsDerivedType(NiParticleSystem.TYPE))) { data = FixLink <NiGeometryData>(objects, link_stack, missing_link_stack, info); } } if ((info.version >= 0x0303000D) && ((info.userVersion2 < 100))) { skinInstance = FixLink <NiSkinInstance>(objects, link_stack, missing_link_stack, info); } if ((info.userVersion2 >= 100)) { if ((!IsDerivedType(NiParticleSystem.TYPE))) { skinInstance = FixLink <NiSkinInstance>(objects, link_stack, missing_link_stack, info); } } if ((info.version >= 0x14020007) && (info.userVersion == 12)) { shaderProperty = FixLink <BSShaderProperty>(objects, link_stack, missing_link_stack, info); alphaProperty = FixLink <NiAlphaProperty>(objects, link_stack, missing_link_stack, info); } }