< Summary

Class:DCL.ECSComponents.PBMeshRenderer
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/MeshRenderer.gen.cs
Covered lines:86
Uncovered lines:248
Coverable lines:334
Total lines:1257
Line coverage:25.7% (86 of 334)
Covered branches:0
Total branches:0
Covered methods:48
Total methods:95
Method coverage:50.5% (48 of 95)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
PBMeshRenderer()0%110100%
get_Descriptor()0%110100%
PBMeshRenderer()0%110100%
PBMeshRenderer(...)0%30500%
Clone()0%2100%
ClearMesh()0%2100%
Equals(...)0%110100%
Equals(...)0%40.778020%
GetHashCode()0%6.026092.31%
ToString()0%110100%
WriteTo(...)0%42600%
CalculateSize()0%42600%
MergeFrom(...)0%1101000%
MergeFrom(...)0%1321100%
BoxMesh()0%110100%
get_Descriptor()0%110100%
BoxMesh(...)0%2100%
Clone()0%2100%
BoxMesh()0%110100%
Equals(...)0%2100%
Equals(...)0%20400%
GetHashCode()0%2.032080%
ToString()0%2100%
WriteTo(...)0%6200%
CalculateSize()0%6200%
MergeFrom(...)0%6200%
MergeFrom(...)0%20400%
CylinderMesh()0%110100%
get_Descriptor()0%110100%
CylinderMesh()0%110100%
CylinderMesh(...)0%2100%
Clone()0%2100%
ClearRadiusTop()0%2100%
ClearRadiusBottom()0%2100%
Equals(...)0%2100%
Equals(...)0%30500%
GetHashCode()0%4.844062.5%
ToString()0%2100%
WriteTo(...)0%20400%
CalculateSize()0%20400%
MergeFrom(...)0%20400%
MergeFrom(...)0%20400%
PlaneMesh()0%110100%
get_Descriptor()0%110100%
PlaneMesh(...)0%2100%
Clone()0%2100%
PlaneMesh()0%110100%
Equals(...)0%2100%
Equals(...)0%20400%
GetHashCode()0%2.032080%
ToString()0%2100%
WriteTo(...)0%6200%
CalculateSize()0%6200%
MergeFrom(...)0%6200%
MergeFrom(...)0%20400%
SphereMesh()0%110100%
get_Descriptor()0%110100%
SphereMesh()0%110100%
SphereMesh(...)0%2100%
Clone()0%2100%
Equals(...)0%2100%
Equals(...)0%12300%
GetHashCode()0%2.062075%
ToString()0%2100%
WriteTo(...)0%6200%
CalculateSize()0%6200%
MergeFrom(...)0%6200%
MergeFrom(...)0%6200%

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 {
 20      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static MeshRendererReflection() {
 25      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="));
 41      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          }));
 49    }
 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  {
 169    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)]
 173    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 {
 3678      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 {
 2084      get { return Descriptor; }
 85    }
 86
 87    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 88    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1089    public PBMeshRenderer() {
 90      OnConstruction();
 1091    }
 92
 93    partial void OnConstruction();
 94
 95    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 96    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 097    public PBMeshRenderer(PBMeshRenderer other) : this() {
 098      switch (other.MeshCase) {
 99        case MeshOneofCase.Box:
 0100          Box = other.Box.Clone();
 0101          break;
 102        case MeshOneofCase.Sphere:
 0103          Sphere = other.Sphere.Clone();
 0104          break;
 105        case MeshOneofCase.Cylinder:
 0106          Cylinder = other.Cylinder.Clone();
 0107          break;
 108        case MeshOneofCase.Plane:
 0109          Plane = other.Plane.Clone();
 110          break;
 111      }
 112
 0113      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0114    }
 115
 116    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 117    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 118    public PBMeshRenderer Clone() {
 0119      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 {
 58127      get { return meshCase_ == MeshOneofCase.Box ? (global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh) mesh_ : nul
 128      set {
 5129        mesh_ = value;
 5130        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Box;
 5131      }
 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 {
 26139      get { return meshCase_ == MeshOneofCase.Sphere ? (global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh) mesh_
 140      set {
 1141        mesh_ = value;
 1142        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Sphere;
 1143      }
 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 {
 37151      get { return meshCase_ == MeshOneofCase.Cylinder ? (global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh) m
 152      set {
 2153        mesh_ = value;
 2154        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Cylinder;
 2155      }
 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 {
 27163      get { return meshCase_ == MeshOneofCase.Plane ? (global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh) mesh_ :
 164      set {
 1165        mesh_ = value;
 1166        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Plane;
 1167      }
 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 {
 11183      get { return meshCase_; }
 184    }
 185
 186    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 187    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 188    public void ClearMesh() {
 0189      meshCase_ = MeshOneofCase.None;
 0190      mesh_ = null;
 0191    }
 192
 193    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 194    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 195    public override bool Equals(object other) {
 39196      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) {
 39202      if (ReferenceEquals(other, null)) {
 0203        return false;
 204      }
 39205      if (ReferenceEquals(other, this)) {
 39206        return true;
 207      }
 0208      if (!object.Equals(Box, other.Box)) return false;
 0209      if (!object.Equals(Sphere, other.Sphere)) return false;
 0210      if (!object.Equals(Cylinder, other.Cylinder)) return false;
 0211      if (!object.Equals(Plane, other.Plane)) return false;
 0212      if (MeshCase != other.MeshCase) return false;
 0213      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() {
 57219      int hash = 1;
 89220      if (meshCase_ == MeshOneofCase.Box) hash ^= Box.GetHashCode();
 63221      if (meshCase_ == MeshOneofCase.Sphere) hash ^= Sphere.GetHashCode();
 70222      if (meshCase_ == MeshOneofCase.Cylinder) hash ^= Cylinder.GetHashCode();
 63223      if (meshCase_ == MeshOneofCase.Plane) hash ^= Plane.GetHashCode();
 57224      hash ^= (int) meshCase_;
 57225      if (_unknownFields != null) {
 0226        hash ^= _unknownFields.GetHashCode();
 227      }
 57228      return hash;
 229    }
 230
 231    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 232    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 233    public override string ToString() {
 10234      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
 0243      if (meshCase_ == MeshOneofCase.Box) {
 0244        output.WriteRawTag(10);
 0245        output.WriteMessage(Box);
 246      }
 0247      if (meshCase_ == MeshOneofCase.Sphere) {
 0248        output.WriteRawTag(18);
 0249        output.WriteMessage(Sphere);
 250      }
 0251      if (meshCase_ == MeshOneofCase.Cylinder) {
 0252        output.WriteRawTag(26);
 0253        output.WriteMessage(Cylinder);
 254      }
 0255      if (meshCase_ == MeshOneofCase.Plane) {
 0256        output.WriteRawTag(34);
 0257        output.WriteMessage(Plane);
 258      }
 0259      if (_unknownFields != null) {
 0260        _unknownFields.WriteTo(output);
 261      }
 262    #endif
 0263    }
 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() {
 0294      int size = 0;
 0295      if (meshCase_ == MeshOneofCase.Box) {
 0296        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Box);
 297      }
 0298      if (meshCase_ == MeshOneofCase.Sphere) {
 0299        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Sphere);
 300      }
 0301      if (meshCase_ == MeshOneofCase.Cylinder) {
 0302        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cylinder);
 303      }
 0304      if (meshCase_ == MeshOneofCase.Plane) {
 0305        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Plane);
 306      }
 0307      if (_unknownFields != null) {
 0308        size += _unknownFields.CalculateSize();
 309      }
 0310      return size;
 311    }
 312
 313    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 314    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 315    public void MergeFrom(PBMeshRenderer other) {
 0316      if (other == null) {
 0317        return;
 318      }
 0319      switch (other.MeshCase) {
 320        case MeshOneofCase.Box:
 0321          if (Box == null) {
 0322            Box = new global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh();
 323          }
 0324          Box.MergeFrom(other.Box);
 0325          break;
 326        case MeshOneofCase.Sphere:
 0327          if (Sphere == null) {
 0328            Sphere = new global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh();
 329          }
 0330          Sphere.MergeFrom(other.Sphere);
 0331          break;
 332        case MeshOneofCase.Cylinder:
 0333          if (Cylinder == null) {
 0334            Cylinder = new global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh();
 335          }
 0336          Cylinder.MergeFrom(other.Cylinder);
 0337          break;
 338        case MeshOneofCase.Plane:
 0339          if (Plane == null) {
 0340            Plane = new global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh();
 341          }
 0342          Plane.MergeFrom(other.Plane);
 343          break;
 344      }
 345
 0346      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0347    }
 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;
 0356      while ((tag = input.ReadTag()) != 0) {
 357        switch(tag) {
 358          default:
 0359            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0360            break;
 361          case 10: {
 0362            global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh subBuilder = new global::DCL.ECSComponents.PBMeshRend
 0363            if (meshCase_ == MeshOneofCase.Box) {
 0364              subBuilder.MergeFrom(Box);
 365            }
 0366            input.ReadMessage(subBuilder);
 0367            Box = subBuilder;
 0368            break;
 369          }
 370          case 18: {
 0371            global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh subBuilder = new global::DCL.ECSComponents.PBMeshR
 0372            if (meshCase_ == MeshOneofCase.Sphere) {
 0373              subBuilder.MergeFrom(Sphere);
 374            }
 0375            input.ReadMessage(subBuilder);
 0376            Sphere = subBuilder;
 0377            break;
 378          }
 379          case 26: {
 0380            global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh subBuilder = new global::DCL.ECSComponents.PBMes
 0381            if (meshCase_ == MeshOneofCase.Cylinder) {
 0382              subBuilder.MergeFrom(Cylinder);
 383            }
 0384            input.ReadMessage(subBuilder);
 0385            Cylinder = subBuilder;
 0386            break;
 387          }
 388          case 34: {
 0389            global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh subBuilder = new global::DCL.ECSComponents.PBMeshRe
 0390            if (meshCase_ == MeshOneofCase.Plane) {
 0391              subBuilder.MergeFrom(Plane);
 392            }
 0393            input.ReadMessage(subBuilder);
 0394            Plane = subBuilder;
 395            break;
 396          }
 397        }
 398      }
 399    #endif
 0400    }
 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      {
 1466        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)]
 1470        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 {
 4475          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 {
 4481          get { return Descriptor; }
 482        }
 483
 484        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 485        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5486        public BoxMesh() {
 487          OnConstruction();
 5488        }
 489
 490        partial void OnConstruction();
 491
 492        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 493        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0494        public BoxMesh(BoxMesh other) : this() {
 0495          uvs_ = other.uvs_.Clone();
 0496          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0497        }
 498
 499        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 500        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 501        public BoxMesh Clone() {
 0502          return new BoxMesh(this);
 503        }
 504
 505        /// <summary>Field number for the "uvs" field.</summary>
 506        public const int UvsFieldNumber = 1;
 1507        private static readonly pb::FieldCodec<float> _repeated_uvs_codec
 508            = pb::FieldCodec.ForFloat(10);
 5509        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 {
 8516          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) {
 0522          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) {
 0528          if (ReferenceEquals(other, null)) {
 0529            return false;
 530          }
 0531          if (ReferenceEquals(other, this)) {
 0532            return true;
 533          }
 0534          if(!uvs_.Equals(other.uvs_)) return false;
 0535          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() {
 32541          int hash = 1;
 32542          hash ^= uvs_.GetHashCode();
 32543          if (_unknownFields != null) {
 0544            hash ^= _unknownFields.GetHashCode();
 545          }
 32546          return hash;
 547        }
 548
 549        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 550        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 551        public override string ToString() {
 0552          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
 0561          uvs_.WriteTo(output, _repeated_uvs_codec);
 0562          if (_unknownFields != null) {
 0563            _unknownFields.WriteTo(output);
 564          }
 565        #endif
 0566        }
 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() {
 0582          int size = 0;
 0583          size += uvs_.CalculateSize(_repeated_uvs_codec);
 0584          if (_unknownFields != null) {
 0585            size += _unknownFields.CalculateSize();
 586          }
 0587          return size;
 588        }
 589
 590        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 591        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 592        public void MergeFrom(BoxMesh other) {
 0593          if (other == null) {
 0594            return;
 595          }
 0596          uvs_.Add(other.uvs_);
 0597          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0598        }
 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;
 0607          while ((tag = input.ReadTag()) != 0) {
 608            switch(tag) {
 609              default:
 0610                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0611                break;
 612              case 10:
 613              case 13: {
 0614                uvs_.AddEntriesFrom(input, _repeated_uvs_codec);
 615                break;
 616              }
 617            }
 618          }
 619        #endif
 0620        }
 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      {
 1652        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)]
 1657        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 {
 4662          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 {
 4668          get { return Descriptor; }
 669        }
 670
 671        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 672        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2673        public CylinderMesh() {
 674          OnConstruction();
 2675        }
 676
 677        partial void OnConstruction();
 678
 679        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 680        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0681        public CylinderMesh(CylinderMesh other) : this() {
 0682          _hasBits0 = other._hasBits0;
 0683          radiusTop_ = other.radiusTop_;
 0684          radiusBottom_ = other.radiusBottom_;
 0685          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0686        }
 687
 688        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 689        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 690        public CylinderMesh Clone() {
 0691          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 {
 4703          get { if ((_hasBits0 & 1) != 0) { return radiusTop_; } else { return 0F; } }
 704          set {
 0705            _hasBits0 |= 1;
 0706            radiusTop_ = value;
 0707          }
 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 {
 17713          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() {
 0719          _hasBits0 &= ~1;
 0720        }
 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 {
 4731          get { if ((_hasBits0 & 2) != 0) { return radiusBottom_; } else { return 0F; } }
 732          set {
 0733            _hasBits0 |= 2;
 0734            radiusBottom_ = value;
 0735          }
 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 {
 17741          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() {
 0747          _hasBits0 &= ~2;
 0748        }
 749
 750        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 751        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 752        public override bool Equals(object other) {
 0753          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) {
 0759          if (ReferenceEquals(other, null)) {
 0760            return false;
 761          }
 0762          if (ReferenceEquals(other, this)) {
 0763            return true;
 764          }
 0765          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusTop, other.RadiusTop)) return f
 0766          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusBottom, other.RadiusBottom)) re
 0767          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() {
 13773          int hash = 1;
 13774          if (HasRadiusTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusTop);
 13775          if (HasRadiusBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusBo
 13776          if (_unknownFields != null) {
 0777            hash ^= _unknownFields.GetHashCode();
 778          }
 13779          return hash;
 780        }
 781
 782        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 783        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 784        public override string ToString() {
 0785          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
 0794          if (HasRadiusTop) {
 0795            output.WriteRawTag(13);
 0796            output.WriteFloat(RadiusTop);
 797          }
 0798          if (HasRadiusBottom) {
 0799            output.WriteRawTag(21);
 0800            output.WriteFloat(RadiusBottom);
 801          }
 0802          if (_unknownFields != null) {
 0803            _unknownFields.WriteTo(output);
 804          }
 805        #endif
 0806        }
 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() {
 0829          int size = 0;
 0830          if (HasRadiusTop) {
 0831            size += 1 + 4;
 832          }
 0833          if (HasRadiusBottom) {
 0834            size += 1 + 4;
 835          }
 0836          if (_unknownFields != null) {
 0837            size += _unknownFields.CalculateSize();
 838          }
 0839          return size;
 840        }
 841
 842        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 843        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 844        public void MergeFrom(CylinderMesh other) {
 0845          if (other == null) {
 0846            return;
 847          }
 0848          if (other.HasRadiusTop) {
 0849            RadiusTop = other.RadiusTop;
 850          }
 0851          if (other.HasRadiusBottom) {
 0852            RadiusBottom = other.RadiusBottom;
 853          }
 0854          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0855        }
 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;
 0864          while ((tag = input.ReadTag()) != 0) {
 865            switch(tag) {
 866              default:
 0867                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0868                break;
 869              case 13: {
 0870                RadiusTop = input.ReadFloat();
 0871                break;
 872              }
 873              case 21: {
 0874                RadiusBottom = input.ReadFloat();
 875                break;
 876              }
 877            }
 878          }
 879        #endif
 0880        }
 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      {
 1915        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)]
 1919        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 {
 4924          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 {
 4930          get { return Descriptor; }
 931        }
 932
 933        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 934        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1935        public PlaneMesh() {
 936          OnConstruction();
 1937        }
 938
 939        partial void OnConstruction();
 940
 941        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 942        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0943        public PlaneMesh(PlaneMesh other) : this() {
 0944          uvs_ = other.uvs_.Clone();
 0945          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0946        }
 947
 948        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 949        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 950        public PlaneMesh Clone() {
 0951          return new PlaneMesh(this);
 952        }
 953
 954        /// <summary>Field number for the "uvs" field.</summary>
 955        public const int UvsFieldNumber = 1;
 1956        private static readonly pb::FieldCodec<float> _repeated_uvs_codec
 957            = pb::FieldCodec.ForFloat(10);
 1958        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 {
 3965          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) {
 0971          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) {
 0977          if (ReferenceEquals(other, null)) {
 0978            return false;
 979          }
 0980          if (ReferenceEquals(other, this)) {
 0981            return true;
 982          }
 0983          if(!uvs_.Equals(other.uvs_)) return false;
 0984          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() {
 6990          int hash = 1;
 6991          hash ^= uvs_.GetHashCode();
 6992          if (_unknownFields != null) {
 0993            hash ^= _unknownFields.GetHashCode();
 994          }
 6995          return hash;
 996        }
 997
 998        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 999        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1000        public override string ToString() {
 01001          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
 01010          uvs_.WriteTo(output, _repeated_uvs_codec);
 01011          if (_unknownFields != null) {
 01012            _unknownFields.WriteTo(output);
 1013          }
 1014        #endif
 01015        }
 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() {
 01031          int size = 0;
 01032          size += uvs_.CalculateSize(_repeated_uvs_codec);
 01033          if (_unknownFields != null) {
 01034            size += _unknownFields.CalculateSize();
 1035          }
 01036          return size;
 1037        }
 1038
 1039        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1040        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1041        public void MergeFrom(PlaneMesh other) {
 01042          if (other == null) {
 01043            return;
 1044          }
 01045          uvs_.Add(other.uvs_);
 01046          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 01047        }
 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;
 01056          while ((tag = input.ReadTag()) != 0) {
 1057            switch(tag) {
 1058              default:
 01059                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 01060                break;
 1061              case 10:
 1062              case 13: {
 01063                uvs_.AddEntriesFrom(input, _repeated_uvs_codec);
 1064                break;
 1065              }
 1066            }
 1067          }
 1068        #endif
 01069        }
 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      {
 11101        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)]
 11105        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 {
 41110          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 {
 41116          get { return Descriptor; }
 1117        }
 1118
 1119        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1120        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 11121        public SphereMesh() {
 1122          OnConstruction();
 11123        }
 1124
 1125        partial void OnConstruction();
 1126
 1127        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1128        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 01129        public SphereMesh(SphereMesh other) : this() {
 01130          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 01131        }
 1132
 1133        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1134        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1135        public SphereMesh Clone() {
 01136          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) {
 01142          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) {
 01148          if (ReferenceEquals(other, null)) {
 01149            return false;
 1150          }
 01151          if (ReferenceEquals(other, this)) {
 01152            return true;
 1153          }
 01154          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() {
 61160          int hash = 1;
 61161          if (_unknownFields != null) {
 01162            hash ^= _unknownFields.GetHashCode();
 1163          }
 61164          return hash;
 1165        }
 1166
 1167        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1168        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1169        public override string ToString() {
 01170          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
 01179          if (_unknownFields != null) {
 01180            _unknownFields.WriteTo(output);
 1181          }
 1182        #endif
 01183        }
 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() {
 01198          int size = 0;
 01199          if (_unknownFields != null) {
 01200            size += _unknownFields.CalculateSize();
 1201          }
 01202          return size;
 1203        }
 1204
 1205        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1206        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1207        public void MergeFrom(SphereMesh other) {
 01208          if (other == null) {
 01209            return;
 1210          }
 01211          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 01212        }
 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;
 01221          while ((tag = input.ReadTag()) != 0) {
 1222            switch(tag) {
 1223              default:
 01224                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1225                break;
 1226            }
 1227          }
 1228        #endif
 01229        }
 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

Methods/Properties

PBMeshRenderer()
Parser()
Descriptor()
get_Descriptor()
PBMeshRenderer()
PBMeshRenderer(DCL.ECSComponents.PBMeshRenderer)
Clone()
Box()
Box(DCL.ECSComponents.PBMeshRenderer/Types/BoxMesh)
Sphere()
Sphere(DCL.ECSComponents.PBMeshRenderer/Types/SphereMesh)
Cylinder()
Cylinder(DCL.ECSComponents.PBMeshRenderer/Types/CylinderMesh)
Plane()
Plane(DCL.ECSComponents.PBMeshRenderer/Types/PlaneMesh)
MeshCase()
ClearMesh()
Equals(System.Object)
Equals(DCL.ECSComponents.PBMeshRenderer)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
CalculateSize()
MergeFrom(DCL.ECSComponents.PBMeshRenderer)
MergeFrom(Google.Protobuf.CodedInputStream)
BoxMesh()
Parser()
Descriptor()
get_Descriptor()
BoxMesh()
BoxMesh(DCL.ECSComponents.PBMeshRenderer/Types/BoxMesh)
Clone()
Uvs()
Equals(System.Object)
Equals(DCL.ECSComponents.PBMeshRenderer/Types/BoxMesh)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
CalculateSize()
MergeFrom(DCL.ECSComponents.PBMeshRenderer/Types/BoxMesh)
MergeFrom(Google.Protobuf.CodedInputStream)
CylinderMesh()
Parser()
Descriptor()
get_Descriptor()
CylinderMesh()
CylinderMesh(DCL.ECSComponents.PBMeshRenderer/Types/CylinderMesh)
Clone()
RadiusTop()
RadiusTop(System.Single)
HasRadiusTop()
ClearRadiusTop()
RadiusBottom()
RadiusBottom(System.Single)
HasRadiusBottom()
ClearRadiusBottom()
Equals(System.Object)
Equals(DCL.ECSComponents.PBMeshRenderer/Types/CylinderMesh)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
CalculateSize()
MergeFrom(DCL.ECSComponents.PBMeshRenderer/Types/CylinderMesh)
MergeFrom(Google.Protobuf.CodedInputStream)
PlaneMesh()
Parser()
Descriptor()
get_Descriptor()
PlaneMesh()
PlaneMesh(DCL.ECSComponents.PBMeshRenderer/Types/PlaneMesh)
Clone()
Uvs()
Equals(System.Object)
Equals(DCL.ECSComponents.PBMeshRenderer/Types/PlaneMesh)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
CalculateSize()
MergeFrom(DCL.ECSComponents.PBMeshRenderer/Types/PlaneMesh)
MergeFrom(Google.Protobuf.CodedInputStream)
SphereMesh()
Parser()
Descriptor()
get_Descriptor()
SphereMesh()
SphereMesh(DCL.ECSComponents.PBMeshRenderer/Types/SphereMesh)
Clone()
Equals(System.Object)
Equals(DCL.ECSComponents.PBMeshRenderer/Types/SphereMesh)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
CalculateSize()
MergeFrom(DCL.ECSComponents.PBMeshRenderer/Types/SphereMesh)
MergeFrom(Google.Protobuf.CodedInputStream)