FNodeHandlingFunctor::ValidateAndRegisterNetIfLiteral

If the net is a literal, it validates the default value and registers it.

Unreal Engine C++ API Reference > Editor > KismetCompiler > FNodeHandlingFunctor

References

   
Module KismetCompiler
Header /Engine/Source/Editor/KismetCompiler/Public/KismetCompilerMisc.h
Include #include "KismetCompilerMisc.h"
Source /Engine/Source/Editor/KismetCompiler/Private/KismetCompilerMisc.cpp
bool ValidateAndRegisterNetIfLiteral
(
    [FKismetFunctionContext](API\Editor\KismetCompiler\FKismetFunctionContext) & Context,
    [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * Net
)

Remarks

If the net is a literal, it validates the default value and registers it. Returns true if the net is not a literal, or if it's a literal that is valid. Returns false only for a bogus literal value.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library