Navigation
Unreal Engine C++ API Reference > Editor > AnimGraph > UAnimGraphNode_Base > Draw
- UAnimGraphNode_Base::Draw()
References
Module | AnimGraph |
Header | /Engine/Source/Editor/AnimGraph/Public/AnimGraphNode_Base.h |
Include | #include "AnimGraphNode_Base.h" |
Source | /Engine/Source/Editor/AnimGraph/Private/AnimGraphNode_Base.cpp |
virtual void Draw ( [FPrimitiveDrawInterface](API\Runtime\Engine\FPrimitiveDrawInterface) * PDI, [USkeletalMeshComponent](API\Runtime\Engine\Components\USkeletalMeshComponent) * PreviewSkelMeshComp, const bool bIsSelected, const bool bIsPoseWatchEnabled ) const
Remarks
Draw function called on nodes that are selected and / or have a pose watch enabled. Default implementation calls the basic draw function for selected nodes and does nothing for pose watched nodes. Nodes that should render something when a pose watch is enabled but they are not selected should override this function.