AnnotationProperties#
Type alias AnnotationProperties
Annotation Properties: {
anchorPosition?: [number, number, number] | Float32Array;
connectedNodeId?: number | null;
content?: string;
contentOffset?: [number, number, number] | Float32Array;
enabled?: boolean;
name?: string;
trustedSource?: boolean;
}
anchorPosition?: [number, number, number] | Float32Array;
connectedNodeId?: number | null;
content?: string;
contentOffset?: [number, number, number] | Float32Array;
enabled?: boolean;
name?: string;
trustedSource?: boolean;
}
Type declaration
-
Optional
anchorPosition?: [number, number, number] | Float32Array Default
[0,0,0]
-
Optional
connectedNode Id?: number | null The connected Node ID of the Annotation.
Default
null
-
Optional
content?: stringThe content of the Annotation.
Default
undefined
-
Optional
contentOffset?: [number, number, number] | Float32Array The content offset of the Annotation.
Default
[1,0,1]
-
Optional
enabled?: booleanThe enabled state of the Annotation.
Default
false
-
Optional
name?: stringThe name of the Annotation.
Default
undefined
-
Optional
Readonly
trustedSource?: boolean Specifies if the Annotation comes from a trusted source.
Default
true
@readonly
The anchor position of the Annotation.