UMeshComponent::GetScalarParameterDefaultValue

Returns default value for the parameter input.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/MeshComponent.h

Include

#include "Components/MeshComponent.h"

Syntax

float GetScalarParameterDefaultValue
(
    const FName ParameterName
)

Remarks

Returns default value for the parameter input.

This is not reliable when cooking, as initializing the default value requires a render resource that only exists if the owning world is rendering.