Navigation
API > API/Plugins > API/Plugins/RigVM
Description
Given a property, return the C++ type name for it and the associated type object. If the type is an unambiguous simple type, such as a bool or an int, the OutTypeObject value will be nullptr. If the property represents a ambiguous type, like an object pointer, interface or an enum, then the OutTypeObject will be the class of the pointed to object, or the enum definition. For container properties, the type object is always the contained type, rather than the type of the container.
| Name | RigVMPropertyUtils::GetTypeFromProperty |
| Type | function |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMPropertyUtils.h |
| Include Path | #include "RigVMPropertyUtils.h" |
| Source | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Private/RigVMPropertyUtils.cpp |
namespace RigVMPropertyUtils
{
void RigVMPropertyUtils::GetTypeFromProperty
(
const FProperty * InProperty,
FName & OutTypeName,
UObject *& OutTypeObject
)
}
Parameters
| Name | Remarks |
|---|---|
| InProperty | The property to get the type for. |
| OutTypeName | The C++ type name. |
| OutTypeObject | The object class, if the property type is complex or ambiguous. |