Base class for type-erased ObjectRef access (used by engine).
More...
#include <ObjectRef.h>
Inherited by ObjectRef< T >.
|
| bool | IsValid () const |
| bool | IsResolved () const |
| void | Set (DekiObject *obj) |
| | Set the reference to an object (runtime assignment).
|
| void | Set (DekiObject *obj, uint32_t typeId) |
| | Set the reference to a specific component on an object.
|
Base class for type-erased ObjectRef access (used by engine).
◆ IsValid()
| bool ObjectRefBase::IsValid |
( |
| ) |
const |
|
inline |
◆ IsResolved()
| bool ObjectRefBase::IsResolved |
( |
| ) |
const |
|
inline |
◆ Set() [1/2]
Set the reference to an object (runtime assignment).
- Parameters
-
| obj | The object to reference, or nullptr to clear |
◆ Set() [2/2]
| void ObjectRefBase::Set |
( |
DekiObject * | obj, |
|
|
uint32_t | typeId ) |
|
inline |
Set the reference to a specific component on an object.
- Parameters
-
| obj | The object to reference, or nullptr to clear |
| typeId | The component type ID to target |
◆ id
| uint32_t ObjectRefBase::id = 0 |
◆ componentTypeId
| uint32_t ObjectRefBase::componentTypeId = 0 |
◆ resolved
The documentation for this struct was generated from the following file: