public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (location_ == null) { location_ = new global::Innova.Common.Float3(); } input.ReadMessage(location_); break; } case 18: { if (velocity_ == null) { velocity_ = new global::Innova.Common.Float3(); } input.ReadMessage(velocity_); break; } case 26: { if (rotation_ == null) { rotation_ = new global::Innova.Common.Quaternion(); } input.ReadMessage(rotation_); break; } case 34: { if (angular_ == null) { angular_ = new global::Innova.Common.Float4(); } input.ReadMessage(angular_); break; } } } }
public void MergeFrom(ActorScale other) { if (other == null) { return; } if (other.scale_ != null) { if (scale_ == null) { scale_ = new global::Innova.Common.Float3(); } Scale.MergeFrom(other.Scale); } }
public void MergeFrom(ActorMovement other) { if (other == null) { return; } if (other.location_ != null) { if (location_ == null) { location_ = new global::Innova.Common.Float3(); } Location.MergeFrom(other.Location); } if (other.velocity_ != null) { if (velocity_ == null) { velocity_ = new global::Innova.Common.Float3(); } Velocity.MergeFrom(other.Velocity); } if (other.rotation_ != null) { if (rotation_ == null) { rotation_ = new global::Innova.Common.Quaternion(); } Rotation.MergeFrom(other.Rotation); } if (other.angular_ != null) { if (angular_ == null) { angular_ = new global::Innova.Common.Float4(); } Angular.MergeFrom(other.Angular); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (scale_ == null) { scale_ = new global::Innova.Common.Float3(); } input.ReadMessage(scale_); break; } } } }