Unreal Engine 4.x Scripting with C++ Cookbook - Second Edition
by John P. Doran, William Sherif, Stephen Whittle
How it works...
When specifying UPROPERTY, we can indicate where we want that value to be available inside the Unreal editor.
Visible* prefixes indicate that the value is viewable in the Details panel for the indicated object. The value won't be editable, however.
This doesn't mean that the variable is a const qualifier; however, native code can change the value, for instance.
Edit* prefixes indicate that the property can be altered within the Details panels inside the editor.
InstanceOnly as a suffix indicates that the property will only be displayed in the Details panels for instances of your class that have been placed into the game. They won't be visible in the Class Defaults section of the Blueprint editor, for example.
DefaultsOnly ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access