UBlueprintEditorLibrary::GatherUnusedVariables

Gathers any unused blueprint variables and populates the given array of FPropertys

Unreal Engine C++ API Reference > Editor > BlueprintEditorLibrary > UBlueprintEditorLibrary

References

   
Module BlueprintEditorLibrary
Header /Engine/Source/Editor/BlueprintEditorLibrary/Public/BlueprintEditorLibrary.h
Include #include "BlueprintEditorLibrary.h"
Source /Engine/Source/Editor/BlueprintEditorLibrary/Private/BlueprintEditorLibrary.cpp
static bool GatherUnusedVariables
(
    const [UBlueprint](API\Runtime\Engine\Engine\UBlueprint) * Blueprint,
    [TArray](API\Runtime\Core\Containers\TArray)< [FProperty](API\Runtime\CoreUObject\UObject\FProperty) * > & OutProperties
)

Remarks

Gathers any unused blueprint variables and populates the given array of FPropertys True if variables were checked on this blueprint, false otherwise.

Parameters

Name Description
Blueprint The blueprint to check
OutProperties Out array of unused FProperty*'s

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library