BLUE
PHP 7.4.33
Path:
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/three/src/lights/webgpu
Run
Logout
Edit File
Size: 1.20 KB
Close
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/three/src/lights/webgpu/IESSpotLight.js
Text
Base64
import { SpotLight } from '../SpotLight.js'; /** * A IES version of {@link SpotLight}. Can only be used with {@link WebGPURenderer}. * * @augments SpotLight */ class IESSpotLight extends SpotLight { /** * Constructs a new IES spot light. * * @param {(number|Color|string)} [color=0xffffff] - The light's color. * @param {number} [intensity=1] - The light's strength/intensity measured in candela (cd). * @param {number} [distance=0] - Maximum range of the light. `0` means no limit. * @param {number} [angle=Math.PI/3] - Maximum angle of light dispersion from its direction whose upper bound is `Math.PI/2`. * @param {number} [penumbra=0] - Percent of the spotlight cone that is attenuated due to penumbra. Value range is `[0,1]`. * @param {number} [decay=2] - The amount the light dims along the distance of the light. */ constructor( color, intensity, distance, angle, penumbra, decay ) { super( color, intensity, distance, angle, penumbra, decay ); /** * TOOD * * @type {?Texture} * @default null */ this.iesMap = null; } copy( source, recursive ) { super.copy( source, recursive ); this.iesMap = source.iesMap; return this; } } export default IESSpotLight;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 1
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
IESSpotLight.js
1.20 KB
lrw-r--r--
2025-03-28 11:04:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).