< Summary

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

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
MaterialReflection()0%2100%

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 {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static MaterialReflection() {
 025      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=="));
 057      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          }));
 062    }
 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  {
 83    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)]
 88    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 {
 93      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 {
 99      get { return Descriptor; }
 100    }
 101
 102    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 103    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 104    public PBMaterial() {
 105      OnConstruction();
 106    }
 107
 108    partial void OnConstruction();
 109
 110    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 111    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 112    public PBMaterial(PBMaterial other) : this() {
 113      _hasBits0 = other._hasBits0;
 114      texture_ = other.texture_ != null ? other.texture_.Clone() : null;
 115      alphaTest_ = other.alphaTest_;
 116      castShadows_ = other.castShadows_;
 117      alphaTexture_ = other.alphaTexture_ != null ? other.alphaTexture_.Clone() : null;
 118      emissiveTexture_ = other.emissiveTexture_ != null ? other.emissiveTexture_.Clone() : null;
 119      bumpTexture_ = other.bumpTexture_ != null ? other.bumpTexture_.Clone() : null;
 120      albedoColor_ = other.albedoColor_ != null ? other.albedoColor_.Clone() : null;
 121      emissiveColor_ = other.emissiveColor_ != null ? other.emissiveColor_.Clone() : null;
 122      reflectivityColor_ = other.reflectivityColor_ != null ? other.reflectivityColor_.Clone() : null;
 123      transparencyMode_ = other.transparencyMode_;
 124      metallic_ = other.metallic_;
 125      roughness_ = other.roughness_;
 126      glossiness_ = other.glossiness_;
 127      specularIntensity_ = other.specularIntensity_;
 128      emissiveIntensity_ = other.emissiveIntensity_;
 129      directIntensity_ = other.directIntensity_;
 130      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 131    }
 132
 133    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 134    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 135    public PBMaterial Clone() {
 136      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 {
 148      get { return texture_; }
 149      set {
 150        texture_ = value;
 151      }
 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 {
 163      get { if ((_hasBits0 & 1) != 0) { return alphaTest_; } else { return 0F; } }
 164      set {
 165        _hasBits0 |= 1;
 166        alphaTest_ = value;
 167      }
 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 {
 173      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() {
 179      _hasBits0 &= ~1;
 180    }
 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 {
 191      get { if ((_hasBits0 & 2) != 0) { return castShadows_; } else { return false; } }
 192      set {
 193        _hasBits0 |= 2;
 194        castShadows_ = value;
 195      }
 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 {
 201      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() {
 207      _hasBits0 &= ~2;
 208    }
 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 {
 219      get { return alphaTexture_; }
 220      set {
 221        alphaTexture_ = value;
 222      }
 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 {
 234      get { return emissiveTexture_; }
 235      set {
 236        emissiveTexture_ = value;
 237      }
 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 {
 249      get { return bumpTexture_; }
 250      set {
 251        bumpTexture_ = value;
 252      }
 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 {
 264      get { return albedoColor_; }
 265      set {
 266        albedoColor_ = value;
 267      }
 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 {
 279      get { return emissiveColor_; }
 280      set {
 281        emissiveColor_ = value;
 282      }
 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 {
 294      get { return reflectivityColor_; }
 295      set {
 296        reflectivityColor_ = value;
 297      }
 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 {
 309      get { if ((_hasBits0 & 4) != 0) { return transparencyMode_; } else { return global::DCL.ECSComponents.MaterialTran
 310      set {
 311        _hasBits0 |= 4;
 312        transparencyMode_ = value;
 313      }
 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 {
 319      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() {
 325      _hasBits0 &= ~4;
 326    }
 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 {
 337      get { if ((_hasBits0 & 8) != 0) { return metallic_; } else { return 0F; } }
 338      set {
 339        _hasBits0 |= 8;
 340        metallic_ = value;
 341      }
 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 {
 347      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() {
 353      _hasBits0 &= ~8;
 354    }
 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 {
 365      get { if ((_hasBits0 & 16) != 0) { return roughness_; } else { return 0F; } }
 366      set {
 367        _hasBits0 |= 16;
 368        roughness_ = value;
 369      }
 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 {
 375      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() {
 381      _hasBits0 &= ~16;
 382    }
 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 {
 393      get { if ((_hasBits0 & 32) != 0) { return glossiness_; } else { return 0F; } }
 394      set {
 395        _hasBits0 |= 32;
 396        glossiness_ = value;
 397      }
 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 {
 403      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() {
 409      _hasBits0 &= ~32;
 410    }
 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 {
 421      get { if ((_hasBits0 & 64) != 0) { return specularIntensity_; } else { return 0F; } }
 422      set {
 423        _hasBits0 |= 64;
 424        specularIntensity_ = value;
 425      }
 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 {
 431      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() {
 437      _hasBits0 &= ~64;
 438    }
 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 {
 449      get { if ((_hasBits0 & 128) != 0) { return emissiveIntensity_; } else { return 0F; } }
 450      set {
 451        _hasBits0 |= 128;
 452        emissiveIntensity_ = value;
 453      }
 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 {
 459      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() {
 465      _hasBits0 &= ~128;
 466    }
 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 {
 477      get { if ((_hasBits0 & 256) != 0) { return directIntensity_; } else { return 0F; } }
 478      set {
 479        _hasBits0 |= 256;
 480        directIntensity_ = value;
 481      }
 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 {
 487      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() {
 493      _hasBits0 &= ~256;
 494    }
 495
 496    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 497    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 498    public override bool Equals(object other) {
 499      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) {
 505      if (ReferenceEquals(other, null)) {
 506        return false;
 507      }
 508      if (ReferenceEquals(other, this)) {
 509        return true;
 510      }
 511      if (!object.Equals(Texture, other.Texture)) return false;
 512      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AlphaTest, other.AlphaTest)) return false
 513      if (CastShadows != other.CastShadows) return false;
 514      if (!object.Equals(AlphaTexture, other.AlphaTexture)) return false;
 515      if (!object.Equals(EmissiveTexture, other.EmissiveTexture)) return false;
 516      if (!object.Equals(BumpTexture, other.BumpTexture)) return false;
 517      if (!object.Equals(AlbedoColor, other.AlbedoColor)) return false;
 518      if (!object.Equals(EmissiveColor, other.EmissiveColor)) return false;
 519      if (!object.Equals(ReflectivityColor, other.ReflectivityColor)) return false;
 520      if (TransparencyMode != other.TransparencyMode) return false;
 521      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Metallic, other.Metallic)) return false;
 522      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Roughness, other.Roughness)) return false
 523      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Glossiness, other.Glossiness)) return fal
 524      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SpecularIntensity, other.SpecularIntensit
 525      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(EmissiveIntensity, other.EmissiveIntensit
 526      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DirectIntensity, other.DirectIntensity)) 
 527      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() {
 533      int hash = 1;
 534      if (texture_ != null) hash ^= Texture.GetHashCode();
 535      if (HasAlphaTest) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AlphaTest);
 536      if (HasCastShadows) hash ^= CastShadows.GetHashCode();
 537      if (alphaTexture_ != null) hash ^= AlphaTexture.GetHashCode();
 538      if (emissiveTexture_ != null) hash ^= EmissiveTexture.GetHashCode();
 539      if (bumpTexture_ != null) hash ^= BumpTexture.GetHashCode();
 540      if (albedoColor_ != null) hash ^= AlbedoColor.GetHashCode();
 541      if (emissiveColor_ != null) hash ^= EmissiveColor.GetHashCode();
 542      if (reflectivityColor_ != null) hash ^= ReflectivityColor.GetHashCode();
 543      if (HasTransparencyMode) hash ^= TransparencyMode.GetHashCode();
 544      if (HasMetallic) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Metallic);
 545      if (HasRoughness) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Roughness);
 546      if (HasGlossiness) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Glossiness);
 547      if (HasSpecularIntensity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Specula
 548      if (HasEmissiveIntensity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Emissiv
 549      if (HasDirectIntensity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DirectInt
 550      if (_unknownFields != null) {
 551        hash ^= _unknownFields.GetHashCode();
 552      }
 553      return hash;
 554    }
 555
 556    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 557    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 558    public override string ToString() {
 559      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
 568      if (texture_ != null) {
 569        output.WriteRawTag(10);
 570        output.WriteMessage(Texture);
 571      }
 572      if (HasAlphaTest) {
 573        output.WriteRawTag(21);
 574        output.WriteFloat(AlphaTest);
 575      }
 576      if (HasCastShadows) {
 577        output.WriteRawTag(24);
 578        output.WriteBool(CastShadows);
 579      }
 580      if (alphaTexture_ != null) {
 581        output.WriteRawTag(34);
 582        output.WriteMessage(AlphaTexture);
 583      }
 584      if (emissiveTexture_ != null) {
 585        output.WriteRawTag(42);
 586        output.WriteMessage(EmissiveTexture);
 587      }
 588      if (bumpTexture_ != null) {
 589        output.WriteRawTag(50);
 590        output.WriteMessage(BumpTexture);
 591      }
 592      if (albedoColor_ != null) {
 593        output.WriteRawTag(58);
 594        output.WriteMessage(AlbedoColor);
 595      }
 596      if (emissiveColor_ != null) {
 597        output.WriteRawTag(66);
 598        output.WriteMessage(EmissiveColor);
 599      }
 600      if (reflectivityColor_ != null) {
 601        output.WriteRawTag(74);
 602        output.WriteMessage(ReflectivityColor);
 603      }
 604      if (HasTransparencyMode) {
 605        output.WriteRawTag(80);
 606        output.WriteEnum((int) TransparencyMode);
 607      }
 608      if (HasMetallic) {
 609        output.WriteRawTag(93);
 610        output.WriteFloat(Metallic);
 611      }
 612      if (HasRoughness) {
 613        output.WriteRawTag(101);
 614        output.WriteFloat(Roughness);
 615      }
 616      if (HasGlossiness) {
 617        output.WriteRawTag(109);
 618        output.WriteFloat(Glossiness);
 619      }
 620      if (HasSpecularIntensity) {
 621        output.WriteRawTag(117);
 622        output.WriteFloat(SpecularIntensity);
 623      }
 624      if (HasEmissiveIntensity) {
 625        output.WriteRawTag(125);
 626        output.WriteFloat(EmissiveIntensity);
 627      }
 628      if (HasDirectIntensity) {
 629        output.WriteRawTag(133, 1);
 630        output.WriteFloat(DirectIntensity);
 631      }
 632      if (_unknownFields != null) {
 633        _unknownFields.WriteTo(output);
 634      }
 635    #endif
 636    }
 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() {
 715      int size = 0;
 716      if (texture_ != null) {
 717        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Texture);
 718      }
 719      if (HasAlphaTest) {
 720        size += 1 + 4;
 721      }
 722      if (HasCastShadows) {
 723        size += 1 + 1;
 724      }
 725      if (alphaTexture_ != null) {
 726        size += 1 + pb::CodedOutputStream.ComputeMessageSize(AlphaTexture);
 727      }
 728      if (emissiveTexture_ != null) {
 729        size += 1 + pb::CodedOutputStream.ComputeMessageSize(EmissiveTexture);
 730      }
 731      if (bumpTexture_ != null) {
 732        size += 1 + pb::CodedOutputStream.ComputeMessageSize(BumpTexture);
 733      }
 734      if (albedoColor_ != null) {
 735        size += 1 + pb::CodedOutputStream.ComputeMessageSize(AlbedoColor);
 736      }
 737      if (emissiveColor_ != null) {
 738        size += 1 + pb::CodedOutputStream.ComputeMessageSize(EmissiveColor);
 739      }
 740      if (reflectivityColor_ != null) {
 741        size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReflectivityColor);
 742      }
 743      if (HasTransparencyMode) {
 744        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TransparencyMode);
 745      }
 746      if (HasMetallic) {
 747        size += 1 + 4;
 748      }
 749      if (HasRoughness) {
 750        size += 1 + 4;
 751      }
 752      if (HasGlossiness) {
 753        size += 1 + 4;
 754      }
 755      if (HasSpecularIntensity) {
 756        size += 1 + 4;
 757      }
 758      if (HasEmissiveIntensity) {
 759        size += 1 + 4;
 760      }
 761      if (HasDirectIntensity) {
 762        size += 2 + 4;
 763      }
 764      if (_unknownFields != null) {
 765        size += _unknownFields.CalculateSize();
 766      }
 767      return size;
 768    }
 769
 770    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 771    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 772    public void MergeFrom(PBMaterial other) {
 773      if (other == null) {
 774        return;
 775      }
 776      if (other.texture_ != null) {
 777        if (texture_ == null) {
 778          Texture = new global::DCL.ECSComponents.TextureUnion();
 779        }
 780        Texture.MergeFrom(other.Texture);
 781      }
 782      if (other.HasAlphaTest) {
 783        AlphaTest = other.AlphaTest;
 784      }
 785      if (other.HasCastShadows) {
 786        CastShadows = other.CastShadows;
 787      }
 788      if (other.alphaTexture_ != null) {
 789        if (alphaTexture_ == null) {
 790          AlphaTexture = new global::DCL.ECSComponents.TextureUnion();
 791        }
 792        AlphaTexture.MergeFrom(other.AlphaTexture);
 793      }
 794      if (other.emissiveTexture_ != null) {
 795        if (emissiveTexture_ == null) {
 796          EmissiveTexture = new global::DCL.ECSComponents.TextureUnion();
 797        }
 798        EmissiveTexture.MergeFrom(other.EmissiveTexture);
 799      }
 800      if (other.bumpTexture_ != null) {
 801        if (bumpTexture_ == null) {
 802          BumpTexture = new global::DCL.ECSComponents.TextureUnion();
 803        }
 804        BumpTexture.MergeFrom(other.BumpTexture);
 805      }
 806      if (other.albedoColor_ != null) {
 807        if (albedoColor_ == null) {
 808          AlbedoColor = new global::DCL.ECSComponents.Color3();
 809        }
 810        AlbedoColor.MergeFrom(other.AlbedoColor);
 811      }
 812      if (other.emissiveColor_ != null) {
 813        if (emissiveColor_ == null) {
 814          EmissiveColor = new global::DCL.ECSComponents.Color3();
 815        }
 816        EmissiveColor.MergeFrom(other.EmissiveColor);
 817      }
 818      if (other.reflectivityColor_ != null) {
 819        if (reflectivityColor_ == null) {
 820          ReflectivityColor = new global::DCL.ECSComponents.Color3();
 821        }
 822        ReflectivityColor.MergeFrom(other.ReflectivityColor);
 823      }
 824      if (other.HasTransparencyMode) {
 825        TransparencyMode = other.TransparencyMode;
 826      }
 827      if (other.HasMetallic) {
 828        Metallic = other.Metallic;
 829      }
 830      if (other.HasRoughness) {
 831        Roughness = other.Roughness;
 832      }
 833      if (other.HasGlossiness) {
 834        Glossiness = other.Glossiness;
 835      }
 836      if (other.HasSpecularIntensity) {
 837        SpecularIntensity = other.SpecularIntensity;
 838      }
 839      if (other.HasEmissiveIntensity) {
 840        EmissiveIntensity = other.EmissiveIntensity;
 841      }
 842      if (other.HasDirectIntensity) {
 843        DirectIntensity = other.DirectIntensity;
 844      }
 845      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 846    }
 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;
 855      while ((tag = input.ReadTag()) != 0) {
 856        switch(tag) {
 857          default:
 858            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 859            break;
 860          case 10: {
 861            if (texture_ == null) {
 862              Texture = new global::DCL.ECSComponents.TextureUnion();
 863            }
 864            input.ReadMessage(Texture);
 865            break;
 866          }
 867          case 21: {
 868            AlphaTest = input.ReadFloat();
 869            break;
 870          }
 871          case 24: {
 872            CastShadows = input.ReadBool();
 873            break;
 874          }
 875          case 34: {
 876            if (alphaTexture_ == null) {
 877              AlphaTexture = new global::DCL.ECSComponents.TextureUnion();
 878            }
 879            input.ReadMessage(AlphaTexture);
 880            break;
 881          }
 882          case 42: {
 883            if (emissiveTexture_ == null) {
 884              EmissiveTexture = new global::DCL.ECSComponents.TextureUnion();
 885            }
 886            input.ReadMessage(EmissiveTexture);
 887            break;
 888          }
 889          case 50: {
 890            if (bumpTexture_ == null) {
 891              BumpTexture = new global::DCL.ECSComponents.TextureUnion();
 892            }
 893            input.ReadMessage(BumpTexture);
 894            break;
 895          }
 896          case 58: {
 897            if (albedoColor_ == null) {
 898              AlbedoColor = new global::DCL.ECSComponents.Color3();
 899            }
 900            input.ReadMessage(AlbedoColor);
 901            break;
 902          }
 903          case 66: {
 904            if (emissiveColor_ == null) {
 905              EmissiveColor = new global::DCL.ECSComponents.Color3();
 906            }
 907            input.ReadMessage(EmissiveColor);
 908            break;
 909          }
 910          case 74: {
 911            if (reflectivityColor_ == null) {
 912              ReflectivityColor = new global::DCL.ECSComponents.Color3();
 913            }
 914            input.ReadMessage(ReflectivityColor);
 915            break;
 916          }
 917          case 80: {
 918            TransparencyMode = (global::DCL.ECSComponents.MaterialTransparencyMode) input.ReadEnum();
 919            break;
 920          }
 921          case 93: {
 922            Metallic = input.ReadFloat();
 923            break;
 924          }
 925          case 101: {
 926            Roughness = input.ReadFloat();
 927            break;
 928          }
 929          case 109: {
 930            Glossiness = input.ReadFloat();
 931            break;
 932          }
 933          case 117: {
 934            SpecularIntensity = input.ReadFloat();
 935            break;
 936          }
 937          case 125: {
 938            EmissiveIntensity = input.ReadFloat();
 939            break;
 940          }
 941          case 133: {
 942            DirectIntensity = input.ReadFloat();
 943            break;
 944          }
 945        }
 946      }
 947    #endif
 948    }
 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

Descriptor()
MaterialReflection()