< Summary

Class:DCL.ECSComponents.MeshRendererReflection
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/MeshRenderer.gen.cs
Covered lines:4
Uncovered lines:0
Coverable lines:4
Total lines:1257
Line coverage:100% (4 of 4)
Covered branches:0
Total branches:0
Covered methods:2
Total methods:2
Method coverage:100% (2 of 2)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
MeshRendererReflection()0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/MeshRenderer.gen.cs

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/sdk/components/mesh_renderer.proto
 4// </auto-generated>
 5#pragma warning disable 1591, 0612, 3021
 6#region Designer generated code
 7
 8using pb = global::Google.Protobuf;
 9using pbc = global::Google.Protobuf.Collections;
 10using pbr = global::Google.Protobuf.Reflection;
 11using scg = global::System.Collections.Generic;
 12namespace DCL.ECSComponents {
 13
 14  /// <summary>Holder for reflection information generated from decentraland/sdk/components/mesh_renderer.proto</summary
 15  public static partial class MeshRendererReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for decentraland/sdk/components/mesh_renderer.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 3620      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static MeshRendererReflection() {
 125      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "Ci9kZWNlbnRyYWxhbmQvc2RrL2NvbXBvbmVudHMvbWVzaF9yZW5kZXJlci5w",
 28            "cm90bxIbZGVjZW50cmFsYW5kLnNkay5jb21wb25lbnRzIuIDCg5QQk1lc2hS",
 29            "ZW5kZXJlchJCCgNib3gYASABKAsyMy5kZWNlbnRyYWxhbmQuc2RrLmNvbXBv",
 30            "bmVudHMuUEJNZXNoUmVuZGVyZXIuQm94TWVzaEgAEkgKBnNwaGVyZRgCIAEo",
 31            "CzI2LmRlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cy5QQk1lc2hSZW5kZXJl",
 32            "ci5TcGhlcmVNZXNoSAASTAoIY3lsaW5kZXIYAyABKAsyOC5kZWNlbnRyYWxh",
 33            "bmQuc2RrLmNvbXBvbmVudHMuUEJNZXNoUmVuZGVyZXIuQ3lsaW5kZXJNZXNo",
 34            "SAASRgoFcGxhbmUYBCABKAsyNS5kZWNlbnRyYWxhbmQuc2RrLmNvbXBvbmVu",
 35            "dHMuUEJNZXNoUmVuZGVyZXIuUGxhbmVNZXNoSAAaFgoHQm94TWVzaBILCgN1",
 36            "dnMYASADKAIaZAoMQ3lsaW5kZXJNZXNoEhcKCnJhZGl1c190b3AYASABKAJI",
 37            "AIgBARIaCg1yYWRpdXNfYm90dG9tGAIgASgCSAGIAQFCDQoLX3JhZGl1c190",
 38            "b3BCEAoOX3JhZGl1c19ib3R0b20aGAoJUGxhbmVNZXNoEgsKA3V2cxgBIAMo",
 39            "AhoMCgpTcGhlcmVNZXNoQgYKBG1lc2hCFKoCEURDTC5FQ1NDb21wb25lbnRz",
 40            "YgZwcm90bzM="));
 141      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 42          new pbr::FileDescriptor[] { },
 43          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 44            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshRenderer), global::DCL.ECSComponents.PB
 45            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh), global::D
 46            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh), global::DCL.
 47            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh), global::DCL
 48          }));
 149    }
 50    #endregion
 51
 52  }
 53  #region Messages
 54  /// <summary>
 55  /// The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
 56  /// plane, a sphere or a cylinder.
 57  ///
 58  /// The cube and plane variants can include a UV texture mapping, so specific areas of a material
 59  /// texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
 60  /// `float` coordinates, one for each corner of each side of each face.
 61  ///
 62  /// More complex shapes require the use of a `GltfContainer` component.
 63  /// </summary>
 64  public sealed partial class PBMeshRenderer : pb::IMessage<PBMeshRenderer>
 65  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 66      , pb::IBufferMessage
 67  #endif
 68  {
 69    private static readonly pb::MessageParser<PBMeshRenderer> _parser = new pb::MessageParser<PBMeshRenderer>(() => new 
 70    private pb::UnknownFieldSet _unknownFields;
 71    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 72    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 73    public static pb::MessageParser<PBMeshRenderer> Parser { get { return _parser; } }
 74
 75    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 76    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 77    public static pbr::MessageDescriptor Descriptor {
 78      get { return global::DCL.ECSComponents.MeshRendererReflection.Descriptor.MessageTypes[0]; }
 79    }
 80
 81    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 82    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 83    pbr::MessageDescriptor pb::IMessage.Descriptor {
 84      get { return Descriptor; }
 85    }
 86
 87    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 88    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 89    public PBMeshRenderer() {
 90      OnConstruction();
 91    }
 92
 93    partial void OnConstruction();
 94
 95    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 96    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 97    public PBMeshRenderer(PBMeshRenderer other) : this() {
 98      switch (other.MeshCase) {
 99        case MeshOneofCase.Box:
 100          Box = other.Box.Clone();
 101          break;
 102        case MeshOneofCase.Sphere:
 103          Sphere = other.Sphere.Clone();
 104          break;
 105        case MeshOneofCase.Cylinder:
 106          Cylinder = other.Cylinder.Clone();
 107          break;
 108        case MeshOneofCase.Plane:
 109          Plane = other.Plane.Clone();
 110          break;
 111      }
 112
 113      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 114    }
 115
 116    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 117    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 118    public PBMeshRenderer Clone() {
 119      return new PBMeshRenderer(this);
 120    }
 121
 122    /// <summary>Field number for the "box" field.</summary>
 123    public const int BoxFieldNumber = 1;
 124    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 125    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 126    public global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh Box {
 127      get { return meshCase_ == MeshOneofCase.Box ? (global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh) mesh_ : nul
 128      set {
 129        mesh_ = value;
 130        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Box;
 131      }
 132    }
 133
 134    /// <summary>Field number for the "sphere" field.</summary>
 135    public const int SphereFieldNumber = 2;
 136    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 137    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 138    public global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh Sphere {
 139      get { return meshCase_ == MeshOneofCase.Sphere ? (global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh) mesh_
 140      set {
 141        mesh_ = value;
 142        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Sphere;
 143      }
 144    }
 145
 146    /// <summary>Field number for the "cylinder" field.</summary>
 147    public const int CylinderFieldNumber = 3;
 148    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 149    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 150    public global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh Cylinder {
 151      get { return meshCase_ == MeshOneofCase.Cylinder ? (global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh) m
 152      set {
 153        mesh_ = value;
 154        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Cylinder;
 155      }
 156    }
 157
 158    /// <summary>Field number for the "plane" field.</summary>
 159    public const int PlaneFieldNumber = 4;
 160    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 161    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 162    public global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh Plane {
 163      get { return meshCase_ == MeshOneofCase.Plane ? (global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh) mesh_ :
 164      set {
 165        mesh_ = value;
 166        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Plane;
 167      }
 168    }
 169
 170    private object mesh_;
 171    /// <summary>Enum of possible cases for the "mesh" oneof.</summary>
 172    public enum MeshOneofCase {
 173      None = 0,
 174      Box = 1,
 175      Sphere = 2,
 176      Cylinder = 3,
 177      Plane = 4,
 178    }
 179    private MeshOneofCase meshCase_ = MeshOneofCase.None;
 180    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 181    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 182    public MeshOneofCase MeshCase {
 183      get { return meshCase_; }
 184    }
 185
 186    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 187    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 188    public void ClearMesh() {
 189      meshCase_ = MeshOneofCase.None;
 190      mesh_ = null;
 191    }
 192
 193    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 194    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 195    public override bool Equals(object other) {
 196      return Equals(other as PBMeshRenderer);
 197    }
 198
 199    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 200    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 201    public bool Equals(PBMeshRenderer other) {
 202      if (ReferenceEquals(other, null)) {
 203        return false;
 204      }
 205      if (ReferenceEquals(other, this)) {
 206        return true;
 207      }
 208      if (!object.Equals(Box, other.Box)) return false;
 209      if (!object.Equals(Sphere, other.Sphere)) return false;
 210      if (!object.Equals(Cylinder, other.Cylinder)) return false;
 211      if (!object.Equals(Plane, other.Plane)) return false;
 212      if (MeshCase != other.MeshCase) return false;
 213      return Equals(_unknownFields, other._unknownFields);
 214    }
 215
 216    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 217    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 218    public override int GetHashCode() {
 219      int hash = 1;
 220      if (meshCase_ == MeshOneofCase.Box) hash ^= Box.GetHashCode();
 221      if (meshCase_ == MeshOneofCase.Sphere) hash ^= Sphere.GetHashCode();
 222      if (meshCase_ == MeshOneofCase.Cylinder) hash ^= Cylinder.GetHashCode();
 223      if (meshCase_ == MeshOneofCase.Plane) hash ^= Plane.GetHashCode();
 224      hash ^= (int) meshCase_;
 225      if (_unknownFields != null) {
 226        hash ^= _unknownFields.GetHashCode();
 227      }
 228      return hash;
 229    }
 230
 231    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 232    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 233    public override string ToString() {
 234      return pb::JsonFormatter.ToDiagnosticString(this);
 235    }
 236
 237    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 238    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 239    public void WriteTo(pb::CodedOutputStream output) {
 240    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 241      output.WriteRawMessage(this);
 242    #else
 243      if (meshCase_ == MeshOneofCase.Box) {
 244        output.WriteRawTag(10);
 245        output.WriteMessage(Box);
 246      }
 247      if (meshCase_ == MeshOneofCase.Sphere) {
 248        output.WriteRawTag(18);
 249        output.WriteMessage(Sphere);
 250      }
 251      if (meshCase_ == MeshOneofCase.Cylinder) {
 252        output.WriteRawTag(26);
 253        output.WriteMessage(Cylinder);
 254      }
 255      if (meshCase_ == MeshOneofCase.Plane) {
 256        output.WriteRawTag(34);
 257        output.WriteMessage(Plane);
 258      }
 259      if (_unknownFields != null) {
 260        _unknownFields.WriteTo(output);
 261      }
 262    #endif
 263    }
 264
 265    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 266    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 267    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 268    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 269      if (meshCase_ == MeshOneofCase.Box) {
 270        output.WriteRawTag(10);
 271        output.WriteMessage(Box);
 272      }
 273      if (meshCase_ == MeshOneofCase.Sphere) {
 274        output.WriteRawTag(18);
 275        output.WriteMessage(Sphere);
 276      }
 277      if (meshCase_ == MeshOneofCase.Cylinder) {
 278        output.WriteRawTag(26);
 279        output.WriteMessage(Cylinder);
 280      }
 281      if (meshCase_ == MeshOneofCase.Plane) {
 282        output.WriteRawTag(34);
 283        output.WriteMessage(Plane);
 284      }
 285      if (_unknownFields != null) {
 286        _unknownFields.WriteTo(ref output);
 287      }
 288    }
 289    #endif
 290
 291    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 292    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 293    public int CalculateSize() {
 294      int size = 0;
 295      if (meshCase_ == MeshOneofCase.Box) {
 296        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Box);
 297      }
 298      if (meshCase_ == MeshOneofCase.Sphere) {
 299        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Sphere);
 300      }
 301      if (meshCase_ == MeshOneofCase.Cylinder) {
 302        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cylinder);
 303      }
 304      if (meshCase_ == MeshOneofCase.Plane) {
 305        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Plane);
 306      }
 307      if (_unknownFields != null) {
 308        size += _unknownFields.CalculateSize();
 309      }
 310      return size;
 311    }
 312
 313    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 314    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 315    public void MergeFrom(PBMeshRenderer other) {
 316      if (other == null) {
 317        return;
 318      }
 319      switch (other.MeshCase) {
 320        case MeshOneofCase.Box:
 321          if (Box == null) {
 322            Box = new global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh();
 323          }
 324          Box.MergeFrom(other.Box);
 325          break;
 326        case MeshOneofCase.Sphere:
 327          if (Sphere == null) {
 328            Sphere = new global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh();
 329          }
 330          Sphere.MergeFrom(other.Sphere);
 331          break;
 332        case MeshOneofCase.Cylinder:
 333          if (Cylinder == null) {
 334            Cylinder = new global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh();
 335          }
 336          Cylinder.MergeFrom(other.Cylinder);
 337          break;
 338        case MeshOneofCase.Plane:
 339          if (Plane == null) {
 340            Plane = new global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh();
 341          }
 342          Plane.MergeFrom(other.Plane);
 343          break;
 344      }
 345
 346      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 347    }
 348
 349    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 350    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 351    public void MergeFrom(pb::CodedInputStream input) {
 352    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 353      input.ReadRawMessage(this);
 354    #else
 355      uint tag;
 356      while ((tag = input.ReadTag()) != 0) {
 357        switch(tag) {
 358          default:
 359            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 360            break;
 361          case 10: {
 362            global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh subBuilder = new global::DCL.ECSComponents.PBMeshRend
 363            if (meshCase_ == MeshOneofCase.Box) {
 364              subBuilder.MergeFrom(Box);
 365            }
 366            input.ReadMessage(subBuilder);
 367            Box = subBuilder;
 368            break;
 369          }
 370          case 18: {
 371            global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh subBuilder = new global::DCL.ECSComponents.PBMeshR
 372            if (meshCase_ == MeshOneofCase.Sphere) {
 373              subBuilder.MergeFrom(Sphere);
 374            }
 375            input.ReadMessage(subBuilder);
 376            Sphere = subBuilder;
 377            break;
 378          }
 379          case 26: {
 380            global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh subBuilder = new global::DCL.ECSComponents.PBMes
 381            if (meshCase_ == MeshOneofCase.Cylinder) {
 382              subBuilder.MergeFrom(Cylinder);
 383            }
 384            input.ReadMessage(subBuilder);
 385            Cylinder = subBuilder;
 386            break;
 387          }
 388          case 34: {
 389            global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh subBuilder = new global::DCL.ECSComponents.PBMeshRe
 390            if (meshCase_ == MeshOneofCase.Plane) {
 391              subBuilder.MergeFrom(Plane);
 392            }
 393            input.ReadMessage(subBuilder);
 394            Plane = subBuilder;
 395            break;
 396          }
 397        }
 398      }
 399    #endif
 400    }
 401
 402    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 403    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 404    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 405    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 406      uint tag;
 407      while ((tag = input.ReadTag()) != 0) {
 408        switch(tag) {
 409          default:
 410            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 411            break;
 412          case 10: {
 413            global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh subBuilder = new global::DCL.ECSComponents.PBMeshRend
 414            if (meshCase_ == MeshOneofCase.Box) {
 415              subBuilder.MergeFrom(Box);
 416            }
 417            input.ReadMessage(subBuilder);
 418            Box = subBuilder;
 419            break;
 420          }
 421          case 18: {
 422            global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh subBuilder = new global::DCL.ECSComponents.PBMeshR
 423            if (meshCase_ == MeshOneofCase.Sphere) {
 424              subBuilder.MergeFrom(Sphere);
 425            }
 426            input.ReadMessage(subBuilder);
 427            Sphere = subBuilder;
 428            break;
 429          }
 430          case 26: {
 431            global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh subBuilder = new global::DCL.ECSComponents.PBMes
 432            if (meshCase_ == MeshOneofCase.Cylinder) {
 433              subBuilder.MergeFrom(Cylinder);
 434            }
 435            input.ReadMessage(subBuilder);
 436            Cylinder = subBuilder;
 437            break;
 438          }
 439          case 34: {
 440            global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh subBuilder = new global::DCL.ECSComponents.PBMeshRe
 441            if (meshCase_ == MeshOneofCase.Plane) {
 442              subBuilder.MergeFrom(Plane);
 443            }
 444            input.ReadMessage(subBuilder);
 445            Plane = subBuilder;
 446            break;
 447          }
 448        }
 449      }
 450    }
 451    #endif
 452
 453    #region Nested types
 454    /// <summary>Container for nested types declared in the PBMeshRenderer message type.</summary>
 455    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 456    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 457    public static partial class Types {
 458      /// <summary>
 459      /// BoxMesh renders a prism shape.
 460      /// </summary>
 461      public sealed partial class BoxMesh : pb::IMessage<BoxMesh>
 462      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 463          , pb::IBufferMessage
 464      #endif
 465      {
 466        private static readonly pb::MessageParser<BoxMesh> _parser = new pb::MessageParser<BoxMesh>(() => new BoxMesh())
 467        private pb::UnknownFieldSet _unknownFields;
 468        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 469        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 470        public static pb::MessageParser<BoxMesh> Parser { get { return _parser; } }
 471
 472        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 473        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 474        public static pbr::MessageDescriptor Descriptor {
 475          get { return global::DCL.ECSComponents.PBMeshRenderer.Descriptor.NestedTypes[0]; }
 476        }
 477
 478        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 479        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 480        pbr::MessageDescriptor pb::IMessage.Descriptor {
 481          get { return Descriptor; }
 482        }
 483
 484        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 485        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 486        public BoxMesh() {
 487          OnConstruction();
 488        }
 489
 490        partial void OnConstruction();
 491
 492        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 493        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 494        public BoxMesh(BoxMesh other) : this() {
 495          uvs_ = other.uvs_.Clone();
 496          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 497        }
 498
 499        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 500        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 501        public BoxMesh Clone() {
 502          return new BoxMesh(this);
 503        }
 504
 505        /// <summary>Field number for the "uvs" field.</summary>
 506        public const int UvsFieldNumber = 1;
 507        private static readonly pb::FieldCodec<float> _repeated_uvs_codec
 508            = pb::FieldCodec.ForFloat(10);
 509        private readonly pbc::RepeatedField<float> uvs_ = new pbc::RepeatedField<float>();
 510        /// <summary>
 511        /// 96-value texture map (2D * 6 faces * 2 sides * 4 vertices)
 512        /// </summary>
 513        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 514        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 515        public pbc::RepeatedField<float> Uvs {
 516          get { return uvs_; }
 517        }
 518
 519        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 520        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 521        public override bool Equals(object other) {
 522          return Equals(other as BoxMesh);
 523        }
 524
 525        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 526        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 527        public bool Equals(BoxMesh other) {
 528          if (ReferenceEquals(other, null)) {
 529            return false;
 530          }
 531          if (ReferenceEquals(other, this)) {
 532            return true;
 533          }
 534          if(!uvs_.Equals(other.uvs_)) return false;
 535          return Equals(_unknownFields, other._unknownFields);
 536        }
 537
 538        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 539        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 540        public override int GetHashCode() {
 541          int hash = 1;
 542          hash ^= uvs_.GetHashCode();
 543          if (_unknownFields != null) {
 544            hash ^= _unknownFields.GetHashCode();
 545          }
 546          return hash;
 547        }
 548
 549        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 550        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 551        public override string ToString() {
 552          return pb::JsonFormatter.ToDiagnosticString(this);
 553        }
 554
 555        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 556        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 557        public void WriteTo(pb::CodedOutputStream output) {
 558        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 559          output.WriteRawMessage(this);
 560        #else
 561          uvs_.WriteTo(output, _repeated_uvs_codec);
 562          if (_unknownFields != null) {
 563            _unknownFields.WriteTo(output);
 564          }
 565        #endif
 566        }
 567
 568        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 569        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 570        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 571        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 572          uvs_.WriteTo(ref output, _repeated_uvs_codec);
 573          if (_unknownFields != null) {
 574            _unknownFields.WriteTo(ref output);
 575          }
 576        }
 577        #endif
 578
 579        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 580        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 581        public int CalculateSize() {
 582          int size = 0;
 583          size += uvs_.CalculateSize(_repeated_uvs_codec);
 584          if (_unknownFields != null) {
 585            size += _unknownFields.CalculateSize();
 586          }
 587          return size;
 588        }
 589
 590        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 591        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 592        public void MergeFrom(BoxMesh other) {
 593          if (other == null) {
 594            return;
 595          }
 596          uvs_.Add(other.uvs_);
 597          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 598        }
 599
 600        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 601        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 602        public void MergeFrom(pb::CodedInputStream input) {
 603        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 604          input.ReadRawMessage(this);
 605        #else
 606          uint tag;
 607          while ((tag = input.ReadTag()) != 0) {
 608            switch(tag) {
 609              default:
 610                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 611                break;
 612              case 10:
 613              case 13: {
 614                uvs_.AddEntriesFrom(input, _repeated_uvs_codec);
 615                break;
 616              }
 617            }
 618          }
 619        #endif
 620        }
 621
 622        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 623        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 624        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 625        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 626          uint tag;
 627          while ((tag = input.ReadTag()) != 0) {
 628            switch(tag) {
 629              default:
 630                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 631                break;
 632              case 10:
 633              case 13: {
 634                uvs_.AddEntriesFrom(ref input, _repeated_uvs_codec);
 635                break;
 636              }
 637            }
 638          }
 639        }
 640        #endif
 641
 642      }
 643
 644      /// <summary>
 645      /// CylinderMesh renders a truncated cone shape.
 646      /// </summary>
 647      public sealed partial class CylinderMesh : pb::IMessage<CylinderMesh>
 648      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 649          , pb::IBufferMessage
 650      #endif
 651      {
 652        private static readonly pb::MessageParser<CylinderMesh> _parser = new pb::MessageParser<CylinderMesh>(() => new 
 653        private pb::UnknownFieldSet _unknownFields;
 654        private int _hasBits0;
 655        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 656        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 657        public static pb::MessageParser<CylinderMesh> Parser { get { return _parser; } }
 658
 659        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 660        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 661        public static pbr::MessageDescriptor Descriptor {
 662          get { return global::DCL.ECSComponents.PBMeshRenderer.Descriptor.NestedTypes[1]; }
 663        }
 664
 665        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 666        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 667        pbr::MessageDescriptor pb::IMessage.Descriptor {
 668          get { return Descriptor; }
 669        }
 670
 671        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 672        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 673        public CylinderMesh() {
 674          OnConstruction();
 675        }
 676
 677        partial void OnConstruction();
 678
 679        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 680        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 681        public CylinderMesh(CylinderMesh other) : this() {
 682          _hasBits0 = other._hasBits0;
 683          radiusTop_ = other.radiusTop_;
 684          radiusBottom_ = other.radiusBottom_;
 685          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 686        }
 687
 688        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 689        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 690        public CylinderMesh Clone() {
 691          return new CylinderMesh(this);
 692        }
 693
 694        /// <summary>Field number for the "radius_top" field.</summary>
 695        public const int RadiusTopFieldNumber = 1;
 696        private float radiusTop_;
 697        /// <summary>
 698        /// (default 0.5)
 699        /// </summary>
 700        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 701        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 702        public float RadiusTop {
 703          get { if ((_hasBits0 & 1) != 0) { return radiusTop_; } else { return 0F; } }
 704          set {
 705            _hasBits0 |= 1;
 706            radiusTop_ = value;
 707          }
 708        }
 709        /// <summary>Gets whether the "radius_top" field is set</summary>
 710        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 711        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 712        public bool HasRadiusTop {
 713          get { return (_hasBits0 & 1) != 0; }
 714        }
 715        /// <summary>Clears the value of the "radius_top" field</summary>
 716        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 717        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 718        public void ClearRadiusTop() {
 719          _hasBits0 &= ~1;
 720        }
 721
 722        /// <summary>Field number for the "radius_bottom" field.</summary>
 723        public const int RadiusBottomFieldNumber = 2;
 724        private float radiusBottom_;
 725        /// <summary>
 726        /// (default 0.5)
 727        /// </summary>
 728        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 729        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 730        public float RadiusBottom {
 731          get { if ((_hasBits0 & 2) != 0) { return radiusBottom_; } else { return 0F; } }
 732          set {
 733            _hasBits0 |= 2;
 734            radiusBottom_ = value;
 735          }
 736        }
 737        /// <summary>Gets whether the "radius_bottom" field is set</summary>
 738        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 739        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 740        public bool HasRadiusBottom {
 741          get { return (_hasBits0 & 2) != 0; }
 742        }
 743        /// <summary>Clears the value of the "radius_bottom" field</summary>
 744        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 745        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 746        public void ClearRadiusBottom() {
 747          _hasBits0 &= ~2;
 748        }
 749
 750        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 751        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 752        public override bool Equals(object other) {
 753          return Equals(other as CylinderMesh);
 754        }
 755
 756        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 757        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 758        public bool Equals(CylinderMesh other) {
 759          if (ReferenceEquals(other, null)) {
 760            return false;
 761          }
 762          if (ReferenceEquals(other, this)) {
 763            return true;
 764          }
 765          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusTop, other.RadiusTop)) return f
 766          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusBottom, other.RadiusBottom)) re
 767          return Equals(_unknownFields, other._unknownFields);
 768        }
 769
 770        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 771        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 772        public override int GetHashCode() {
 773          int hash = 1;
 774          if (HasRadiusTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusTop);
 775          if (HasRadiusBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusBo
 776          if (_unknownFields != null) {
 777            hash ^= _unknownFields.GetHashCode();
 778          }
 779          return hash;
 780        }
 781
 782        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 783        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 784        public override string ToString() {
 785          return pb::JsonFormatter.ToDiagnosticString(this);
 786        }
 787
 788        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 789        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 790        public void WriteTo(pb::CodedOutputStream output) {
 791        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 792          output.WriteRawMessage(this);
 793        #else
 794          if (HasRadiusTop) {
 795            output.WriteRawTag(13);
 796            output.WriteFloat(RadiusTop);
 797          }
 798          if (HasRadiusBottom) {
 799            output.WriteRawTag(21);
 800            output.WriteFloat(RadiusBottom);
 801          }
 802          if (_unknownFields != null) {
 803            _unknownFields.WriteTo(output);
 804          }
 805        #endif
 806        }
 807
 808        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 809        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 810        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 811        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 812          if (HasRadiusTop) {
 813            output.WriteRawTag(13);
 814            output.WriteFloat(RadiusTop);
 815          }
 816          if (HasRadiusBottom) {
 817            output.WriteRawTag(21);
 818            output.WriteFloat(RadiusBottom);
 819          }
 820          if (_unknownFields != null) {
 821            _unknownFields.WriteTo(ref output);
 822          }
 823        }
 824        #endif
 825
 826        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 827        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 828        public int CalculateSize() {
 829          int size = 0;
 830          if (HasRadiusTop) {
 831            size += 1 + 4;
 832          }
 833          if (HasRadiusBottom) {
 834            size += 1 + 4;
 835          }
 836          if (_unknownFields != null) {
 837            size += _unknownFields.CalculateSize();
 838          }
 839          return size;
 840        }
 841
 842        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 843        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 844        public void MergeFrom(CylinderMesh other) {
 845          if (other == null) {
 846            return;
 847          }
 848          if (other.HasRadiusTop) {
 849            RadiusTop = other.RadiusTop;
 850          }
 851          if (other.HasRadiusBottom) {
 852            RadiusBottom = other.RadiusBottom;
 853          }
 854          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 855        }
 856
 857        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 858        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 859        public void MergeFrom(pb::CodedInputStream input) {
 860        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 861          input.ReadRawMessage(this);
 862        #else
 863          uint tag;
 864          while ((tag = input.ReadTag()) != 0) {
 865            switch(tag) {
 866              default:
 867                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 868                break;
 869              case 13: {
 870                RadiusTop = input.ReadFloat();
 871                break;
 872              }
 873              case 21: {
 874                RadiusBottom = input.ReadFloat();
 875                break;
 876              }
 877            }
 878          }
 879        #endif
 880        }
 881
 882        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 883        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 884        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 885        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 886          uint tag;
 887          while ((tag = input.ReadTag()) != 0) {
 888            switch(tag) {
 889              default:
 890                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 891                break;
 892              case 13: {
 893                RadiusTop = input.ReadFloat();
 894                break;
 895              }
 896              case 21: {
 897                RadiusBottom = input.ReadFloat();
 898                break;
 899              }
 900            }
 901          }
 902        }
 903        #endif
 904
 905      }
 906
 907      /// <summary>
 908      /// PlaneMesh renders a 2D rectangular shape.
 909      /// </summary>
 910      public sealed partial class PlaneMesh : pb::IMessage<PlaneMesh>
 911      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 912          , pb::IBufferMessage
 913      #endif
 914      {
 915        private static readonly pb::MessageParser<PlaneMesh> _parser = new pb::MessageParser<PlaneMesh>(() => new PlaneM
 916        private pb::UnknownFieldSet _unknownFields;
 917        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 918        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 919        public static pb::MessageParser<PlaneMesh> Parser { get { return _parser; } }
 920
 921        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 922        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 923        public static pbr::MessageDescriptor Descriptor {
 924          get { return global::DCL.ECSComponents.PBMeshRenderer.Descriptor.NestedTypes[2]; }
 925        }
 926
 927        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 928        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 929        pbr::MessageDescriptor pb::IMessage.Descriptor {
 930          get { return Descriptor; }
 931        }
 932
 933        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 934        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 935        public PlaneMesh() {
 936          OnConstruction();
 937        }
 938
 939        partial void OnConstruction();
 940
 941        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 942        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 943        public PlaneMesh(PlaneMesh other) : this() {
 944          uvs_ = other.uvs_.Clone();
 945          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 946        }
 947
 948        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 949        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 950        public PlaneMesh Clone() {
 951          return new PlaneMesh(this);
 952        }
 953
 954        /// <summary>Field number for the "uvs" field.</summary>
 955        public const int UvsFieldNumber = 1;
 956        private static readonly pb::FieldCodec<float> _repeated_uvs_codec
 957            = pb::FieldCodec.ForFloat(10);
 958        private readonly pbc::RepeatedField<float> uvs_ = new pbc::RepeatedField<float>();
 959        /// <summary>
 960        /// 16-value texture map (2D * 1 face * 2 sides * 4 vertices)
 961        /// </summary>
 962        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 963        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 964        public pbc::RepeatedField<float> Uvs {
 965          get { return uvs_; }
 966        }
 967
 968        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 969        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 970        public override bool Equals(object other) {
 971          return Equals(other as PlaneMesh);
 972        }
 973
 974        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 975        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 976        public bool Equals(PlaneMesh other) {
 977          if (ReferenceEquals(other, null)) {
 978            return false;
 979          }
 980          if (ReferenceEquals(other, this)) {
 981            return true;
 982          }
 983          if(!uvs_.Equals(other.uvs_)) return false;
 984          return Equals(_unknownFields, other._unknownFields);
 985        }
 986
 987        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 988        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 989        public override int GetHashCode() {
 990          int hash = 1;
 991          hash ^= uvs_.GetHashCode();
 992          if (_unknownFields != null) {
 993            hash ^= _unknownFields.GetHashCode();
 994          }
 995          return hash;
 996        }
 997
 998        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 999        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1000        public override string ToString() {
 1001          return pb::JsonFormatter.ToDiagnosticString(this);
 1002        }
 1003
 1004        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1005        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1006        public void WriteTo(pb::CodedOutputStream output) {
 1007        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1008          output.WriteRawMessage(this);
 1009        #else
 1010          uvs_.WriteTo(output, _repeated_uvs_codec);
 1011          if (_unknownFields != null) {
 1012            _unknownFields.WriteTo(output);
 1013          }
 1014        #endif
 1015        }
 1016
 1017        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1018        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1019        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1020        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 1021          uvs_.WriteTo(ref output, _repeated_uvs_codec);
 1022          if (_unknownFields != null) {
 1023            _unknownFields.WriteTo(ref output);
 1024          }
 1025        }
 1026        #endif
 1027
 1028        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1029        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1030        public int CalculateSize() {
 1031          int size = 0;
 1032          size += uvs_.CalculateSize(_repeated_uvs_codec);
 1033          if (_unknownFields != null) {
 1034            size += _unknownFields.CalculateSize();
 1035          }
 1036          return size;
 1037        }
 1038
 1039        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1040        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1041        public void MergeFrom(PlaneMesh other) {
 1042          if (other == null) {
 1043            return;
 1044          }
 1045          uvs_.Add(other.uvs_);
 1046          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1047        }
 1048
 1049        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1050        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1051        public void MergeFrom(pb::CodedInputStream input) {
 1052        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1053          input.ReadRawMessage(this);
 1054        #else
 1055          uint tag;
 1056          while ((tag = input.ReadTag()) != 0) {
 1057            switch(tag) {
 1058              default:
 1059                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1060                break;
 1061              case 10:
 1062              case 13: {
 1063                uvs_.AddEntriesFrom(input, _repeated_uvs_codec);
 1064                break;
 1065              }
 1066            }
 1067          }
 1068        #endif
 1069        }
 1070
 1071        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1072        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1073        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1074        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1075          uint tag;
 1076          while ((tag = input.ReadTag()) != 0) {
 1077            switch(tag) {
 1078              default:
 1079                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1080                break;
 1081              case 10:
 1082              case 13: {
 1083                uvs_.AddEntriesFrom(ref input, _repeated_uvs_codec);
 1084                break;
 1085              }
 1086            }
 1087          }
 1088        }
 1089        #endif
 1090
 1091      }
 1092
 1093      /// <summary>
 1094      /// SphereMesh renders a spherical shape.
 1095      /// </summary>
 1096      public sealed partial class SphereMesh : pb::IMessage<SphereMesh>
 1097      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1098          , pb::IBufferMessage
 1099      #endif
 1100      {
 1101        private static readonly pb::MessageParser<SphereMesh> _parser = new pb::MessageParser<SphereMesh>(() => new Sphe
 1102        private pb::UnknownFieldSet _unknownFields;
 1103        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1104        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1105        public static pb::MessageParser<SphereMesh> Parser { get { return _parser; } }
 1106
 1107        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1108        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1109        public static pbr::MessageDescriptor Descriptor {
 1110          get { return global::DCL.ECSComponents.PBMeshRenderer.Descriptor.NestedTypes[3]; }
 1111        }
 1112
 1113        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1114        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1115        pbr::MessageDescriptor pb::IMessage.Descriptor {
 1116          get { return Descriptor; }
 1117        }
 1118
 1119        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1120        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1121        public SphereMesh() {
 1122          OnConstruction();
 1123        }
 1124
 1125        partial void OnConstruction();
 1126
 1127        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1128        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1129        public SphereMesh(SphereMesh other) : this() {
 1130          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 1131        }
 1132
 1133        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1134        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1135        public SphereMesh Clone() {
 1136          return new SphereMesh(this);
 1137        }
 1138
 1139        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1140        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1141        public override bool Equals(object other) {
 1142          return Equals(other as SphereMesh);
 1143        }
 1144
 1145        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1146        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1147        public bool Equals(SphereMesh other) {
 1148          if (ReferenceEquals(other, null)) {
 1149            return false;
 1150          }
 1151          if (ReferenceEquals(other, this)) {
 1152            return true;
 1153          }
 1154          return Equals(_unknownFields, other._unknownFields);
 1155        }
 1156
 1157        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1158        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1159        public override int GetHashCode() {
 1160          int hash = 1;
 1161          if (_unknownFields != null) {
 1162            hash ^= _unknownFields.GetHashCode();
 1163          }
 1164          return hash;
 1165        }
 1166
 1167        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1168        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1169        public override string ToString() {
 1170          return pb::JsonFormatter.ToDiagnosticString(this);
 1171        }
 1172
 1173        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1174        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1175        public void WriteTo(pb::CodedOutputStream output) {
 1176        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1177          output.WriteRawMessage(this);
 1178        #else
 1179          if (_unknownFields != null) {
 1180            _unknownFields.WriteTo(output);
 1181          }
 1182        #endif
 1183        }
 1184
 1185        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1186        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1187        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1188        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 1189          if (_unknownFields != null) {
 1190            _unknownFields.WriteTo(ref output);
 1191          }
 1192        }
 1193        #endif
 1194
 1195        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1196        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1197        public int CalculateSize() {
 1198          int size = 0;
 1199          if (_unknownFields != null) {
 1200            size += _unknownFields.CalculateSize();
 1201          }
 1202          return size;
 1203        }
 1204
 1205        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1206        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1207        public void MergeFrom(SphereMesh other) {
 1208          if (other == null) {
 1209            return;
 1210          }
 1211          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1212        }
 1213
 1214        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1215        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1216        public void MergeFrom(pb::CodedInputStream input) {
 1217        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1218          input.ReadRawMessage(this);
 1219        #else
 1220          uint tag;
 1221          while ((tag = input.ReadTag()) != 0) {
 1222            switch(tag) {
 1223              default:
 1224                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1225                break;
 1226            }
 1227          }
 1228        #endif
 1229        }
 1230
 1231        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1232        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1233        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1234        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1235          uint tag;
 1236          while ((tag = input.ReadTag()) != 0) {
 1237            switch(tag) {
 1238              default:
 1239                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1240                break;
 1241            }
 1242          }
 1243        }
 1244        #endif
 1245
 1246      }
 1247
 1248    }
 1249    #endregion
 1250
 1251  }
 1252
 1253  #endregion
 1254
 1255}
 1256
 1257#endregion Designer generated code