unreal engine specific stuff Flashcards

(2 cards)

1
Q

how to expose c++ variable in the editor

A

add UPROPERTY(EditAnywhere) above it (IN THE .H FILE)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

UFUNCTION(___)
1. What does this do?
2. What are the three different things you can fill in the blank with, and what do each of them do?

A
  1. It exposes the below function to the editor
  2. BlueprintCallable – implemented in the corresponding .cpp file
    BlueprintImplementableEvent – has no corresponding cpp implementation, is implemented in a blueprint
    BlueprintNativeEvent – has a default implementation in cpp, but can be overwritten via blueprint
How well did you know this?
1
Not at all
2
3
4
5
Perfectly