AnnotationProperties

Interface AnnotationProperties

The AnnotationProperties type defines the properties of an annotation.

interface AnnotationProperties {
    anchorPosition?: Vector3 | Float32Array<ArrayBufferLike>;
    connectedNodeId?: number | null;
    content?: string;
    contentOffset?: Vector3 | Float32Array<ArrayBufferLike>;
    enabled?: boolean;
    name?: string;
    trustedSource?: boolean;
}
Index

Properties

anchorPosition?: Vector3 | Float32Array<ArrayBufferLike>

The anchor position of the annotation.

[0,0,0]
connectedNodeId?: number | null

The connected Node ID of the annotation.

null
content?: string

The content of the annotation.

undefined
contentOffset?: Vector3 | Float32Array<ArrayBufferLike>

The content offset of the annotation.

[1,0,1]
enabled?: boolean

The enabled state of the annotation.

false
name?: string

The name of the annotation.

undefined
trustedSource?: boolean

Specifies if the annotation comes from a trusted source.

true
 @readonly



Was this page helpful? Please leave a thumbs up or down.