public async ValueTask prepareDefines(MaterialDefines defines, decimal lightIndex)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "prepareDefines" }, defines, lightIndex
     }
         );
 }
コード例 #2
0
 public async ValueTask <bool> isEqual(MaterialDefines other)
 {
     return(await EventHorizonBlazorInterop.Func <bool>(
                new object[]
     {
         new string[] { this.___guid, "isEqual" }, other
     }
                ));
 }
コード例 #3
0
 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
     }
         );
 }
コード例 #5
0
 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
     }
                ));
 }
コード例 #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);
 }