public void prepareDefines(MaterialDefines defines, decimal lightIndex)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "prepareDefines" }, defines, lightIndex
     }
         );
 }
 public bool isEqual(MaterialDefines other)
 {
     return(EventHorizonBlazorInterop.Func <bool>(
                new object[]
     {
         new string[] { this.___guid, "isEqual" }, other
     }
                ));
 }
 public void cloneTo(MaterialDefines other)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "cloneTo" }, other
     }
         );
 }
Exemplo n.º 4
0
 public ValueTask set_materialDefines(MaterialDefines value)
 {
     __materialDefines = null;
     return(EventHorizonBlazorInterop.Set(
                this.___guid,
                "materialDefines",
                value
                ));
 }
Exemplo n.º 5
0
 public async ValueTask setEffect(Effect effect, MaterialDefines defines = null)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "setEffect" }, effect, defines
     }
         );
 }
Exemplo n.º 6
0
 public async ValueTask cloneTo(MaterialDefines other)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "cloneTo" }, other
     }
         );
 }
Exemplo n.º 7
0
 public async ValueTask <bool> isEqual(MaterialDefines other)
 {
     return(await EventHorizonBlazorInterop.Func <bool>(
                new object[]
     {
         new string[] { this.___guid, "isEqual" }, other
     }
                ));
 }
Exemplo n.º 8
0
 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);
 }