RemoteControlTypeUtilities::ClampToPropertyType

Clamps the value to the PropertyType, for example if an int64 is requested but the PropertyType is UInt16Property.

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 ValueType RemoteControlTypeUtilities::ClampToPropertyType
    (
        const FNumericProperty * InProperty,
        ValueType & InOutValue
    )
}

Remarks

Clamps the value to the PropertyType, for example if an int64 is requested but the PropertyType is UInt16Property.

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