Пример #1
0
 public static async ValueTask <Color3> get_BlackReadOnly()
 {
     if (__BlackReadOnly == null)
     {
         __BlackReadOnly = await EventHorizonBlazorInterop.GetClass <Color3>(
             "BABYLON",
             "Color3.BlackReadOnly",
             (entity) =>
         {
             return(new Color3()
             {
                 ___guid = entity.___guid
             });
         }
             );
     }
     return(__BlackReadOnly);
 }
 public async ValueTask <Color3> get_specular()
 {
     if (__specular == null)
     {
         __specular = await EventHorizonBlazorInterop.GetClass <Color3>(
             this.___guid,
             "specular",
             (entity) =>
         {
             return(new Color3()
             {
                 ___guid = entity.___guid
             });
         }
             );
     }
     return(__specular);
 }
 public async ValueTask <Color3> get_diffuse()
 {
     if (__diffuse == null)
     {
         __diffuse = await EventHorizonBlazorInterop.GetClass <Color3>(
             this.___guid,
             "diffuse",
             (entity) =>
         {
             return(new Color3()
             {
                 ___guid = entity.___guid
             });
         }
             );
     }
     return(__diffuse);
 }
Пример #4
0
 public static async ValueTask HSVtoRGBToRef(decimal hue, decimal saturation, decimal value, Color3 result)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { "BABYLON", "Color3", "HSVtoRGBToRef" }, hue, saturation, value, result
     }
         );
 }
Пример #5
0
 public static async ValueTask LerpToRef(Color3 left, Color3 right, decimal amount, Color3 result)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { "BABYLON", "Color3", "LerpToRef" }, left, right, amount, result
     }
         );
 }