Add Function to Promotable Operator Nodes

To add a function to these operator nodes, a function must have these things:

  1. The function must be static.

  2. The UFUNCTION must be BlueprintPure.

  3. The UFUNCTION meta must contain CompactNodeTitle = "{Node Title}".

  1. The function name must start with one of the defined “OperatorNames” in BlueprintTypePromotion.cpp.

Example

From “OS_RRS_RenderDataLibrary.h”:

More examples can be found in "KismetMathLibrary.h".

Last updated