UScriptStruct::HasDefaults

If it is native, it is assumed to have defaults because it has a constructor

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h

Include

#include "UObject/Class.h"

Syntax

bool HasDefaults() const

Remarks

If it is native, it is assumed to have defaults because it has a constructor

Returns

true if this struct has defaults

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