< Summary

Class:DCL.ECSComponents.PBMaterial
Assembly:DCL.ECSComponents.ProtobufData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/Material.gen.cs
Covered lines:52
Uncovered lines:288
Coverable lines:340
Total lines:1056
Line coverage:15.2% (52 of 340)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
PBMaterial()0%110100%
get_Descriptor()0%2100%
PBMaterial()0%110100%
PBMaterial(...)0%15150100%
Clone()0%2100%
ClearAlphaTest()0%2100%
ClearCastShadows()0%2100%
ClearTransparencyMode()0%2100%
ClearMetallic()0%2100%
ClearRoughness()0%2100%
ClearGlossiness()0%2100%
ClearSpecularIntensity()0%2100%
ClearEmissiveIntensity()0%2100%
ClearDirectIntensity()0%2100%
Equals(...)0%2100%
Equals(...)0%54.0219054.05%
GetHashCode()0%3421800%
ToString()0%2100%
WriteTo(...)0%3421800%
CalculateSize()0%3421800%
MergeFrom(...)0%6502500%
MergeFrom(...)0%10563200%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/Material.gen.cs

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/sdk/components/material.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/material.proto</summary>
 15  public static partial class MaterialReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for decentraland/sdk/components/material.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 20      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static MaterialReflection() {
 25      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CipkZWNlbnRyYWxhbmQvc2RrL2NvbXBvbmVudHMvbWF0ZXJpYWwucHJvdG8S",
 28            "G2RlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cxogZGVjZW50cmFsYW5kL2Nv",
 29            "bW1vbi9jb2xvcnMucHJvdG8aIWRlY2VudHJhbGFuZC9jb21tb24vdGV4dHVy",
 30            "ZS5wcm90byKKCAoKUEJNYXRlcmlhbBI3Cgd0ZXh0dXJlGAEgASgLMiEuZGVj",
 31            "ZW50cmFsYW5kLmNvbW1vbi5UZXh0dXJlVW5pb25IAIgBARIXCgphbHBoYV90",
 32            "ZXN0GAIgASgCSAGIAQESGQoMY2FzdF9zaGFkb3dzGAMgASgISAKIAQESPQoN",
 33            "YWxwaGFfdGV4dHVyZRgEIAEoCzIhLmRlY2VudHJhbGFuZC5jb21tb24uVGV4",
 34            "dHVyZVVuaW9uSAOIAQESQAoQZW1pc3NpdmVfdGV4dHVyZRgFIAEoCzIhLmRl",
 35            "Y2VudHJhbGFuZC5jb21tb24uVGV4dHVyZVVuaW9uSASIAQESPAoMYnVtcF90",
 36            "ZXh0dXJlGAYgASgLMiEuZGVjZW50cmFsYW5kLmNvbW1vbi5UZXh0dXJlVW5p",
 37            "b25IBYgBARI2CgxhbGJlZG9fY29sb3IYByABKAsyGy5kZWNlbnRyYWxhbmQu",
 38            "Y29tbW9uLkNvbG9yM0gGiAEBEjgKDmVtaXNzaXZlX2NvbG9yGAggASgLMhsu",
 39            "ZGVjZW50cmFsYW5kLmNvbW1vbi5Db2xvcjNIB4gBARI8ChJyZWZsZWN0aXZp",
 40            "dHlfY29sb3IYCSABKAsyGy5kZWNlbnRyYWxhbmQuY29tbW9uLkNvbG9yM0gI",
 41            "iAEBElUKEXRyYW5zcGFyZW5jeV9tb2RlGAogASgOMjUuZGVjZW50cmFsYW5k",
 42            "LnNkay5jb21wb25lbnRzLk1hdGVyaWFsVHJhbnNwYXJlbmN5TW9kZUgJiAEB",
 43            "EhUKCG1ldGFsbGljGAsgASgCSAqIAQESFgoJcm91Z2huZXNzGAwgASgCSAuI",
 44            "AQESFwoKZ2xvc3NpbmVzcxgNIAEoAkgMiAEBEh8KEnNwZWN1bGFyX2ludGVu",
 45            "c2l0eRgOIAEoAkgNiAEBEh8KEmVtaXNzaXZlX2ludGVuc2l0eRgPIAEoAkgO",
 46            "iAEBEh0KEGRpcmVjdF9pbnRlbnNpdHkYECABKAJID4gBAUIKCghfdGV4dHVy",
 47            "ZUINCgtfYWxwaGFfdGVzdEIPCg1fY2FzdF9zaGFkb3dzQhAKDl9hbHBoYV90",
 48            "ZXh0dXJlQhMKEV9lbWlzc2l2ZV90ZXh0dXJlQg8KDV9idW1wX3RleHR1cmVC",
 49            "DwoNX2FsYmVkb19jb2xvckIRCg9fZW1pc3NpdmVfY29sb3JCFQoTX3JlZmxl",
 50            "Y3Rpdml0eV9jb2xvckIUChJfdHJhbnNwYXJlbmN5X21vZGVCCwoJX21ldGFs",
 51            "bGljQgwKCl9yb3VnaG5lc3NCDQoLX2dsb3NzaW5lc3NCFQoTX3NwZWN1bGFy",
 52            "X2ludGVuc2l0eUIVChNfZW1pc3NpdmVfaW50ZW5zaXR5QhMKEV9kaXJlY3Rf",
 53            "aW50ZW5zaXR5KoUBChhNYXRlcmlhbFRyYW5zcGFyZW5jeU1vZGUSDgoKTVRN",
 54            "X09QQVFVRRAAEhIKDk1UTV9BTFBIQV9URVNUEAESEwoPTVRNX0FMUEhBX0JM",
 55            "RU5EEAISIgoeTVRNX0FMUEhBX1RFU1RfQU5EX0FMUEhBX0JMRU5EEAMSDAoI",
 56            "TVRNX0FVVE8QBEIUqgIRRENMLkVDU0NvbXBvbmVudHNiBnByb3RvMw=="));
 57      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 58          new pbr::FileDescriptor[] { global::DCL.ECSComponents.ColorsReflection.Descriptor, global::DCL.ECSComponents.T
 59          new pbr::GeneratedClrTypeInfo(new[] {typeof(global::DCL.ECSComponents.MaterialTransparencyMode), }, null, new 
 60            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMaterial), global::DCL.ECSComponents.PBMate
 61          }));
 62    }
 63    #endregion
 64
 65  }
 66  #region Enums
 67  public enum MaterialTransparencyMode {
 68    [pbr::OriginalName("MTM_OPAQUE")] MtmOpaque = 0,
 69    [pbr::OriginalName("MTM_ALPHA_TEST")] MtmAlphaTest = 1,
 70    [pbr::OriginalName("MTM_ALPHA_BLEND")] MtmAlphaBlend = 2,
 71    [pbr::OriginalName("MTM_ALPHA_TEST_AND_ALPHA_BLEND")] MtmAlphaTestAndAlphaBlend = 3,
 72    [pbr::OriginalName("MTM_AUTO")] MtmAuto = 4,
 73  }
 74
 75  #endregion
 76
 77  #region Messages
 78  public sealed partial class PBMaterial : pb::IMessage<PBMaterial>
 79  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 80      , pb::IBufferMessage
 81  #endif
 82  {
 183    private static readonly pb::MessageParser<PBMaterial> _parser = new pb::MessageParser<PBMaterial>(() => new PBMateri
 84    private pb::UnknownFieldSet _unknownFields;
 85    private int _hasBits0;
 86    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 87    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 088    public static pb::MessageParser<PBMaterial> Parser { get { return _parser; } }
 89
 90    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 91    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 92    public static pbr::MessageDescriptor Descriptor {
 093      get { return global::DCL.ECSComponents.MaterialReflection.Descriptor.MessageTypes[0]; }
 94    }
 95
 96    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 97    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 98    pbr::MessageDescriptor pb::IMessage.Descriptor {
 099      get { return Descriptor; }
 100    }
 101
 102    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 103    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1104    public PBMaterial() {
 105      OnConstruction();
 1106    }
 107
 108    partial void OnConstruction();
 109
 110    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 111    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5112    public PBMaterial(PBMaterial other) : this() {
 5113      _hasBits0 = other._hasBits0;
 5114      texture_ = other.texture_ != null ? other.texture_.Clone() : null;
 5115      alphaTest_ = other.alphaTest_;
 5116      castShadows_ = other.castShadows_;
 5117      alphaTexture_ = other.alphaTexture_ != null ? other.alphaTexture_.Clone() : null;
 5118      emissiveTexture_ = other.emissiveTexture_ != null ? other.emissiveTexture_.Clone() : null;
 5119      bumpTexture_ = other.bumpTexture_ != null ? other.bumpTexture_.Clone() : null;
 5120      albedoColor_ = other.albedoColor_ != null ? other.albedoColor_.Clone() : null;
 5121      emissiveColor_ = other.emissiveColor_ != null ? other.emissiveColor_.Clone() : null;
 5122      reflectivityColor_ = other.reflectivityColor_ != null ? other.reflectivityColor_.Clone() : null;
 5123      transparencyMode_ = other.transparencyMode_;
 5124      metallic_ = other.metallic_;
 5125      roughness_ = other.roughness_;
 5126      glossiness_ = other.glossiness_;
 5127      specularIntensity_ = other.specularIntensity_;
 5128      emissiveIntensity_ = other.emissiveIntensity_;
 5129      directIntensity_ = other.directIntensity_;
 5130      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 5131    }
 132
 133    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 134    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 135    public PBMaterial Clone() {
 0136      return new PBMaterial(this);
 137    }
 138
 139    /// <summary>Field number for the "texture" field.</summary>
 140    public const int TextureFieldNumber = 1;
 141    private global::DCL.ECSComponents.TextureUnion texture_;
 142    /// <summary>
 143    /// default = null
 144    /// </summary>
 145    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 146    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 147    public global::DCL.ECSComponents.TextureUnion Texture {
 1148      get { return texture_; }
 149      set {
 1150        texture_ = value;
 1151      }
 152    }
 153
 154    /// <summary>Field number for the "alpha_test" field.</summary>
 155    public const int AlphaTestFieldNumber = 2;
 156    private float alphaTest_;
 157    /// <summary>
 158    /// default = 0.5. range value: from 0 to 1
 159    /// </summary>
 160    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 161    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 162    public float AlphaTest {
 8163      get { if ((_hasBits0 & 1) != 0) { return alphaTest_; } else { return 0F; } }
 164      set {
 0165        _hasBits0 |= 1;
 0166        alphaTest_ = value;
 0167      }
 168    }
 169    /// <summary>Gets whether the "alpha_test" field is set</summary>
 170    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 171    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 172    public bool HasAlphaTest {
 0173      get { return (_hasBits0 & 1) != 0; }
 174    }
 175    /// <summary>Clears the value of the "alpha_test" field</summary>
 176    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 177    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 178    public void ClearAlphaTest() {
 0179      _hasBits0 &= ~1;
 0180    }
 181
 182    /// <summary>Field number for the "cast_shadows" field.</summary>
 183    public const int CastShadowsFieldNumber = 3;
 184    private bool castShadows_;
 185    /// <summary>
 186    /// default =  true
 187    /// </summary>
 188    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 189    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 190    public bool CastShadows {
 0191      get { if ((_hasBits0 & 2) != 0) { return castShadows_; } else { return false; } }
 192      set {
 0193        _hasBits0 |= 2;
 0194        castShadows_ = value;
 0195      }
 196    }
 197    /// <summary>Gets whether the "cast_shadows" field is set</summary>
 198    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 199    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 200    public bool HasCastShadows {
 0201      get { return (_hasBits0 & 2) != 0; }
 202    }
 203    /// <summary>Clears the value of the "cast_shadows" field</summary>
 204    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 205    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 206    public void ClearCastShadows() {
 0207      _hasBits0 &= ~2;
 0208    }
 209
 210    /// <summary>Field number for the "alpha_texture" field.</summary>
 211    public const int AlphaTextureFieldNumber = 4;
 212    private global::DCL.ECSComponents.TextureUnion alphaTexture_;
 213    /// <summary>
 214    /// default = null
 215    /// </summary>
 216    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 217    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 218    public global::DCL.ECSComponents.TextureUnion AlphaTexture {
 0219      get { return alphaTexture_; }
 220      set {
 0221        alphaTexture_ = value;
 0222      }
 223    }
 224
 225    /// <summary>Field number for the "emissive_texture" field.</summary>
 226    public const int EmissiveTextureFieldNumber = 5;
 227    private global::DCL.ECSComponents.TextureUnion emissiveTexture_;
 228    /// <summary>
 229    /// default = null
 230    /// </summary>
 231    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 232    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 233    public global::DCL.ECSComponents.TextureUnion EmissiveTexture {
 0234      get { return emissiveTexture_; }
 235      set {
 0236        emissiveTexture_ = value;
 0237      }
 238    }
 239
 240    /// <summary>Field number for the "bump_texture" field.</summary>
 241    public const int BumpTextureFieldNumber = 6;
 242    private global::DCL.ECSComponents.TextureUnion bumpTexture_;
 243    /// <summary>
 244    /// default = null
 245    /// </summary>
 246    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 247    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 248    public global::DCL.ECSComponents.TextureUnion BumpTexture {
 0249      get { return bumpTexture_; }
 250      set {
 0251        bumpTexture_ = value;
 0252      }
 253    }
 254
 255    /// <summary>Field number for the "albedo_color" field.</summary>
 256    public const int AlbedoColorFieldNumber = 7;
 257    private global::DCL.ECSComponents.Color3 albedoColor_;
 258    /// <summary>
 259    /// default = white;
 260    /// </summary>
 261    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 262    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 263    public global::DCL.ECSComponents.Color3 AlbedoColor {
 0264      get { return albedoColor_; }
 265      set {
 0266        albedoColor_ = value;
 0267      }
 268    }
 269
 270    /// <summary>Field number for the "emissive_color" field.</summary>
 271    public const int EmissiveColorFieldNumber = 8;
 272    private global::DCL.ECSComponents.Color3 emissiveColor_;
 273    /// <summary>
 274    /// default = black;
 275    /// </summary>
 276    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 277    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 278    public global::DCL.ECSComponents.Color3 EmissiveColor {
 0279      get { return emissiveColor_; }
 280      set {
 0281        emissiveColor_ = value;
 0282      }
 283    }
 284
 285    /// <summary>Field number for the "reflectivity_color" field.</summary>
 286    public const int ReflectivityColorFieldNumber = 9;
 287    private global::DCL.ECSComponents.Color3 reflectivityColor_;
 288    /// <summary>
 289    /// default = white;
 290    /// </summary>
 291    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 292    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 293    public global::DCL.ECSComponents.Color3 ReflectivityColor {
 0294      get { return reflectivityColor_; }
 295      set {
 0296        reflectivityColor_ = value;
 0297      }
 298    }
 299
 300    /// <summary>Field number for the "transparency_mode" field.</summary>
 301    public const int TransparencyModeFieldNumber = 10;
 302    private global::DCL.ECSComponents.MaterialTransparencyMode transparencyMode_;
 303    /// <summary>
 304    /// default = TransparencyMode.Auto
 305    /// </summary>
 306    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 307    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 308    public global::DCL.ECSComponents.MaterialTransparencyMode TransparencyMode {
 0309      get { if ((_hasBits0 & 4) != 0) { return transparencyMode_; } else { return global::DCL.ECSComponents.MaterialTran
 310      set {
 0311        _hasBits0 |= 4;
 0312        transparencyMode_ = value;
 0313      }
 314    }
 315    /// <summary>Gets whether the "transparency_mode" field is set</summary>
 316    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 317    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 318    public bool HasTransparencyMode {
 0319      get { return (_hasBits0 & 4) != 0; }
 320    }
 321    /// <summary>Clears the value of the "transparency_mode" field</summary>
 322    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 323    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 324    public void ClearTransparencyMode() {
 0325      _hasBits0 &= ~4;
 0326    }
 327
 328    /// <summary>Field number for the "metallic" field.</summary>
 329    public const int MetallicFieldNumber = 11;
 330    private float metallic_;
 331    /// <summary>
 332    /// default = 0.5
 333    /// </summary>
 334    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 335    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 336    public float Metallic {
 8337      get { if ((_hasBits0 & 8) != 0) { return metallic_; } else { return 0F; } }
 338      set {
 0339        _hasBits0 |= 8;
 0340        metallic_ = value;
 0341      }
 342    }
 343    /// <summary>Gets whether the "metallic" field is set</summary>
 344    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 345    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 346    public bool HasMetallic {
 0347      get { return (_hasBits0 & 8) != 0; }
 348    }
 349    /// <summary>Clears the value of the "metallic" field</summary>
 350    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 351    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 352    public void ClearMetallic() {
 0353      _hasBits0 &= ~8;
 0354    }
 355
 356    /// <summary>Field number for the "roughness" field.</summary>
 357    public const int RoughnessFieldNumber = 12;
 358    private float roughness_;
 359    /// <summary>
 360    /// default = 0.5
 361    /// </summary>
 362    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 363    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 364    public float Roughness {
 8365      get { if ((_hasBits0 & 16) != 0) { return roughness_; } else { return 0F; } }
 366      set {
 0367        _hasBits0 |= 16;
 0368        roughness_ = value;
 0369      }
 370    }
 371    /// <summary>Gets whether the "roughness" field is set</summary>
 372    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 373    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 374    public bool HasRoughness {
 0375      get { return (_hasBits0 & 16) != 0; }
 376    }
 377    /// <summary>Clears the value of the "roughness" field</summary>
 378    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 379    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 380    public void ClearRoughness() {
 0381      _hasBits0 &= ~16;
 0382    }
 383
 384    /// <summary>Field number for the "glossiness" field.</summary>
 385    public const int GlossinessFieldNumber = 13;
 386    private float glossiness_;
 387    /// <summary>
 388    /// default = 1
 389    /// </summary>
 390    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 391    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 392    public float Glossiness {
 8393      get { if ((_hasBits0 & 32) != 0) { return glossiness_; } else { return 0F; } }
 394      set {
 0395        _hasBits0 |= 32;
 0396        glossiness_ = value;
 0397      }
 398    }
 399    /// <summary>Gets whether the "glossiness" field is set</summary>
 400    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 401    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 402    public bool HasGlossiness {
 0403      get { return (_hasBits0 & 32) != 0; }
 404    }
 405    /// <summary>Clears the value of the "glossiness" field</summary>
 406    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 407    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 408    public void ClearGlossiness() {
 0409      _hasBits0 &= ~32;
 0410    }
 411
 412    /// <summary>Field number for the "specular_intensity" field.</summary>
 413    public const int SpecularIntensityFieldNumber = 14;
 414    private float specularIntensity_;
 415    /// <summary>
 416    /// default = 1
 417    /// </summary>
 418    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 419    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 420    public float SpecularIntensity {
 8421      get { if ((_hasBits0 & 64) != 0) { return specularIntensity_; } else { return 0F; } }
 422      set {
 0423        _hasBits0 |= 64;
 0424        specularIntensity_ = value;
 0425      }
 426    }
 427    /// <summary>Gets whether the "specular_intensity" field is set</summary>
 428    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 429    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 430    public bool HasSpecularIntensity {
 0431      get { return (_hasBits0 & 64) != 0; }
 432    }
 433    /// <summary>Clears the value of the "specular_intensity" field</summary>
 434    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 435    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 436    public void ClearSpecularIntensity() {
 0437      _hasBits0 &= ~64;
 0438    }
 439
 440    /// <summary>Field number for the "emissive_intensity" field.</summary>
 441    public const int EmissiveIntensityFieldNumber = 15;
 442    private float emissiveIntensity_;
 443    /// <summary>
 444    /// default = 2
 445    /// </summary>
 446    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 447    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 448    public float EmissiveIntensity {
 8449      get { if ((_hasBits0 & 128) != 0) { return emissiveIntensity_; } else { return 0F; } }
 450      set {
 0451        _hasBits0 |= 128;
 0452        emissiveIntensity_ = value;
 0453      }
 454    }
 455    /// <summary>Gets whether the "emissive_intensity" field is set</summary>
 456    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 457    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 458    public bool HasEmissiveIntensity {
 0459      get { return (_hasBits0 & 128) != 0; }
 460    }
 461    /// <summary>Clears the value of the "emissive_intensity" field</summary>
 462    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 463    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 464    public void ClearEmissiveIntensity() {
 0465      _hasBits0 &= ~128;
 0466    }
 467
 468    /// <summary>Field number for the "direct_intensity" field.</summary>
 469    public const int DirectIntensityFieldNumber = 16;
 470    private float directIntensity_;
 471    /// <summary>
 472    /// default = 1
 473    /// </summary>
 474    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 475    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 476    public float DirectIntensity {
 8477      get { if ((_hasBits0 & 256) != 0) { return directIntensity_; } else { return 0F; } }
 478      set {
 0479        _hasBits0 |= 256;
 0480        directIntensity_ = value;
 0481      }
 482    }
 483    /// <summary>Gets whether the "direct_intensity" field is set</summary>
 484    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 485    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 486    public bool HasDirectIntensity {
 0487      get { return (_hasBits0 & 256) != 0; }
 488    }
 489    /// <summary>Clears the value of the "direct_intensity" field</summary>
 490    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 491    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 492    public void ClearDirectIntensity() {
 0493      _hasBits0 &= ~256;
 0494    }
 495
 496    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 497    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 498    public override bool Equals(object other) {
 0499      return Equals(other as PBMaterial);
 500    }
 501
 502    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 503    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 504    public bool Equals(PBMaterial other) {
 5505      if (ReferenceEquals(other, null)) {
 0506        return false;
 507      }
 5508      if (ReferenceEquals(other, this)) {
 0509        return true;
 510      }
 8511      if (!object.Equals(Texture, other.Texture)) return false;
 2512      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AlphaTest, other.AlphaTest)) return false
 2513      if (CastShadows != other.CastShadows) return false;
 2514      if (!object.Equals(AlphaTexture, other.AlphaTexture)) return false;
 2515      if (!object.Equals(EmissiveTexture, other.EmissiveTexture)) return false;
 2516      if (!object.Equals(BumpTexture, other.BumpTexture)) return false;
 2517      if (!object.Equals(AlbedoColor, other.AlbedoColor)) return false;
 2518      if (!object.Equals(EmissiveColor, other.EmissiveColor)) return false;
 2519      if (!object.Equals(ReflectivityColor, other.ReflectivityColor)) return false;
 2520      if (TransparencyMode != other.TransparencyMode) return false;
 2521      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Metallic, other.Metallic)) return false;
 2522      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Roughness, other.Roughness)) return false
 2523      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Glossiness, other.Glossiness)) return fal
 2524      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SpecularIntensity, other.SpecularIntensit
 2525      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(EmissiveIntensity, other.EmissiveIntensit
 2526      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DirectIntensity, other.DirectIntensity)) 
 2527      return Equals(_unknownFields, other._unknownFields);
 528    }
 529
 530    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 531    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 532    public override int GetHashCode() {
 0533      int hash = 1;
 0534      if (texture_ != null) hash ^= Texture.GetHashCode();
 0535      if (HasAlphaTest) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AlphaTest);
 0536      if (HasCastShadows) hash ^= CastShadows.GetHashCode();
 0537      if (alphaTexture_ != null) hash ^= AlphaTexture.GetHashCode();
 0538      if (emissiveTexture_ != null) hash ^= EmissiveTexture.GetHashCode();
 0539      if (bumpTexture_ != null) hash ^= BumpTexture.GetHashCode();
 0540      if (albedoColor_ != null) hash ^= AlbedoColor.GetHashCode();
 0541      if (emissiveColor_ != null) hash ^= EmissiveColor.GetHashCode();
 0542      if (reflectivityColor_ != null) hash ^= ReflectivityColor.GetHashCode();
 0543      if (HasTransparencyMode) hash ^= TransparencyMode.GetHashCode();
 0544      if (HasMetallic) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Metallic);
 0545      if (HasRoughness) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Roughness);
 0546      if (HasGlossiness) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Glossiness);
 0547      if (HasSpecularIntensity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Specula
 0548      if (HasEmissiveIntensity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Emissiv
 0549      if (HasDirectIntensity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DirectInt
 0550      if (_unknownFields != null) {
 0551        hash ^= _unknownFields.GetHashCode();
 552      }
 0553      return hash;
 554    }
 555
 556    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 557    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 558    public override string ToString() {
 0559      return pb::JsonFormatter.ToDiagnosticString(this);
 560    }
 561
 562    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 563    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 564    public void WriteTo(pb::CodedOutputStream output) {
 565    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 566      output.WriteRawMessage(this);
 567    #else
 0568      if (texture_ != null) {
 0569        output.WriteRawTag(10);
 0570        output.WriteMessage(Texture);
 571      }
 0572      if (HasAlphaTest) {
 0573        output.WriteRawTag(21);
 0574        output.WriteFloat(AlphaTest);
 575      }
 0576      if (HasCastShadows) {
 0577        output.WriteRawTag(24);
 0578        output.WriteBool(CastShadows);
 579      }
 0580      if (alphaTexture_ != null) {
 0581        output.WriteRawTag(34);
 0582        output.WriteMessage(AlphaTexture);
 583      }
 0584      if (emissiveTexture_ != null) {
 0585        output.WriteRawTag(42);
 0586        output.WriteMessage(EmissiveTexture);
 587      }
 0588      if (bumpTexture_ != null) {
 0589        output.WriteRawTag(50);
 0590        output.WriteMessage(BumpTexture);
 591      }
 0592      if (albedoColor_ != null) {
 0593        output.WriteRawTag(58);
 0594        output.WriteMessage(AlbedoColor);
 595      }
 0596      if (emissiveColor_ != null) {
 0597        output.WriteRawTag(66);
 0598        output.WriteMessage(EmissiveColor);
 599      }
 0600      if (reflectivityColor_ != null) {
 0601        output.WriteRawTag(74);
 0602        output.WriteMessage(ReflectivityColor);
 603      }
 0604      if (HasTransparencyMode) {
 0605        output.WriteRawTag(80);
 0606        output.WriteEnum((int) TransparencyMode);
 607      }
 0608      if (HasMetallic) {
 0609        output.WriteRawTag(93);
 0610        output.WriteFloat(Metallic);
 611      }
 0612      if (HasRoughness) {
 0613        output.WriteRawTag(101);
 0614        output.WriteFloat(Roughness);
 615      }
 0616      if (HasGlossiness) {
 0617        output.WriteRawTag(109);
 0618        output.WriteFloat(Glossiness);
 619      }
 0620      if (HasSpecularIntensity) {
 0621        output.WriteRawTag(117);
 0622        output.WriteFloat(SpecularIntensity);
 623      }
 0624      if (HasEmissiveIntensity) {
 0625        output.WriteRawTag(125);
 0626        output.WriteFloat(EmissiveIntensity);
 627      }
 0628      if (HasDirectIntensity) {
 0629        output.WriteRawTag(133, 1);
 0630        output.WriteFloat(DirectIntensity);
 631      }
 0632      if (_unknownFields != null) {
 0633        _unknownFields.WriteTo(output);
 634      }
 635    #endif
 0636    }
 637
 638    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 639    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 640    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 641    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 642      if (texture_ != null) {
 643        output.WriteRawTag(10);
 644        output.WriteMessage(Texture);
 645      }
 646      if (HasAlphaTest) {
 647        output.WriteRawTag(21);
 648        output.WriteFloat(AlphaTest);
 649      }
 650      if (HasCastShadows) {
 651        output.WriteRawTag(24);
 652        output.WriteBool(CastShadows);
 653      }
 654      if (alphaTexture_ != null) {
 655        output.WriteRawTag(34);
 656        output.WriteMessage(AlphaTexture);
 657      }
 658      if (emissiveTexture_ != null) {
 659        output.WriteRawTag(42);
 660        output.WriteMessage(EmissiveTexture);
 661      }
 662      if (bumpTexture_ != null) {
 663        output.WriteRawTag(50);
 664        output.WriteMessage(BumpTexture);
 665      }
 666      if (albedoColor_ != null) {
 667        output.WriteRawTag(58);
 668        output.WriteMessage(AlbedoColor);
 669      }
 670      if (emissiveColor_ != null) {
 671        output.WriteRawTag(66);
 672        output.WriteMessage(EmissiveColor);
 673      }
 674      if (reflectivityColor_ != null) {
 675        output.WriteRawTag(74);
 676        output.WriteMessage(ReflectivityColor);
 677      }
 678      if (HasTransparencyMode) {
 679        output.WriteRawTag(80);
 680        output.WriteEnum((int) TransparencyMode);
 681      }
 682      if (HasMetallic) {
 683        output.WriteRawTag(93);
 684        output.WriteFloat(Metallic);
 685      }
 686      if (HasRoughness) {
 687        output.WriteRawTag(101);
 688        output.WriteFloat(Roughness);
 689      }
 690      if (HasGlossiness) {
 691        output.WriteRawTag(109);
 692        output.WriteFloat(Glossiness);
 693      }
 694      if (HasSpecularIntensity) {
 695        output.WriteRawTag(117);
 696        output.WriteFloat(SpecularIntensity);
 697      }
 698      if (HasEmissiveIntensity) {
 699        output.WriteRawTag(125);
 700        output.WriteFloat(EmissiveIntensity);
 701      }
 702      if (HasDirectIntensity) {
 703        output.WriteRawTag(133, 1);
 704        output.WriteFloat(DirectIntensity);
 705      }
 706      if (_unknownFields != null) {
 707        _unknownFields.WriteTo(ref output);
 708      }
 709    }
 710    #endif
 711
 712    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 713    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 714    public int CalculateSize() {
 0715      int size = 0;
 0716      if (texture_ != null) {
 0717        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Texture);
 718      }
 0719      if (HasAlphaTest) {
 0720        size += 1 + 4;
 721      }
 0722      if (HasCastShadows) {
 0723        size += 1 + 1;
 724      }
 0725      if (alphaTexture_ != null) {
 0726        size += 1 + pb::CodedOutputStream.ComputeMessageSize(AlphaTexture);
 727      }
 0728      if (emissiveTexture_ != null) {
 0729        size += 1 + pb::CodedOutputStream.ComputeMessageSize(EmissiveTexture);
 730      }
 0731      if (bumpTexture_ != null) {
 0732        size += 1 + pb::CodedOutputStream.ComputeMessageSize(BumpTexture);
 733      }
 0734      if (albedoColor_ != null) {
 0735        size += 1 + pb::CodedOutputStream.ComputeMessageSize(AlbedoColor);
 736      }
 0737      if (emissiveColor_ != null) {
 0738        size += 1 + pb::CodedOutputStream.ComputeMessageSize(EmissiveColor);
 739      }
 0740      if (reflectivityColor_ != null) {
 0741        size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReflectivityColor);
 742      }
 0743      if (HasTransparencyMode) {
 0744        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TransparencyMode);
 745      }
 0746      if (HasMetallic) {
 0747        size += 1 + 4;
 748      }
 0749      if (HasRoughness) {
 0750        size += 1 + 4;
 751      }
 0752      if (HasGlossiness) {
 0753        size += 1 + 4;
 754      }
 0755      if (HasSpecularIntensity) {
 0756        size += 1 + 4;
 757      }
 0758      if (HasEmissiveIntensity) {
 0759        size += 1 + 4;
 760      }
 0761      if (HasDirectIntensity) {
 0762        size += 2 + 4;
 763      }
 0764      if (_unknownFields != null) {
 0765        size += _unknownFields.CalculateSize();
 766      }
 0767      return size;
 768    }
 769
 770    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 771    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 772    public void MergeFrom(PBMaterial other) {
 0773      if (other == null) {
 0774        return;
 775      }
 0776      if (other.texture_ != null) {
 0777        if (texture_ == null) {
 0778          Texture = new global::DCL.ECSComponents.TextureUnion();
 779        }
 0780        Texture.MergeFrom(other.Texture);
 781      }
 0782      if (other.HasAlphaTest) {
 0783        AlphaTest = other.AlphaTest;
 784      }
 0785      if (other.HasCastShadows) {
 0786        CastShadows = other.CastShadows;
 787      }
 0788      if (other.alphaTexture_ != null) {
 0789        if (alphaTexture_ == null) {
 0790          AlphaTexture = new global::DCL.ECSComponents.TextureUnion();
 791        }
 0792        AlphaTexture.MergeFrom(other.AlphaTexture);
 793      }
 0794      if (other.emissiveTexture_ != null) {
 0795        if (emissiveTexture_ == null) {
 0796          EmissiveTexture = new global::DCL.ECSComponents.TextureUnion();
 797        }
 0798        EmissiveTexture.MergeFrom(other.EmissiveTexture);
 799      }
 0800      if (other.bumpTexture_ != null) {
 0801        if (bumpTexture_ == null) {
 0802          BumpTexture = new global::DCL.ECSComponents.TextureUnion();
 803        }
 0804        BumpTexture.MergeFrom(other.BumpTexture);
 805      }
 0806      if (other.albedoColor_ != null) {
 0807        if (albedoColor_ == null) {
 0808          AlbedoColor = new global::DCL.ECSComponents.Color3();
 809        }
 0810        AlbedoColor.MergeFrom(other.AlbedoColor);
 811      }
 0812      if (other.emissiveColor_ != null) {
 0813        if (emissiveColor_ == null) {
 0814          EmissiveColor = new global::DCL.ECSComponents.Color3();
 815        }
 0816        EmissiveColor.MergeFrom(other.EmissiveColor);
 817      }
 0818      if (other.reflectivityColor_ != null) {
 0819        if (reflectivityColor_ == null) {
 0820          ReflectivityColor = new global::DCL.ECSComponents.Color3();
 821        }
 0822        ReflectivityColor.MergeFrom(other.ReflectivityColor);
 823      }
 0824      if (other.HasTransparencyMode) {
 0825        TransparencyMode = other.TransparencyMode;
 826      }
 0827      if (other.HasMetallic) {
 0828        Metallic = other.Metallic;
 829      }
 0830      if (other.HasRoughness) {
 0831        Roughness = other.Roughness;
 832      }
 0833      if (other.HasGlossiness) {
 0834        Glossiness = other.Glossiness;
 835      }
 0836      if (other.HasSpecularIntensity) {
 0837        SpecularIntensity = other.SpecularIntensity;
 838      }
 0839      if (other.HasEmissiveIntensity) {
 0840        EmissiveIntensity = other.EmissiveIntensity;
 841      }
 0842      if (other.HasDirectIntensity) {
 0843        DirectIntensity = other.DirectIntensity;
 844      }
 0845      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0846    }
 847
 848    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 849    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 850    public void MergeFrom(pb::CodedInputStream input) {
 851    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 852      input.ReadRawMessage(this);
 853    #else
 854      uint tag;
 0855      while ((tag = input.ReadTag()) != 0) {
 856        switch(tag) {
 857          default:
 0858            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0859            break;
 860          case 10: {
 0861            if (texture_ == null) {
 0862              Texture = new global::DCL.ECSComponents.TextureUnion();
 863            }
 0864            input.ReadMessage(Texture);
 0865            break;
 866          }
 867          case 21: {
 0868            AlphaTest = input.ReadFloat();
 0869            break;
 870          }
 871          case 24: {
 0872            CastShadows = input.ReadBool();
 0873            break;
 874          }
 875          case 34: {
 0876            if (alphaTexture_ == null) {
 0877              AlphaTexture = new global::DCL.ECSComponents.TextureUnion();
 878            }
 0879            input.ReadMessage(AlphaTexture);
 0880            break;
 881          }
 882          case 42: {
 0883            if (emissiveTexture_ == null) {
 0884              EmissiveTexture = new global::DCL.ECSComponents.TextureUnion();
 885            }
 0886            input.ReadMessage(EmissiveTexture);
 0887            break;
 888          }
 889          case 50: {
 0890            if (bumpTexture_ == null) {
 0891              BumpTexture = new global::DCL.ECSComponents.TextureUnion();
 892            }
 0893            input.ReadMessage(BumpTexture);
 0894            break;
 895          }
 896          case 58: {
 0897            if (albedoColor_ == null) {
 0898              AlbedoColor = new global::DCL.ECSComponents.Color3();
 899            }
 0900            input.ReadMessage(AlbedoColor);
 0901            break;
 902          }
 903          case 66: {
 0904            if (emissiveColor_ == null) {
 0905              EmissiveColor = new global::DCL.ECSComponents.Color3();
 906            }
 0907            input.ReadMessage(EmissiveColor);
 0908            break;
 909          }
 910          case 74: {
 0911            if (reflectivityColor_ == null) {
 0912              ReflectivityColor = new global::DCL.ECSComponents.Color3();
 913            }
 0914            input.ReadMessage(ReflectivityColor);
 0915            break;
 916          }
 917          case 80: {
 0918            TransparencyMode = (global::DCL.ECSComponents.MaterialTransparencyMode) input.ReadEnum();
 0919            break;
 920          }
 921          case 93: {
 0922            Metallic = input.ReadFloat();
 0923            break;
 924          }
 925          case 101: {
 0926            Roughness = input.ReadFloat();
 0927            break;
 928          }
 929          case 109: {
 0930            Glossiness = input.ReadFloat();
 0931            break;
 932          }
 933          case 117: {
 0934            SpecularIntensity = input.ReadFloat();
 0935            break;
 936          }
 937          case 125: {
 0938            EmissiveIntensity = input.ReadFloat();
 0939            break;
 940          }
 941          case 133: {
 0942            DirectIntensity = input.ReadFloat();
 943            break;
 944          }
 945        }
 946      }
 947    #endif
 0948    }
 949
 950    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 951    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 952    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 953    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 954      uint tag;
 955      while ((tag = input.ReadTag()) != 0) {
 956        switch(tag) {
 957          default:
 958            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 959            break;
 960          case 10: {
 961            if (texture_ == null) {
 962              Texture = new global::DCL.ECSComponents.TextureUnion();
 963            }
 964            input.ReadMessage(Texture);
 965            break;
 966          }
 967          case 21: {
 968            AlphaTest = input.ReadFloat();
 969            break;
 970          }
 971          case 24: {
 972            CastShadows = input.ReadBool();
 973            break;
 974          }
 975          case 34: {
 976            if (alphaTexture_ == null) {
 977              AlphaTexture = new global::DCL.ECSComponents.TextureUnion();
 978            }
 979            input.ReadMessage(AlphaTexture);
 980            break;
 981          }
 982          case 42: {
 983            if (emissiveTexture_ == null) {
 984              EmissiveTexture = new global::DCL.ECSComponents.TextureUnion();
 985            }
 986            input.ReadMessage(EmissiveTexture);
 987            break;
 988          }
 989          case 50: {
 990            if (bumpTexture_ == null) {
 991              BumpTexture = new global::DCL.ECSComponents.TextureUnion();
 992            }
 993            input.ReadMessage(BumpTexture);
 994            break;
 995          }
 996          case 58: {
 997            if (albedoColor_ == null) {
 998              AlbedoColor = new global::DCL.ECSComponents.Color3();
 999            }
 1000            input.ReadMessage(AlbedoColor);
 1001            break;
 1002          }
 1003          case 66: {
 1004            if (emissiveColor_ == null) {
 1005              EmissiveColor = new global::DCL.ECSComponents.Color3();
 1006            }
 1007            input.ReadMessage(EmissiveColor);
 1008            break;
 1009          }
 1010          case 74: {
 1011            if (reflectivityColor_ == null) {
 1012              ReflectivityColor = new global::DCL.ECSComponents.Color3();
 1013            }
 1014            input.ReadMessage(ReflectivityColor);
 1015            break;
 1016          }
 1017          case 80: {
 1018            TransparencyMode = (global::DCL.ECSComponents.MaterialTransparencyMode) input.ReadEnum();
 1019            break;
 1020          }
 1021          case 93: {
 1022            Metallic = input.ReadFloat();
 1023            break;
 1024          }
 1025          case 101: {
 1026            Roughness = input.ReadFloat();
 1027            break;
 1028          }
 1029          case 109: {
 1030            Glossiness = input.ReadFloat();
 1031            break;
 1032          }
 1033          case 117: {
 1034            SpecularIntensity = input.ReadFloat();
 1035            break;
 1036          }
 1037          case 125: {
 1038            EmissiveIntensity = input.ReadFloat();
 1039            break;
 1040          }
 1041          case 133: {
 1042            DirectIntensity = input.ReadFloat();
 1043            break;
 1044          }
 1045        }
 1046      }
 1047    }
 1048    #endif
 1049
 1050  }
 1051
 1052  #endregion
 1053
 1054}
 1055
 1056#endregion Designer generated code

