Index
All Classes and Interfaces|All Packages
A
- ARMS_LEGS - Enum constant in enum class org.vivecraft.api.data.FBTMode
-
Head, hands, waist, and feet trackers are available.
- ARMS_ONLY - Enum constant in enum class org.vivecraft.api.data.FBTMode
-
Only head and hands are available.
- availableInMode(FBTMode) - Method in enum class org.vivecraft.api.data.VRBodyPart
-
Whether this body part type is available in the provided full-body tracking mode.
- averagePosition(VRBodyPart, int) - Method in interface org.vivecraft.api.data.VRPoseHistory
-
Gets the average position between the most recent VRPose in this instance and the oldest VRPose that can be retrieved, going no farther back than
maxTicksBack. - averageSpeed(VRBodyPart, int) - Method in interface org.vivecraft.api.data.VRPoseHistory
-
Gets the average speed in blocks/tick between the most recent VRPose in this instance and the oldest VRPose that can be retrieved, going no farther back than
maxTicksBack. - averageVelocity(VRBodyPart, int) - Method in interface org.vivecraft.api.data.VRPoseHistory
-
Gets the average velocity in blocks/tick between the most recent VRPose in this instance and the oldest VRPose that can be retrieved, going no farther back than
maxTicksBack.
B
- bodyPartAvailable(VRBodyPart) - Method in enum class org.vivecraft.api.data.FBTMode
-
Whether the provided body part is available in this full-body tracking mode.
F
- FBTMode - Enum Class in org.vivecraft.api.data
-
The mode used for full-body tracking, denoting which body parts are being tracked.
G
- getAllHistoricalData() - Method in interface org.vivecraft.api.data.VRPoseHistory
-
Gets a raw list of
VRPoseinstances, with index 0 representing the current tick's pose, 1 representing last tick's pose, etc. - getBodyPartData(VRBodyPart) - Method in interface org.vivecraft.api.data.VRPose
-
Gets the pose data for a body part.
- getDir() - Method in interface org.vivecraft.api.data.VRBodyPartData
-
Gets the forward direction this body part is facing.
- getFBTMode() - Method in interface org.vivecraft.api.data.VRPose
-
Gets the full-body tracking mode the player was using when the pose was created.
- getHead() - Method in interface org.vivecraft.api.data.VRPose
-
Gets the body part pose data for the head.
- getHistoricalData(int) - Method in interface org.vivecraft.api.data.VRPoseHistory
-
Gets the pose from
ticksBackticks back, ornullif such data isn't available. - getHistoricalVRPoses(Player) - Method in interface org.vivecraft.api.VRAPI
-
Returns the history of VR poses for the player.
- getMainHand() - Method in interface org.vivecraft.api.data.VRPose
-
Gets the body part data for the main-hand.
- getOffHand() - Method in interface org.vivecraft.api.data.VRPose
-
Gets the body part data for the off-hand.
- getPitch() - Method in interface org.vivecraft.api.data.VRBodyPartData
-
Gets the pitch of this body part.
- getPos() - Method in interface org.vivecraft.api.data.VRBodyPartData
-
Gets the world space position for this body part.
- getRoll() - Method in interface org.vivecraft.api.data.VRBodyPartData
-
Gets the roll of this body part.
- getRotation() - Method in interface org.vivecraft.api.data.VRBodyPartData
-
Gets the quaternion representing the rotation of this body part.
- getVRPose(Player) - Method in interface org.vivecraft.api.VRAPI
-
Returns the VR pose for the given player.
- getYaw() - Method in interface org.vivecraft.api.data.VRBodyPartData
-
Gets the yaw of this body part.
H
- HEAD - Enum constant in enum class org.vivecraft.api.data.VRBodyPart
-
corresponds to the player's headset, so it is at their eye position
I
- instance() - Static method in interface org.vivecraft.api.VRAPI
-
Gets API instance for interacting with Vivecraft's common API
- isFoot() - Method in enum class org.vivecraft.api.data.VRBodyPart
-
Checks if
thisVRBodyPart is a foot - isHand() - Method in enum class org.vivecraft.api.data.VRBodyPart
-
Checks if
thisVRBodyPart is a hand - isLeftHanded() - Method in interface org.vivecraft.api.data.VRPose
-
Gets whether the player was using left-handed mode when the pose was created.
- isSeated() - Method in interface org.vivecraft.api.data.VRPose
-
Gets whether the player was in seated mode when the pose was created.
- isVRPlayer(Player) - Method in interface org.vivecraft.api.VRAPI
-
Check whether a given player is currently in VR.
L
- LEFT_ELBOW - Enum constant in enum class org.vivecraft.api.data.VRBodyPart
- LEFT_FOOT - Enum constant in enum class org.vivecraft.api.data.VRBodyPart
- LEFT_KNEE - Enum constant in enum class org.vivecraft.api.data.VRBodyPart
M
- MAIN_HAND - Enum constant in enum class org.vivecraft.api.data.VRBodyPart
-
Main hand of the player, this is the hand the player points with.
N
- netMovement(VRBodyPart, int) - Method in interface org.vivecraft.api.data.VRPoseHistory
-
Gets the net movement between the most recent VRPose in this instance and the oldest VRPose that can be retrieved, going no farther back than
maxTicksBack.
O
- OFF_HAND - Enum constant in enum class org.vivecraft.api.data.VRBodyPart
- opposite() - Method in enum class org.vivecraft.api.data.VRBodyPart
-
Gets the VRBodyPart which is the same type but on the opposite side of the body.
- org.vivecraft.api - package org.vivecraft.api
- org.vivecraft.api.data - package org.vivecraft.api.data
R
- RIGHT_ELBOW - Enum constant in enum class org.vivecraft.api.data.VRBodyPart
- RIGHT_FOOT - Enum constant in enum class org.vivecraft.api.data.VRBodyPart
- RIGHT_KNEE - Enum constant in enum class org.vivecraft.api.data.VRBodyPart
S
- sendHapticPulse(Player, VRBodyPart, float) - Method in interface org.vivecraft.api.VRAPI
-
Sends a haptic pulse (vibration/rumble) at full strength with 160 Hz for the specified VRBodyPart, if possible, to the given player.
- sendHapticPulse(Player, VRBodyPart, float, float, float, float) - Method in interface org.vivecraft.api.VRAPI
-
Sends a haptic pulse (vibration/rumble) for the specified VRBodyPart, if possible, to the given player.
T
- ticksOfHistory() - Method in interface org.vivecraft.api.data.VRPoseHistory
-
Gets the number of ticks, historical data is currently available for.
V
- valueOf(String) - Static method in enum class org.vivecraft.api.data.FBTMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.vivecraft.api.data.VRBodyPart
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.vivecraft.api.data.FBTMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.vivecraft.api.data.VRBodyPart
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VRAPI - Interface in org.vivecraft.api
-
The main interface for interacting with Vivecraft from code.
- VRBodyPart - Enum Class in org.vivecraft.api.data
-
Corresponds to the different tracked device roles that are supported by Vivecraft.
- VRBodyPartData - Interface in org.vivecraft.api.data
-
Represents the data for a body part, or a device usually tied to a body part in VR, such as the HMD or a controller.
- VRPose - Interface in org.vivecraft.api.data
-
Represents the pose of the VR player.
- VRPoseHistory - Interface in org.vivecraft.api.data
-
Represents the pose history of the VR player.
W
- WAIST - Enum constant in enum class org.vivecraft.api.data.VRBodyPart
- WITH_JOINTS - Enum constant in enum class org.vivecraft.api.data.FBTMode
-
Head, hands, waist, feet, elbow, and knee trackers are available.
All Classes and Interfaces|All Packages