new SkySphere( textureSrc ) → {SkySphere}

Description
Creates a SkySphere object
Parameters
Name Type Description
textureSrc string Texture image src
Returns

Members


material :ShaderMaterial

Description
Material for SkySphere

init

Description
Initializes SkySphere 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
Hittest 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 object to WebglContext
Parameters
Name Type Description
gl WebglContext WebglContext to draw to