castsShadow property
Whether this primitive casts shadows. Defaults to true.
Ands with the owning node's Node.castsShadows. Independent of visible, so a primitive can render while opting out of self-shadowing, or stay invisible while still casting a shadow.
Implementation
bool castsShadow = true;