UK2Node_Variable::GetActorComponent

Utility function to retrieve actor component for variable property.

Unreal Engine C++ API Reference > Editor > BlueprintGraph > UK2Node_Variable

References

   
Module BlueprintGraph
Header /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_Variable.h
Include #include "K2Node_Variable.h"
Source /Engine/Source/Editor/BlueprintGraph/Private/K2Node_Variable.cpp
const [UActorComponent](API\Runtime\Engine\Components\UActorComponent) * GetActorComponent
(
    const [FProperty](API\Runtime\CoreUObject\UObject\FProperty) * VariableProperty
) const

Remarks

Utility function to retrieve actor component for variable property. Found UActorComponent for the FProperty, else nullptr


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library