castShadows

Controls if this renderable casts shadows, false by default.

If the View's shadow type is set to ShadowType.VSM, castShadows should only be disabled if either receiveShadows is also disabled, or the object is guaranteed to not cast shadows on itself or other objects (for example, a ground plane).

Return

Builder reference for chaining calls.

Parameters

enable

whether shadow casting is enabled