SocketTransformLocal struct

PostPhysics-scoped socket cache; holds resolved world transforms for all registered sockets. Validity flags are cleared at the start of each tick; entries are computed lazily on first query.

Public static variables

static uint32_t MaxSockets constexpr

Public functions

void Clear()
Invalidate all entries at the start of a PostPhysics tick without removing registrations.
void RegisterSocket(SocketID id, uint32_t boneIndex, const BoneTransform& localOffset)
Register a socket so it can be queried via GetSocketTransform. Call once after skeleton bind.
auto FindSocket(SocketID id) -> SocketEntry*
Returns the SocketEntry for id, or nullptr if the socket was not registered.

Public variables

SocketEntry sockets
uint32_t count