djmulder
(djmulder)
June 11, 2015, 1:38am
1
Ok I have this not so very complicated USTRUCT
USTRUCT(BlueprintType)
struct FBla{
GENERATED_USTRUCT_BODY()
public:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Bla")
double blabla;
FBla()
{
blabla = 0;
}
};
But when I instantiate it:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "More bla")
FBla Blaat;
and open the class where it’s instantiated … it will only give me a readonly property.
So I’m wondering… what am I doing wrong?
djmulder
(djmulder)
June 11, 2015, 1:38am
2
note yeh I know the public wasn’t needed… but was experimenting
same for the constructor. without both it still doesn’t work
djmulder
(djmulder)
June 11, 2015, 2:25am
3
Ah yeh upgrading to 4.8 clearified this issue for me:
“Type ‘double’ is not supported by blueprint.”
sigh oh well using float
I think if you remove BlueprintReadWrite you could edit that double. It might be grayed out only because of that specifier does not work with blueprints.