Methods/Properties

PBMaterial()
Parser()
Descriptor()
get_Descriptor()
PBMaterial()
PBMaterial(DCL.ECSComponents.PBMaterial)
Clone()
Texture()
Texture(DCL.ECSComponents.TextureUnion)
AlphaTest()
AlphaTest(System.Single)
HasAlphaTest()
ClearAlphaTest()
CastShadows()
CastShadows(System.Boolean)
HasCastShadows()
ClearCastShadows()
AlphaTexture()
AlphaTexture(DCL.ECSComponents.TextureUnion)
EmissiveTexture()
EmissiveTexture(DCL.ECSComponents.TextureUnion)
BumpTexture()
BumpTexture(DCL.ECSComponents.TextureUnion)
AlbedoColor()
AlbedoColor(DCL.ECSComponents.Color3)
EmissiveColor()
EmissiveColor(DCL.ECSComponents.Color3)
ReflectivityColor()
ReflectivityColor(DCL.ECSComponents.Color3)
TransparencyMode()
TransparencyMode(DCL.ECSComponents.MaterialTransparencyMode)
HasTransparencyMode()
ClearTransparencyMode()
Metallic()
Metallic(System.Single)
HasMetallic()
ClearMetallic()
Roughness()
Roughness(System.Single)
HasRoughness()
ClearRoughness()
Glossiness()
Glossiness(System.Single)
HasGlossiness()
ClearGlossiness()
SpecularIntensity()
SpecularIntensity(System.Single)
HasSpecularIntensity()
ClearSpecularIntensity()
EmissiveIntensity()
EmissiveIntensity(System.Single)
HasEmissiveIntensity()
ClearEmissiveIntensity()
DirectIntensity()
DirectIntensity(System.Single)
HasDirectIntensity()
ClearDirectIntensity()
Equals(System.Object)
Equals(DCL.ECSComponents.PBMaterial)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
CalculateSize()
MergeFrom(DCL.ECSComponents.PBMaterial)
MergeFrom(Google.Protobuf.CodedInputStream)