Module |
|
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
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()