public void Copy(BodyDataObject _body) { if (_body == null) { return; } Type = _body.Type; UseAdvanced = _body.UseAdvanced; UseRollAngle = _body.UseRollAngle; MaxRollAngle = _body.MaxRollAngle; RollAngleMultiplier = _body.RollAngleMultiplier; UsePitch = _body.UsePitch; MaxPitchAngle = _body.MaxPitchAngle; PitchAngleMultiplier = _body.PitchAngleMultiplier; Width = _body.Width; Length = _body.Length; Height = _body.Height; WidthOffset = _body.WidthOffset; LengthOffset = _body.LengthOffset; HeightOffset = _body.HeightOffset; DefaultWidth = _body.DefaultWidth; DefaultLength = _body.DefaultLength; DefaultHeight = _body.DefaultHeight; }
public BodyDataObject(BodyDataObject _body) { Copy(_body); }