AnnotationProperties

Type alias AnnotationProperties

AnnotationProperties: {
    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

    The anchor position of the Annotation.

    Default

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

    The connected Node ID of the Annotation.

    Default

    null
    
  • Optional content?: string

    The content of the Annotation.

    Default

    undefined
    
  • Optional contentOffset?: [number, number, number] | Float32Array

    The content offset of the Annotation.

    Default

    [1,0,1]
    
  • Optional enabled?: boolean

    The enabled state of the Annotation.

    Default

    false
    
  • Optional name?: string

    The name of the Annotation.

    Default

    undefined
    
  • Optional trustedSource?: boolean

    Specifies if the Annotation comes from a trusted source.

    Default

    true