public async ValueTask prepareDefines(MaterialDefines defines, decimal lightIndex)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "prepareDefines" }, defines, lightIndex
     }
         );
 }
 public async ValueTask <bool> isEqual(MaterialDefines other)
 {
     return(await EventHorizonBlazorInterop.Func <bool>(
                new object[]
     {
         new string[] { this.___guid, "isEqual" }, other
     }
                ));
 }
 public async ValueTask cloneTo(MaterialDefines other)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "cloneTo" }, other
     }
         );
 }
 public void setEffect(Effect effect, MaterialDefines defines = null)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "setEffect" }, effect, defines
     }
         );
 }
 public ValueTask set_materialDefines(MaterialDefines value)
 {
     __materialDefines = null;
     return(EventHorizonBlazorInterop.Set(
                this.___guid,
                "materialDefines",
                value
                ));
 }
 public void cloneTo(MaterialDefines other)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "cloneTo" }, other
     }
         );
 }
 public bool isEqual(MaterialDefines other)
 {
     return(EventHorizonBlazorInterop.Func <bool>(
                new object[]
     {
         new string[] { this.___guid, "isEqual" }, other
     }
                ));
 }
 public async ValueTask <MaterialDefines> get_materialDefines()
 {
     if (__materialDefines == null)
     {
         __materialDefines = await EventHorizonBlazorInterop.GetClass <MaterialDefines>(
             this.___guid,
             "materialDefines",
             (entity) =>
         {
             return(new MaterialDefines()
             {
                 ___guid = entity.___guid
             });
         }
             );
     }
     return(__materialDefines);
 }