protected override void doSerialize(Stream stream) { centerOfMass.serialize(stream); stream.write(mass); torque.serialize(stream); momentumOfInertia.serialize(stream); angularMomentum.serialize(stream); }
protected override void doSerialize(Stream stream) { body.serialize(stream); orbit.serialize(stream); _rootRotation.serialize(stream); _rotatingFrameVelocity.serialize(stream); gravity.serialize(stream); stream.write(altitude); stream.write(atmosphericDensity); }
protected override void doSerialize(Stream stream) { stream.write(x); stream.write(y); stream.write(z); }
protected override void doSerialize(Stream stream) { if(alignment != Alignment.Default) stream.write(alignment.ToString()); else stream.writeNull(); if(style != FontStyle.Default) stream.write(style.ToString()); else stream.writeNull(); if(normal != null) normal.serialize(stream); else stream.writeNull(); if(onNormal != null) onNormal.serialize(stream); else stream.writeNull(); if(hover != null) hover.serialize(stream); else stream.writeNull(); if(onHover != null) onHover.serialize(stream); else stream.writeNull(); if(focused != null) focused.serialize(stream); else stream.writeNull(); if(onFocused != null) onFocused.serialize(stream); else stream.writeNull(); if(active != null) active.serialize(stream); else stream.writeNull(); if(onActive != null) onActive.serialize(stream); else stream.writeNull(); }
protected override void doSerialize(Stream stream) { stream.write(trueAnomaly); stream.write(eccentricity); stream.write(parameter); stream.write(inclination); stream.write(LAN); stream.write(argumentOfPeriapsis); stream.write(timeAtPeriapsis); mainBody.serialize(stream); }