|
| LEntity (entt::entity InHandle, TObjectPtr< LScene > InScene) |
|
| LEntity (entt::entity InHandle, LScene *InScene) |
|
| LEntity (const LEntity &Other)=default |
|
void | Tick (float ts) |
|
template<typename T , typename ... TArgs> |
T & | AddComponent (TArgs &&... Args) |
|
template<typename... T> |
bool | HasComponent () |
|
template<typename... T> |
bool | HasComponent () const |
|
template<typename... T> |
bool | HasAny () |
|
template<typename... T> |
bool | HasAny () const |
|
template<typename T > |
T & | GetComponent () |
|
template<typename T > |
const T & | GetComponent () const |
|
template<typename T > |
void | RemoveComponent () |
|
template<typename T > |
void | RemoveComponentIfExists () |
|
template<typename T , typename... ARGS> |
void | AddExistingComponent (T, ARGS &&... args) |
|
FORCEINLINE const std::string & | Name () const |
|
FORCEINLINE LTagComponent & | Tag () |
|
FORCEINLINE LTransformComponent & | Transform () |
|
FORCEINLINE LMeshComponent & | GetMesh () |
|
| operator uint32_t () const |
|
| operator entt::entity () const |
|
| operator LUUID () const |
|
| operator LTransformComponent & () |
|
| operator bool () const |
|
bool | operator== (const LEntity &Other) const |
|
bool | operator!= (const LEntity &Other) const |
|
LEntity | GetParent () |
|
FORCEINLINE LUUID | GetUUID () const |
|
FORCEINLINE void | SetParent (LEntity InParent) |
|
LUUID | GetSceneUUID () const |
|
FORCEINLINE void | SetParentUUID (LUUID parent) |
|
FORCEINLINE LUUID | GetParentUUID () const |
|
FORCEINLINE std::vector< LUUID > & | GetChildren () |
|
const std::vector< LUUID > & | GetChildren () const |
|
bool | RemoveChild (LEntity Child) |
|
bool | IsAncestorOf (LEntity InEntity) |
|
FORCEINLINE bool | IsDescendantOf (LEntity Entity) const |
|
| LObject (const LObject &Other) |
|
virtual void | Initialize () |
| Initialize object.
|
|
virtual void | Destroy () |
| Destroy object, releasing all resources.
|
|
virtual FORCEINLINE bool | IsInitialized () const |
| Check if object is initialized.
|
|
FORCEINLINE FObjectHandle | GetObjectHandle () const |
| Get the object handle.
|
|
virtual FORCEINLINE bool | IsObjectValid () const |
| Check if object is valid for use.
|
|
virtual const LClass * | ObjectRegistration ()=0 |
| Register object class.
|
|
virtual FORCEINLINE const LClass * | GetClass () const |
| Get the class for this LObject.
|
|
virtual std::string | ClassName () const =0 |
| Get name of the LObject class.
|
|
LObject & | operator= (const LObject &Other) |
|
void | MarkAsGarbage () |
| Mark object as garbage.
|
|
template<typename T > |
T & | As () |
| Cast object to type T.
|
|
template<typename T > |
const T & | As () const |
| Cast object to type T.
|
|
template<typename T > |
bool | IsA () const |
| Check if the object is or is a derivation of type T.
|
|
virtual FORCEINLINE bool | IsAsset () const |
| Check if object is an asset.
|
|
FORCEINLINE uint32_t | GetReferenceCount () const |
| Return current reference count from all object pointers.
|
|
template<typename OtherClassType > |
FORCEINLINE bool | IsA (OtherClassType OtherObject) const |
| Check if the object is the same type as the passed object's.
|
|
|
static FORCEINLINE const LClass * | StaticClass () |
| Get static class object.
|
|
static FORCEINLINE std::string | StaticClassName () |
| Static class name.
|
|
template<typename T > |
static void | ValidateLObjectImplementation () |
| Validate the implementation of a LObject.
|
|
template<typename ClassType > |
static FORCEINLINE bool | IsChildOf (const ClassType *InObjectClass, const ClassType *InOtherClass) |
| Check if the object is a child of another class.
|
|
void | SetClass (LClass *InClass) |
| Set the class.
|
|
FORCEINLINE const LClass * | GetClass () const |
| Get the private class member.
|
|
FORCEINLINE bool | IsClassValid () const |
| Check if LObjectBase has a valid LClass object.
|
|
FObjectHandle | ObjectHandle = 0 |
|
bool | bObjectInitialized = false |
|
EObjectFlag | ObjectFlags = EObjectFlag::None |
|
std::atomic< uint32_t > | Ptr_ReferenceCount = 0 |
|