RemoteControlTypeUtilities::GetMetadataValue

Returns typed metadata for numeric property if it exists, otherwise returns the DefaultValue.

Windows
MacOS
Linux

References

Module

RemoteControlCommon

Header

/Engine/Plugins/VirtualProduction/RemoteControl/Source/RemoteControlCommon/Public/RCTypeUtilities.h

Include

#include "RCTypeUtilities.h"

Syntax

namespace RemoteControlTypeUtilities
{
    template<typename PropertyType, typename ValueType>
    static constexpr TEnableIf< TAnd< TIsDerivedFrom< PropertyType, FProperty >, RemoteControlTypeTraits::TNumericValueConstraint< ValueType > >::Value, ValueType >::Type RemoteControlTypeUtilities::GetMetadataValue
    (
        const PropertyType * InProperty,
        const FName & InKey,
        const ValueType & InDefaultValue
    )
}

Remarks

Returns typed metadata for numeric property if it exists, otherwise returns the DefaultValue.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss