UBlueprintEditorLibrary::RemoveUnusedVariables

Deletes any unused blueprint created variables the given blueprint.

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 int32 RemoveUnusedVariables
(
    [UBlueprint](API\Runtime\Engine\Engine\UBlueprint) * Blueprint
)

Remarks

Deletes any unused blueprint created variables the given blueprint. An Unused variable is any BP variable that is not referenced in any blueprint graphs Number of variables removed

Parameters

Name Description
Blueprint Blueprint that you would like to remove variables from

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library