FIntRect not recognized as a UProperty
Example compilation error:
Is this a bug or should we create our own custom rect types?
FIntPoint compiles without problem as does FVector2D, etc...
The FIntRect structure is not declared as a UStruct which is why you are getting a compile error when you try to declare your variable as a UPROPERTY. If you are using a source version of the engine you can change it to a UStruct inside the Source/Runtime/Core/Public/Math/IntRect.h file. If you're using the Binary version of the engine from the Launcher then you will have to rely on using the variable in code rather than exposing it to the editor.
answered Oct 28 '15 at 05:26 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here