Пример #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);
     skin           = FixLink <NiObject>(objects, link_stack, missing_link_stack, info);
     shaderProperty = FixLink <BSShaderProperty>(objects, link_stack, missing_link_stack, info);
     alphaProperty  = FixLink <NiAlphaProperty>(objects, link_stack, missing_link_stack, info);
 }
Пример #2
0
 public NiGeometry()
 {
     skin           = null;
     data           = null;
     skinInstance   = null;
     shaderProperty = null;
     alphaProperty  = null;
 }
Пример #3
0
 public BSTriShape()
 {
     skin             = null;
     shaderProperty   = null;
     alphaProperty    = null;
     numTriangles     = (uint)0;
     numVertices      = (ushort)0;
     dataSize         = (uint)0;
     particleDataSize = (uint)0;
 }
Пример #4
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);
     interpolator1_Generation     = FixLink <NiInterpolator>(objects, link_stack, missing_link_stack, info);
     interpolator2_Mutation       = FixLink <NiInterpolator>(objects, link_stack, missing_link_stack, info);
     interpolator3_Subdivision    = FixLink <NiInterpolator>(objects, link_stack, missing_link_stack, info);
     interpolator4_NumBranches    = FixLink <NiInterpolator>(objects, link_stack, missing_link_stack, info);
     interpolator5_NumBranchesVar = FixLink <NiInterpolator>(objects, link_stack, missing_link_stack, info);
     interpolator6_Length         = FixLink <NiInterpolator>(objects, link_stack, missing_link_stack, info);
     interpolator7_LengthVar      = FixLink <NiInterpolator>(objects, link_stack, missing_link_stack, info);
     interpolator8_Width          = FixLink <NiInterpolator>(objects, link_stack, missing_link_stack, info);
     interpolator9_ArcOffset      = FixLink <NiInterpolator>(objects, link_stack, missing_link_stack, info);
     shaderProperty = FixLink <BSShaderProperty>(objects, link_stack, missing_link_stack, info);
 }
Пример #5
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.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);
            }
        }
Пример #6
0
 public BSProceduralLightningController()
 {
     interpolator1_Generation     = null;
     interpolator2_Mutation       = null;
     interpolator3_Subdivision    = null;
     interpolator4_NumBranches    = null;
     interpolator5_NumBranchesVar = null;
     interpolator6_Length         = null;
     interpolator7_LengthVar      = null;
     interpolator8_Width          = null;
     interpolator9_ArcOffset      = null;
     subdivisions         = (ushort)0;
     numBranches          = (ushort)0;
     numBranchesVariation = (ushort)0;
     length           = 0.0f;
     lengthVariation  = 0.0f;
     width            = 0.0f;
     childWidthMult   = 0.0f;
     arcOffset        = 0.0f;
     fadeMainBolt     = false;
     fadeChildBolts   = false;
     animateArcOffset = false;
     shaderProperty   = null;
 }