예제 #1
0
        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;
        }
예제 #2
0
 public BodyDataObject(BodyDataObject _body)
 {
     Copy(_body);
 }