Interface BookInteractable
public interface BookInteractable
Something that can be interacted with in a book.
-
Method Summary
Modifier and TypeMethodDescriptiongetOBB()
void
hover
(ClientBookData data, PosRot bookPosRot, PosRot other) Called when this interactable is hovered.void
interact
(ClientBookData data, PosRot bookPosRot, PosRot other) Called when this interactable is interacted with.
-
Method Details
-
getOBB
OBB getOBB()- Returns:
- The OBB for interaction.
-
hover
Called when this interactable is hovered.- Parameters:
data
- Book data.bookPosRot
- Position and rotation of the book.other
- Position and rotation of the thing hovering the interactable.
-
interact
Called when this interactable is interacted with.- Parameters:
data
- Book data.bookPosRot
- Position and rotation of the book.other
- Position and rotation of the thing interacting with the interactable.
-