new Clouds()

Members


material :ShaderMaterial

Description
Material for Clouds

init

Description
Initializes Clouds in WebglContext
Parameters
Name Type Description
gl WebglContext WebglContext
onInit function Callback fired when initialized

createCollisionGeo

Description
Unused function, required for Drawable Interface

rayCastFrom

Description
Raycast to geometry, required for Drawable Interface
Returns
false

hitTest

Description
Raycast to geometry, required for Drawable Interface
Returns
false

onSelection

Description
Unused function, required for Drawable Interface

update

Description
Updates Uniforms in WebglContext
Parameters
Name Type Description
gl WebglContext WebglContext
sceneProps Object Scene uniform object
time number frametime

draw

Description
Draws Clouds to WebglContext
Parameters
Name Type Description
gl WebglContext WebglContext to draw to