コード例 #1
0
 public async ValueTask <Effect> setDirectColor4(string uniformName, IColor4Like color4)
 {
     return(await EventHorizonBlazorInterop.FuncClass <Effect>(
                entity => new Effect()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "setDirectColor4" }, uniformName, color4
     }
                ));
 }
 public static void FetchToRef(decimal u, decimal v, decimal width, decimal height, decimal[] pixels, IColor4Like color)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { "BABYLON", "Tools", "FetchToRef" }, u, v, width, height, pixels, color
     }
         );
 }