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