/*! NIFLIB_HIDDEN function. For internal use only. */ internal override void Read(IStream s, List <uint> link_stack, NifInfo info) { base.Read(s, link_stack, info); Nif.NifStream(out modifierName, s, info); }
/*! NIFLIB_HIDDEN function. For internal use only. */ internal override void Read(IStream s, List <uint> link_stack, NifInfo info) { base.Read(s, link_stack, info); Nif.NifStream(out alphaSortBound, s, info); Nif.NifStream(out staticBound, s, info); }
/*! NIFLIB_HIDDEN function. For internal use only. */ internal override void Write(OStream s, Dictionary <NiObject, uint> link_map, List <NiObject> missing_link_stack, NifInfo info) { base.Write(s, link_map, missing_link_stack, info); Nif.NifStream(alphaSortBound, s, info); Nif.NifStream(staticBound, s, info); }
/*! NIFLIB_HIDDEN function. For internal use only. */ internal override void Read(IStream s, List <uint> link_stack, NifInfo info) { base.Read(s, link_stack, info); Nif.NifStream(out positionOffset, s, info); Nif.NifStream(out positionHalfRange, s, info); }
/*! NIFLIB_HIDDEN function. For internal use only. */ internal override void Write(OStream s, Dictionary <NiObject, uint> link_map, List <NiObject> missing_link_stack, NifInfo info) { base.Write(s, link_map, missing_link_stack, info); Nif.NifStream(positionOffset, s, info); Nif.NifStream(positionHalfRange, s, info); }
/*! NIFLIB_HIDDEN function. For internal use only. */ internal override void Read(IStream s, List <uint> link_stack, NifInfo info) { base.Read(s, link_stack, info); Nif.NifStream(out grow, s, info); Nif.NifStream(out fade, s, info); }
/*! NIFLIB_HIDDEN function. For internal use only. */ internal override void Write(OStream s, Dictionary <NiObject, uint> link_map, List <NiObject> missing_link_stack, NifInfo info) { base.Write(s, link_map, missing_link_stack, info); Nif.NifStream(fileName, s, info); }
/*! NIFLIB_HIDDEN function. For internal use only. */ internal override void Write(OStream s, Dictionary <NiObject, uint> link_map, List <NiObject> missing_link_stack, NifInfo info) { base.Write(s, link_map, missing_link_stack, info); Nif.NifStream(maxEmitters, s, info); WriteRef((NiObject)masterParticleSystem, s, info, link_map, missing_link_stack); }
/*! NIFLIB_HIDDEN function. For internal use only. */ internal override void Read(IStream s, List <uint> link_stack, NifInfo info) { base.Read(s, link_stack, info); Nif.NifStream(out useDirection, s, info); Nif.NifStream(out direction, s, info); }
/*! NIFLIB_HIDDEN function. For internal use only. */ internal override void Read(IStream s, List <uint> link_stack, NifInfo info) { base.Read(s, link_stack, info); Nif.NifStream(out palette.palette, s, info); Nif.NifStream(out palette.length, s, info); }
/*! NIFLIB_HIDDEN function. For internal use only. */ internal override void Read(IStream s, List <uint> link_stack, NifInfo info) { base.Read(s, link_stack, info); if (info.version <= 0x04000002) { Nif.NifStream(out numParticles, s, info); } if (info.version <= 0x0A000100) { Nif.NifStream(out particleRadius, s, info); } if (info.version >= 0x0A010000) { Nif.NifStream(out hasRadii, s, info); } if ((info.version >= 0x0A010000) && ((!((info.version == 0x14020007) && (info.userVersion2 > 0))))) { if (hasRadii) { radii = new float[numVertices]; for (var i3 = 0; i3 < radii.Count; i3++) { Nif.NifStream(out radii[i3], s, info); } } } Nif.NifStream(out numActive, s, info); Nif.NifStream(out hasSizes, s, info); if ((!((info.version == 0x14020007) && (info.userVersion2 > 0)))) { if (hasSizes) { sizes = new float[numVertices]; for (var i3 = 0; i3 < sizes.Count; i3++) { Nif.NifStream(out sizes[i3], s, info); } } } if (info.version >= 0x0A000100) { Nif.NifStream(out hasRotations, s, info); } if ((info.version >= 0x0A000100) && ((!((info.version == 0x14020007) && (info.userVersion2 > 0))))) { if (hasRotations) { rotations = new Quaternion[numVertices]; for (var i3 = 0; i3 < rotations.Count; i3++) { Nif.NifStream(out rotations[i3], s, info); } } } if (info.version >= 0x14000004) { Nif.NifStream(out hasRotationAngles, s, info); } if ((!((info.version == 0x14020007) && (info.userVersion2 > 0)))) { if (hasRotationAngles) { rotationAngles = new float[numVertices]; for (var i3 = 0; i3 < rotationAngles.Count; i3++) { Nif.NifStream(out rotationAngles[i3], s, info); } } } if (info.version >= 0x14000004) { Nif.NifStream(out hasRotationAxes, s, info); } if ((info.version >= 0x14000004) && ((!((info.version == 0x14020007) && (info.userVersion2 > 0))))) { if (hasRotationAxes) { rotationAxes = new Vector3[numVertices]; for (var i3 = 0; i3 < rotationAxes.Count; i3++) { Nif.NifStream(out rotationAxes[i3], s, info); } } } if (((info.version == 0x14020007) && (info.userVersion2 > 0))) { Nif.NifStream(out hasTextureIndices, s, info); } if ((info.userVersion2 > 34)) { Nif.NifStream(out numSubtextureOffsets, s, info); } if (((info.version == 0x14020007) && ((info.userVersion2 <= 34) && (info.userVersion2 > 0)))) { Nif.NifStream(out (byte)numSubtextureOffsets, s, info); } if (((info.version == 0x14020007) && (info.userVersion2 > 0))) { subtextureOffsets = new Vector4[numSubtextureOffsets]; for (var i2 = 0; i2 < subtextureOffsets.Count; i2++) { Nif.NifStream(out subtextureOffsets[i2], s, info); } } if ((info.userVersion2 > 34)) { Nif.NifStream(out aspectRatio, s, info); Nif.NifStream(out aspectFlags, s, info); Nif.NifStream(out speedToAspectAspect2, s, info); Nif.NifStream(out speedToAspectSpeed1, s, info); Nif.NifStream(out speedToAspectSpeed2, s, info); } }
/*! NIFLIB_HIDDEN function. For internal use only. */ internal override void Write(OStream s, Dictionary <NiObject, uint> link_map, List <NiObject> missing_link_stack, NifInfo info) { base.Write(s, link_map, missing_link_stack, info); numSubtextureOffsets = (uint)subtextureOffsets.Count; if (info.version <= 0x04000002) { Nif.NifStream(numParticles, s, info); } if (info.version <= 0x0A000100) { Nif.NifStream(particleRadius, s, info); } if (info.version >= 0x0A010000) { Nif.NifStream(hasRadii, s, info); } if ((info.version >= 0x0A010000) && ((!((info.version == 0x14020007) && (info.userVersion2 > 0))))) { if (hasRadii) { for (var i3 = 0; i3 < radii.Count; i3++) { Nif.NifStream(radii[i3], s, info); } } } Nif.NifStream(numActive, s, info); Nif.NifStream(hasSizes, s, info); if ((!((info.version == 0x14020007) && (info.userVersion2 > 0)))) { if (hasSizes) { for (var i3 = 0; i3 < sizes.Count; i3++) { Nif.NifStream(sizes[i3], s, info); } } } if (info.version >= 0x0A000100) { Nif.NifStream(hasRotations, s, info); } if ((info.version >= 0x0A000100) && ((!((info.version == 0x14020007) && (info.userVersion2 > 0))))) { if (hasRotations) { for (var i3 = 0; i3 < rotations.Count; i3++) { Nif.NifStream(rotations[i3], s, info); } } } if (info.version >= 0x14000004) { Nif.NifStream(hasRotationAngles, s, info); } if ((!((info.version == 0x14020007) && (info.userVersion2 > 0)))) { if (hasRotationAngles) { for (var i3 = 0; i3 < rotationAngles.Count; i3++) { Nif.NifStream(rotationAngles[i3], s, info); } } } if (info.version >= 0x14000004) { Nif.NifStream(hasRotationAxes, s, info); } if ((info.version >= 0x14000004) && ((!((info.version == 0x14020007) && (info.userVersion2 > 0))))) { if (hasRotationAxes) { for (var i3 = 0; i3 < rotationAxes.Count; i3++) { Nif.NifStream(rotationAxes[i3], s, info); } } } if (((info.version == 0x14020007) && (info.userVersion2 > 0))) { Nif.NifStream(hasTextureIndices, s, info); } if ((info.userVersion2 > 34)) { Nif.NifStream(numSubtextureOffsets, s, info); } if (((info.version == 0x14020007) && ((info.userVersion2 <= 34) && (info.userVersion2 > 0)))) { Nif.NifStream((byte)numSubtextureOffsets, s, info); } if (((info.version == 0x14020007) && (info.userVersion2 > 0))) { for (var i2 = 0; i2 < subtextureOffsets.Count; i2++) { Nif.NifStream(subtextureOffsets[i2], s, info); } } if ((info.userVersion2 > 34)) { Nif.NifStream(aspectRatio, s, info); Nif.NifStream(aspectFlags, s, info); Nif.NifStream(speedToAspectAspect2, s, info); Nif.NifStream(speedToAspectSpeed1, s, info); Nif.NifStream(speedToAspectSpeed2, s, info); } }