Hi guys!
Here are the defines I’m trying to use:
#define PROP(CategoryIn) UPROPERTY(EditAnywhere, Category = CategoryIn)
#define APROP(CategoryIn) UPROPERTY(EditDefaultsOnly, Category = CategoryIn)
#define IPROP(CategoryIn) UPROPERTY(EditInstanceOnly, Category = CategoryIn)
#define CPROP(CategoryIn) UPROPERTY(VisibleAnywhere, Category = CategoryIn)
#define CAPROP(CategoryIn) UPROPERTY(VisibleDefaultsOnly, Category = CategoryIn)
#define CIPROP(CategoryIn) UPROPERTY(VisibleInstanceOnly, Category = CategoryIn)
#define BP_PROP(CategoryIn) UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = CategoryIn)
#define BP_APROP(CategoryIn) UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = CategoryIn)
#define BP_IPROP(CategoryIn) UPROPERTY(BlueprintReadWrite, EditInstanceOnly, Category = CategoryIn)
#define BP_CPROP(CategoryIn) UPROPERTY(BlueprintReadWrite, VisibleAnywhere, Category = CategoryIn)
#define BP_CAPROP(CategoryIn) UPROPERTY(BlueprintReadWrite, VisibleDefaultsOnly, Category = CategoryIn)
#define BP_CIPROP(CategoryIn) UPROPERTY(BlueprintReadWrite, VisibleInstanceOnly, Category = CategoryIn)
#define CBP_PROP(CategoryIn) UPROPERTY(BlueprintReadOnly, EditAnywhere, Category = CategoryIn)
#define CBP_APROP(CategoryIn) UPROPERTY(BlueprintReadOnly, EditDefaultsOnly, Category = CategoryIn)
#define CBP_IPROP(CategoryIn) UPROPERTY(BlueprintReadOnly, EditInstanceOnly, Category = CategoryIn)
#define CBP_CPROP(CategoryIn) UPROPERTY(BlueprintReadOnly, VisibleAnywhere, Category = CategoryIn)
#define CBP_CAPROP(CategoryIn) UPROPERTY(BlueprintReadOnly, VisibleDefaultsOnly, Category = CategoryIn)
#define CBP_CIPROP(CategoryIn) UPROPERTY(BlueprintReadOnly, VisibleInstanceOnly, Category = CategoryIn)
However, when I declare CBP_CPROP(Camera) float BaseTurnRate;
in my code, it does not show up under that category. Yet when I enter the UPROPERTY
variant, it works just fine.
Any pointers on what could be wrong here? Thanks!
~