MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / getUserData

Method getUserData

src/body/Body.cpp:417–419  ·  view source on GitHub ↗

Return a pointer to the user data attached to this body * @return A pointer to the user data you have attached to the body */

Source from the content-addressed store, hash-verified

415 * @return A pointer to the user data you have attached to the body
416 */
417void* Body::getUserData() const {
418 return mWorld.mBodyComponents.getUserData(mEntity);
419}
420
421// Attach user data to this body
422/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected