Пример #1
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);
            if (info.version >= 0x14000004)
            {
                additionalData = FixLink <AbstractAdditionalGeometryData>(objects, link_stack, missing_link_stack, info);
            }
        }
Пример #2
0
 public NiGeometryData()
 {
     groupId          = (int)0;
     numVertices      = (ushort)0;
     bsMaxVertices    = (ushort)0;
     keepFlags        = (byte)0;
     compressFlags    = (byte)0;
     hasVertices      = 1;
     vectorFlags      = (VectorFlags)0;
     bsVectorFlags    = (BSVectorFlags)0;
     materialCrc      = (uint)0;
     hasNormals       = false;
     radius           = 0.0f;
     hasVertexColors  = false;
     numUvSets        = (ushort)0;
     hasUv            = false;
     consistencyFlags = ConsistencyType.CT_MUTABLE;
     additionalData   = null;
 }