sm.render.setCloudSettings

Sets the cloud settings.

Kind: Function

Environments: Game

Game

sm.render.setCloudSettings(
    coverage,
    height,
    radius,
    tallnessScale,
    directionalLightMod,
    scroll,
    scrollRotation
)

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
coverage number The fraction of the cloud coverage.
height number The cloud height.
radius number The atmosphere radius.
tallnessScale number The tallness scale(0.1 - 4.0).
directionalLightMod number Directional light mod (0.0 - 1.0).
scroll Vec3 Cloud scroll.
scrollRotation Vec3 Cloud scroll rotation.