Class Index | File Index

Classes


Class renderLight


Extends component.
renderLight
Defined in: renderLight.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
A rendering light in 3D space.
Field Summary
Field Attributes Field Name and Description
 
Color of the light.
 
Whether to enable the light itself.
 
Intensity of the light.
 
Global / absolute position of the light.
 
Type of light.
Fields borrowed from class component:
host, info, isDrawing, isStepping, onAttach, onDraw, onStep, tag
Method Summary
Method Attributes Method Name and Description
 
Resets the lights properties back to the default state.
Methods borrowed from class component:
canHandleEvent, draw, emitEvent, getKnownEvents, installEvent, installHandler, installHook, step, uninstallEvent, uninstallHandler, uninstallHook
Class Detail
renderLight()
A rendering light in 3D space.
Field Detail
color
Color of the light.

enabled
Whether to enable the light itself.

intensity
Intensity of the light.

position
Global / absolute position of the light.

type
Type of light. See sandboxe.renderLight.type for possible choices.
Method Detail
reset()
Resets the lights properties back to the default state.

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Feb 03 2019 18:30:56 GMT-0500 (EST)