Buckets:
| import AnalyticLightNode from './AnalyticLightNode.js'; | |
| /** | |
| * Module for representing ambient lights as nodes. | |
| * | |
| * @augments AnalyticLightNode | |
| */ | |
| class AmbientLightNode extends AnalyticLightNode { | |
| static get type() { | |
| return 'AmbientLightNode'; | |
| } | |
| /** | |
| * Constructs a new ambient light node. | |
| * | |
| * @param {?AmbientLight} [light=null] - The ambient light source. | |
| */ | |
| constructor( light = null ) { | |
| super( light ); | |
| } | |
| setup( { context } ) { | |
| context.irradiance.addAssign( this.colorNode ); | |
| } | |
| } | |
| export default AmbientLightNode; | |
Xet Storage Details
- Size:
- 553 Bytes
- Xet hash:
- e085d1e8ed7cdf4178434bfd6af684f460157e0c033ba3f881df1e01131edcd9
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.