MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / getOwner

Method getOwner

include/RavEngine/Component.hpp:77–79  ·  view source on GitHub ↗

Get the object of this component. @return a non-owning pointer to this component's owner. Do not store! */

Source from the content-addressed store, hash-verified

75 @return a non-owning pointer to this component's owner. Do not store!
76 */
77 WeakRef<Entity> getOwner() const {
78 return owner; //creates a non-owning pointer
79 }
80
81 /**
82 Set the owner of this component. This is stored in a non-owning fashion.

Callers 3

tickMethod · 0.80
RaycastHitMethod · 0.80
OverlapHitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected