Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UStaticMeshComponent
Description
Sets the component's DistanceFieldSelfShadowBias. bOverrideDistanceFieldSelfShadowBias must be enabled for this to have an effect.
| Name | SetDistanceFieldSelfShadowBias |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/StaticMeshComponent.h |
| Include Path | #include "Components/StaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/StaticMeshComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Rendering|Lighting")
void SetDistanceFieldSelfShadowBias
(
float NewValue
)