Record Class DevVRPose
java.lang.Object
java.lang.Record
com.hammy275.immersivemc.common.vr.dev.impl.DevVRPose
- All Implemented Interfaces:
org.vivecraft.api.data.VRPose
public record DevVRPose(DevVRBodyPartyData head, DevVRBodyPartyData c0, DevVRBodyPartyData c1)
extends Record
implements org.vivecraft.api.data.VRPose
-
Constructor Summary
ConstructorsConstructorDescriptionDevVRPose(DevVRBodyPartyData head, DevVRBodyPartyData c0, DevVRBodyPartyData c1) Creates an instance of aDevVRPoserecord class. -
Method Summary
Modifier and TypeMethodDescriptionc0()Returns the value of thec0record component.c1()Returns the value of thec1record component.final booleanIndicates whether some other object is "equal to" this one.org.vivecraft.api.data.VRBodyPartDatagetBodyPartData(org.vivecraft.api.data.VRBodyPart vrBodyPart) org.vivecraft.api.data.FBTModefinal inthashCode()Returns a hash code value for this object.head()Returns the value of theheadrecord component.booleanbooleanisSeated()final StringtoString()Returns a string representation of this record class.Methods inherited from interface org.vivecraft.api.data.VRPose
getHand, getHead, getMainHand, getOffHand
-
Constructor Details
-
DevVRPose
Creates an instance of aDevVRPoserecord class.- Parameters:
head- the value for theheadrecord componentc0- the value for thec0record componentc1- the value for thec1record component
-
-
Method Details
-
getBodyPartData
public org.vivecraft.api.data.VRBodyPartData getBodyPartData(org.vivecraft.api.data.VRBodyPart vrBodyPart) - Specified by:
getBodyPartDatain interfaceorg.vivecraft.api.data.VRPose
-
isSeated
public boolean isSeated()- Specified by:
isSeatedin interfaceorg.vivecraft.api.data.VRPose
-
isLeftHanded
public boolean isLeftHanded()- Specified by:
isLeftHandedin interfaceorg.vivecraft.api.data.VRPose
-
getFBTMode
public org.vivecraft.api.data.FBTMode getFBTMode()- Specified by:
getFBTModein interfaceorg.vivecraft.api.data.VRPose
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
head
Returns the value of theheadrecord component.- Returns:
- the value of the
headrecord component
-
c0
Returns the value of thec0record component.- Returns:
- the value of the
c0record component
-
c1
Returns the value of thec1record component.- Returns:
- the value of the
c1record component
-