Esempio n. 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 >= 0x0A010070)
            {
                if (((flags & 1) == 0))
                {
                    for (var i3 = 0; i3 < interpArrayItems.Count; i3++)
                    {
                        interpArrayItems[i3].interpolator = FixLink <NiInterpolator>(objects, link_stack, missing_link_stack, info);
                    }
                }
            }
            if (info.version <= 0x0A01006F)
            {
                for (var i2 = 0; i2 < interpArrayItems.Count; i2++)
                {
                    interpArrayItems[i2].interpolator = FixLink <NiInterpolator>(objects, link_stack, missing_link_stack, info);
                }
            }
            if ((info.version >= 0x0A01006C) && (info.version <= 0x0A01006F))
            {
                singleInterpolator = FixLink <NiInterpolator>(objects, link_stack, missing_link_stack, info);
            }
        }
Esempio n. 2
0
 //Constructor
 public MorphWeight()
 {
     unchecked {
         interpolator = null;
         weight       = 0.0f;
     }
 }
Esempio n. 3
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 >= 0x0A010068)
            {
                interpolator = FixLink <NiInterpolator>(objects, link_stack, missing_link_stack, info);
            }
        }
Esempio n. 4
0
 //Constructor
 public InterpBlendItem()
 {
     unchecked {
         interpolator     = null;
         weight           = 0.0f;
         normalizedWeight = 0.0f;
         priority         = (int)0;
         easeSpinner      = 0.0f;
     }
 }
Esempio n. 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.version >= 0x0A010000) {
		visibilityInterpolator = FixLink<NiInterpolator>(objects, link_stack, missing_link_stack, info);
	}
	if (info.version <= 0x0A010067) {
		data = FixLink<NiPSysEmitterCtlrData>(objects, link_stack, missing_link_stack, info);
	}

}
Esempio n. 6
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);
 }
Esempio n. 7
0
 //Constructor
 public ControlledBlock()
 {
     unchecked {
         interpolator         = null;
         controller           = null;
         blendInterpolator    = null;
         blendIndex           = (ushort)0;
         priority             = (byte)0;
         stringPalette        = null;
         nodeNameOffset       = (uint)-1;
         propertyTypeOffset   = (uint)-1;
         controllerTypeOffset = (uint)-1;
         controllerIdOffset   = (uint)-1;
         interpolatorIdOffset = (uint)-1;
     }
 }
Esempio n. 8
0
 public NiBlendInterpolator()
 {
     flags                = (InterpBlendFlags)0;
     arraySize            = (ushort)0;
     arrayGrowBy          = (ushort)0;
     weightThreshold      = 0.0f;
     interpCount          = (byte)0;
     singleIndex          = (byte)255;
     highPriority         = (byte)-128;
     nextHighPriority     = (byte)-128;
     singleTime           = -3.402823466e+38f;
     highWeightsSum       = -3.402823466e+38f;
     nextHighWeightsSum   = -3.402823466e+38f;
     highEaseSpinner      = -3.402823466e+38f;
     managedControlled    = false;
     onlyUseHighestWeight = false;
     singleInterpolator   = null;
 }
Esempio n. 9
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;
 }
Esempio n. 10
0
 public NiPSysEmitterCtlr()
 {
     visibilityInterpolator = null;
     data = null;
 }
Esempio n. 11
0
 public NiSingleInterpController()
 {
     interpolator = null;
 }
Esempio n. 12
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);
     emitterActiveInterpolator = FixLink <NiInterpolator>(objects, link_stack, missing_link_stack, info);
 }
Esempio n. 13
0
 public NiPSEmitParticlesCtlr()
 {
     emitterActiveInterpolator = null;
 }
Esempio n. 14
0
 public BSRefractionFirePeriodController()
 {
     interpolator = null;
 }