Navigation
API > API/Editor > API/Editor/AnimGraph > API/Editor/AnimGraph/UAnimGraphNode_Base > API/Editor/AnimGraph/UAnimGraphNode_Base/Draw
- UAnimGraphNode_Base::Draw()
- UAnimGraphNode_RigidBody::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 * PDI,
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.