Property 'uScale' does not exist on type 'BaseTexture'

Was UV scale deleted? I just wanna fix stretching the texture but I have only an error

See this answer to the same question - Why can't I use "material.diffuseTexture.uScale" property? - #3 by RaananW
Shortly, either create the const for the material texture or cast the right type.
Example:

  (wallMaterial.albedoTexture as BABYLON.Texture).uScale = 10;
2 Likes

Thanks very much :smile:, but i just don’t understand, why didn’t i find it :thinking:

1 Like