public async ValueTask <BaseTexture> get_environmentTexture()
 {
     if (__environmentTexture == null)
     {
         __environmentTexture = await EventHorizonBlazorInterop.GetClass <BaseTexture>(
             this.___guid,
             "environmentTexture",
             (entity) =>
         {
             return(new BaseTexture()
             {
                 ___guid = entity.___guid
             });
         }
             );
     }
     return(__environmentTexture);
 }
Beispiel #2
0
 /// <summary>
 /// </summary>
 /// <param name="channel">
 /// </param>
 /// <param name="texture">
 /// </param>
 public virtual void setTexture(string channel, BaseTexture texture)
 {
     this._engine.setTexture(this._samplers.IndexOf(channel), texture);
 }