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
-
OptionalanchorPosition?: [number, number, number] | Float32Array Default
[0,0,0] -
OptionalconnectedNode Id?: number | null The connected Node ID of the Annotation.
Default
null -
Optionalcontent?: stringThe content of the Annotation.
Default
undefined -
OptionalcontentOffset?: [number, number, number] | Float32Array The content offset of the Annotation.
Default
[1,0,1] -
Optionalenabled?: booleanThe enabled state of the Annotation.
Default
false -
Optionalname?: stringThe name of the Annotation.
Default
undefined -
OptionalReadonlytrustedSource?: boolean Specifies if the Annotation comes from a trusted source.
Default
true
@readonly
The anchor position of the Annotation.