setMaterialWeather
setMaterialWeather(
material,materialWeatherOptions):void
Keeps material out of the weather’s wetness or its snow, or lets it
take either again: a cloak kept dry, a roof under an awning kept bare.
A skinned model’s materials, the engine’s sprites and water take
neither, and leaf cards take snow on their tops and no wetness, unless
set here. It compiles the material once more where that changes.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
material |
Material |
materialWeatherOptions |
MaterialWeatherOptions |
Returns
Section titled “Returns”void