protected override YAMLMappingNode ExportYAMLRoot(IExportContainer container) { YAMLMappingNode node = base.ExportYAMLRoot(container); node.Add(ConnectedBodyName, ConnectedBody.ExportYAML(container)); node.Add(AnchorName, Anchor.ExportYAML(container)); node.Add(AxisName, Axis.ExportYAML(container)); node.Add(AutoConfigureConnectedAnchorName, AutoConfigureConnectedAnchor); node.Add(ConnectedAnchorName, ConnectedAnchor.ExportYAML(container)); node.Add(UseSpringName, UseSpring); node.Add(SpringName, Spring.ExportYAML(container)); node.Add(UseMotorName, UseMotor); node.Add(MotorName, Motor.ExportYAML(container)); node.Add(UseLimitsName, UseLimits); node.Add(LimitsName, Limits.ExportYAML(container)); node.Add(BreakForceName, BreakForce); node.Add(BreakTorqueName, BreakTorque); node.Add(EnableCollisionName, EnableCollision); node.Add(EnablePreprocessingName, EnablePreprocessing); node.Add(MassScaleName, MassScale); node.Add(ConnectedMassScaleName, ConnectedMassScale); return(node); }