Beispiel #1
0
        protected override void WriteDataXML(XElement ele, ElderScrollsPlugin master)
        {
            XElement subEle;

            ele.TryPathTo("Dynamic_KeyframeBlendAmount", true, out subEle);
            subEle.Value = Dynamic_KeyframeBlendAmount.ToString("G15");

            ele.TryPathTo("HierarchyGain", true, out subEle);
            subEle.Value = HierarchyGain.ToString("G15");

            ele.TryPathTo("PositionGain", true, out subEle);
            subEle.Value = PositionGain.ToString("G15");

            ele.TryPathTo("VelocityGain", true, out subEle);
            subEle.Value = VelocityGain.ToString("G15");

            ele.TryPathTo("AccelerationGain", true, out subEle);
            subEle.Value = AccelerationGain.ToString("G15");

            ele.TryPathTo("SnapGain", true, out subEle);
            subEle.Value = SnapGain.ToString("G15");

            ele.TryPathTo("VelocityDamping", true, out subEle);
            subEle.Value = VelocityDamping.ToString("G15");

            ele.TryPathTo("SnapMax/LinearVelocity", true, out subEle);
            subEle.Value = SnapMaxLinearVelocity.ToString("G15");

            ele.TryPathTo("SnapMax/AngularVelocity", true, out subEle);
            subEle.Value = SnapMaxAngularVelocity.ToString("G15");

            ele.TryPathTo("SnapMax/LinearDistance", true, out subEle);
            subEle.Value = SnapMaxLinearDistance.ToString("G15");

            ele.TryPathTo("SnapMax/AngularDistance", true, out subEle);
            subEle.Value = SnapMaxAngularDistance.ToString("G15");

            ele.TryPathTo("PositionMax/LinearVelocity", true, out subEle);
            subEle.Value = PositionMaxLinearVelocity.ToString("G15");

            ele.TryPathTo("PositionMax/AngularVelocity", true, out subEle);
            subEle.Value = PositionMaxAngularVelocity.ToString("G15");

            ele.TryPathTo("ProjectilePositionMaxVelocity", true, out subEle);
            subEle.Value = ProjectilePositionMaxVelocity.ToString("G15");

            ele.TryPathTo("MeleePositionMaxVelocity", true, out subEle);
            subEle.Value = MeleePositionMaxVelocity.ToString("G15");
        }
Beispiel #2
0
 public override int GetHashCode()
 {
     return(Dynamic_KeyframeBlendAmount.GetHashCode());
 }