public void MergeFrom(Tracker other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.trackerPhysicalPosition_ != null) { if (trackerPhysicalPosition_ == null) { trackerPhysicalPosition_ = new global::Vector(); } TrackerPhysicalPosition.MergeFrom(other.TrackerPhysicalPosition); } if (other.trackerVRPositon_ != null) { if (trackerVRPositon_ == null) { trackerVRPositon_ = new global::Vector(); } TrackerVRPositon.MergeFrom(other.TrackerVRPositon); } if (other.trackerRotation_ != null) { if (trackerRotation_ == null) { trackerRotation_ = new global::Quadrublet(); } TrackerRotation.MergeFrom(other.TrackerRotation); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }