Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/FSystem
Description
Calculate the relevancy of every parameter. Some parameters may be unused depending on the values of other parameters. This method will set to true the flags for parameters that are relevant, and to false otherwise. This is useful to hide irrelevant parameters in dynamic user interfaces.
| Name | GetParameterRelevancy |
| Type | function |
| Header File | /Engine/Plugins/Mutable/Source/MutableRuntime/Public/MuR/System.h |
| Include Path | #include "MuR/System.h" |
| Source | /Engine/Plugins/Mutable/Source/MutableRuntime/Private/MuR/System.cpp |
void GetParameterRelevancy
(
FInstance::FID InstanceID,
const TSharedPtr < const FParameters > & FParameters,
bool * Flags
)
Parameters
| Name | Remarks |
|---|---|
| pModel | The model used to create the FParameters instance. |
| pParameters | Parameter set that we want to find the relevancy of. |
| pFlags | is a pointer to a preallocated array of booleans that contains at least pParameters->GetCount() elements. |