Skip to content

KBE3D / KBCore / Cesium / DirectionalLight

类: DirectionalLight

A light that gets emitted in a single direction from infinitely far away.

参数

Object with the following properties:

参数

The direction in which light gets emitted.

参数

The color of the light.

参数

The intensity of the light.

属性

direction

direction: Cartesian3

The direction in which light gets emitted.


color

color: Color

The color of the light.


intensity

intensity: number

The intensity of the light.

构造函数

构造函数

new DirectionalLight(options: { direction: Cartesian3; color?: Color; intensity?: number; }): DirectionalLight

参数

options
direction

Cartesian3

color?

Color

intensity?

number

返回

DirectionalLight

KBE3D @3.0.0 Copyright © 2024-present KBE3D