/*! 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); nextModifier = FixLink <NiParticleModifier>(objects, link_stack, missing_link_stack, info); if (info.version >= 0x04000002) { controller = FixLink <NiParticleSystemController>(objects, link_stack, missing_link_stack, info); } }
/*! 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); emitter = FixLink <NiObject>(objects, link_stack, missing_link_stack, info); if (info.version <= 0x03010000) { particleLink = FixLink <NiObject>(objects, link_stack, missing_link_stack, info); } if (info.version >= 0x04000002) { unknownLink = FixLink <NiObject>(objects, link_stack, missing_link_stack, info); } particleExtra = FixLink <NiParticleModifier>(objects, link_stack, missing_link_stack, info); unknownLink2 = FixLink <NiObject>(objects, link_stack, missing_link_stack, info); if (info.version <= 0x03010000) { colorData = FixLink <NiColorData>(objects, link_stack, missing_link_stack, info); } }
public NiParticleSystemController() { oldSpeed = (uint)0; speed = 0.0f; speedRandom = 0.0f; verticalDirection = 0.0f; verticalAngle = 0.0f; horizontalDirection = 0.0f; horizontalAngle = 0.0f; size = 0.0f; emitStartTime = 0.0f; emitStopTime = 0.0f; unknownByte = (byte)0; oldEmitRate = (uint)0; emitRate = 0.0f; lifetime = 0.0f; lifetimeRandom = 0.0f; emitFlags = (ushort)0; emitter = null; unknownShort2_ = (ushort)0; unknownFloat13_ = 0.0f; unknownInt1_ = (uint)0; unknownInt2_ = (uint)0; unknownShort3_ = (ushort)0; particleLifetime = 0.0f; particleLink = null; particleTimestamp = (uint)0; particleUnknownShort = (ushort)0; particleVertexId = (ushort)0; numParticles = (ushort)0; numValid = (ushort)0; unknownLink = null; particleExtra = null; unknownLink2 = null; trailer = (byte)0; colorData = null; unknownFloat1 = 0.0f; }
public NiParticleModifier() { nextModifier = null; controller = null; }