# ShadowMode

#### ShadowMode()
Scene/ShadowMode.js 14

  Specifies whether the object casts or receives shadows from each light source when shadows are enabled.

### Members

#### staticconstantCesium.ShadowMode.CAST_ONLY : Number
Scene/ShadowMode.js 37

  The object casts shadows only.

#### staticconstantCesium.ShadowMode.DISABLED : Number
Scene/ShadowMode.js 21

  The object does not cast or receive shadows.

#### staticconstantCesium.ShadowMode.ENABLED : Number
Scene/ShadowMode.js 29

  The object casts and receives shadows.

#### staticconstantCesium.ShadowMode.RECEIVE_ONLY : Number
Scene/ShadowMode.js 45

  The object receives shadows only.