Package net.timtaran.interactivemc.data
Class ClientDataStore
java.lang.Object
net.timtaran.interactivemc.data.ClientDataStore
Client-side data store containing VR-related information.
This class stores data that is specific to the client side, such as grabbed bodies and the current VR pose information.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.vivecraft.api.data.VRPoseThe current VR pose of the player, updated every frame.Tracks the UUIDs of bodies currently grabbed in each hand.List containing indices of all bodies controlled by the player. -
Method Summary
-
Field Details
-
grabbedBodies
Tracks the UUIDs of bodies currently grabbed in each hand. Maps fromInteractionHandto the UUID of the grabbed body. -
playerControlledBodies
List containing indices of all bodies controlled by the player. -
currentPose
public static org.vivecraft.api.data.VRPose currentPoseThe current VR pose of the player, updated every frame.
-