Buckets:

immErfanrajabee/bd / node_modules /three /src /lights /DirectionalLightShadow.js
imerfanrajabee's picture
download
raw
609 Bytes
import { LightShadow } from './LightShadow.js';
import { OrthographicCamera } from '../cameras/OrthographicCamera.js';
/**
* Represents the shadow configuration of directional lights.
*
* @augments LightShadow
*/
class DirectionalLightShadow extends LightShadow {
/**
* Constructs a new directional light shadow.
*/
constructor() {
super( new OrthographicCamera( - 5, 5, 5, - 5, 0.5, 500 ) );
/**
* This flag can be used for type testing.
*
* @type {boolean}
* @readonly
* @default true
*/
this.isDirectionalLightShadow = true;
}
}
export { DirectionalLightShadow };

Xet Storage Details

Size:
609 Bytes
·
Xet hash:
cfdd033d4bf7efed1279bd0353201821a85491ef15d572deea92ada25f407105

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.