O'Reilly logo

Unreal Engine 4 Scripting with C++ Cookbook by Stephen Whittle, William Sherif

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a new graph pin visualizer for Blueprint

Within the Blueprint system, we can use instances of our MyCustomAsset class as variables, provided we mark that class as a BlueprintType in its UCLASS macro.

However, by default, our new asset is simply treated as UObject, and we can't access any of its members:

Creating a new graph pin visualizer for Blueprint

For some types of assets, we might wish to enable in-line editing of literal values in the same way that classes such as FVector support the following:

Creating a new graph pin visualizer for Blueprint

In order to enable this, we need to use a Graph Pin visualizer. This recipe will show you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required