ShadowMode

Specifies whether the object casts or receives shadows from light sources when shadows are enabled.
Properties:
Name Type Description
DISABLED number The object does not cast or receive shadows.
ENABLED number The object casts and receives shadows.
CAST_ONLY number The object casts shadows only.
RECEIVE_ONLY number The object receives shadows only.

Members

static constant Cesium.ShadowMode.CAST_ONLY : number

The object casts shadows only.
Default Value: 2

static constant Cesium.ShadowMode.DISABLED : number

The object does not cast or receive shadows.

static constant Cesium.ShadowMode.ENABLED : number

The object casts and receives shadows.
Default Value: 1

static constant Cesium.ShadowMode.RECEIVE_ONLY : number

The object receives shadows only.
Default Value: 3
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.