Package guideme.scene.annotation
Class DiamondAnnotation
java.lang.Object
guideme.scene.annotation.SceneAnnotation
guideme.scene.annotation.OverlayAnnotation
guideme.scene.annotation.DiamondAnnotation
- All Implemented Interfaces:
guideme.internal.siteexport.ExportableResourceProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBoundingRect
(GuidebookScene scene, LytRect viewport) Returns the bounding rectangle in document layout coordinates, given the scene and viewport.getColor()
org.joml.Vector3f
getPos()
void
render
(GuidebookScene scene, RenderContext context, LytRect viewport) Methods inherited from class guideme.scene.annotation.SceneAnnotation
exportResources, getTooltip, hasTooltip, isHovered, setHovered, setTooltip, setTooltipContent, setTooltipContent
-
Constructor Details
-
DiamondAnnotation
-
-
Method Details
-
getPos
public org.joml.Vector3f getPos() -
getColor
-
getBoundingRect
Description copied from class:OverlayAnnotation
Returns the bounding rectangle in document layout coordinates, given the scene and viewport.- Specified by:
getBoundingRect
in classOverlayAnnotation
-
render
- Specified by:
render
in classOverlayAnnotation
-