Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation > API/Runtime/Engine/Animation/AnimNotifies > API/Runtime/Engine/Animation/AnimNotifies/UAnimNotify
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimNotifies/AnimNotify.h |
| Include | #include "Animation/AnimNotifies/AnimNotify.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimNotify.cpp |
virtual UWorld * GetWorld() const
Remarks
We don't instance UAnimNotify objects along with the animations they belong to, but we still need a way to see which world this UAnimNotify is currently operating on. So this retrieves a contextual world pointer, from the triggering animation/mesh. NULL if this isn't in the middle of a Received_Notify(), otherwise it's the world belonging to the Mesh passed to Received_Notify()