Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent
Syntax
UPROPERTY (EditAnywhere, AdvancedDisplay, BlueprintReadOnly, Category=Lighting,
Meta=(EditCondition="CastShadow"))
uint8 bSelfShadowOnly: 1
Remarks
When enabled, the component will only cast a shadow on itself and not other components in the world. This is especially useful for first person weapons, and forces bCastInsetShadow to be enabled.