UBlueprintEditorLibrary::GatherUnusedVariables

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

Choose your operating system:

Windows

macOS

Linux

References

Module

BlueprintEditorLibrary

Header

/Engine/Source/Editor/BlueprintEditorLibrary/Public/BlueprintEditorLibrary.h

Include

#include "BlueprintEditorLibrary.h"

Source

/Engine/Source/Editor/BlueprintEditorLibrary/Private/BlueprintEditorLibrary.cpp

Syntax

static bool GatherUnusedVariables
(
    const UBlueprint * Blueprint,
    TArray< FProperty * > & OutProperties
)

Remarks

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

Returns

True if variables were checked on this blueprint, false otherwise.

Parameters

Parameter

Description

Blueprint

The blueprint to check

OutProperties

Out array of unused FProperty*'s