public class HKAnnotation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
annotationId
annotation ID
|
double[] |
canvasPosition
annotation screen position [x,y]
|
java.lang.String |
description
annotation description
|
double[] |
labelOffset
annotation label offset [x,y]
|
java.lang.String |
objectId
object ID of the annotated object
this is required, all annotations must be connected to an object
|
boolean |
occludable
whether or not the annotation is occludable
|
double[] |
position
annotation 3D position [x,y,z]
|
boolean |
shown
whether or not the annotation is currently visible
this will get set to false if the annotation moves off screen or is occluded
|
java.lang.String |
title
annotation title
|
Constructor and Description |
---|
HKAnnotation(java.lang.String objectId)
Create an HKAnnotation with the ID of its object
|
public java.lang.String objectId
public java.lang.String title
public java.lang.String description
public java.lang.String annotationId
public double[] position
public double[] canvasPosition
public double[] labelOffset
public boolean shown
public boolean occludable