#include <TypedElementObjectInterface.h>
◆ GetObject() [1/2]
Script api Get the object instance that this handle represents, if any.
◆ GetObject() [2/2]
◆ GetObjectAs() [1/2]
Attempts to cast the given handle to another class.
- Returns
- the casted object if successful, otherwise nullptr.
◆ GetObjectAs() [2/2]
template<class
CastTo = UObject>
Attempts to cast the given handle to another class, if it can also be casted to TargetClass. This is intended for use in cases where the calling code may only need an actor pointer, but also wants to be sure it's a specific type of actor.
- Returns
- the casted object if successful, otherwise nullptr.
◆ GetObjectClass() [1/2]
Gets the object instance's class that the handle represents, if any.
◆ GetObjectClass() [2/2]
Gets the object instance's class that the handle represents, if any.
The documentation for this class was generated from the following files: