Ends Today: Save up to 95% on the Time Travel Mega Bundle!

Null Coalescing Operator is a feature found in C#, JavaScript, Kotlin, and many other programming languages, that allows a programmer to more concisely choose between two variables based on whether one of them is null. For an in-depth background, you can check out the Wikipedia article on the Null Coalescing Operator, but it's a very simple feature to understand:


The Null Coalescing Operator returns the first of its given inputs that is not null.


The Null Assignment Operator performs lazy initialization.


This plugin introduces the Null Coalescing and Null Coalescing Assignment operators as native language features to Blueprints. The nodes included in the plugin are not simply UFUNCTION(BlueprintCallable)-decorated functions, but rather implementations of UK2Node that generate optimized bytecode, and support other bespoke interactions within the graph editor.


By adding these operators to your UE4 projects, you gain the ability to compose Blueprint logic that is more expressive and maintainable, and to compose common logical patterns with less effort or with better optimization. Compared to the alternative approaches that are built-in to Unreal Engine, you'll find that these seemingly simple nodes are actually packed with features that make your job as a Blueprint author more enjoyable.

Technical Details

Features:

  • Null Coalescing node
  • Variadic (add as many pins as you want, so that you don't need to stack multiple nodes when choosing from more than 2 possible options)
  • Null Coalescing Assignment node
  • Selective execution (see Documentation for more details).
  • Smart type inference (see Documentation for more details).
  • Compatible with object, class, and interface pins.

Code Modules:

  •  NullCoalescing (UncookedOnly)

Number of Blueprints: 0

Number of C++ Classes: 2

Network Replicated: No (not relevant - is compatible with replicated blueprints)

Supported Development Platforms: Windows

Supported Target Build Platforms: All

Documentation: https://github.com/FreeformLabs/NullCoalescing_UE4/wiki

FL
Freeform Labs
All Assets by Author
4.83 
Platforms Windows 32-bit, Windows 64-bit
UE Versions 4.26 - 4.27, 5.0
Tags K2NODE, BLUEPRINTS, BLUEPRINT NODE
Release date 15.12.2021

Similar products

Image
Sign In
Image
Sign Up
Image
Recovery