Type alias RealityViewerProps

RealityViewerProps: {
    annotations?: Annotation[];
    arButton?: boolean;
    arButtonExternalLink?: string;
    autoLoad?: boolean;
    autoRotate?: boolean;
    autoRotateSpeed?: number;
    azimuthAngle?: number;
    background?: boolean;
    backgroundColor?: string;
    cameraControls?: boolean;
    configurationSchema?: ConfigurationSchema;
    contactShadow?: boolean;
    contactShadowBlur?: number;
    contactShadowOpacity?: number;
    contactShadowPosition?: [x: number, y: number, z: number];
    distance?: number;
    encrypted?: boolean;
    environment?: PresetsType;
    environmentIntensity?: number;
    fov?: number;
    gui?: boolean;
    id: string;
    initialCameraPosition?: Vector3Tuple;
    lightIntensity?: number;
    maxAzimuthAngle?: number;
    maxDistance?: number;
    maxPolarAngle?: number;
    minAzimuthAngle?: number;
    minDistance?: number;
    minPolarAngle?: number;
    onClickIntersection?: ((clickIntersection) => void);
    onError?: ((error) => void);
    onLoaded?: (() => void);
    onModelLoaded?: (() => void);
    onStartedLoading?: (() => void);
    polarAngle?: number;
    preserveDrawingBuffer?: boolean;
    shadowBias?: number;
    shadows?: boolean;
    src: string;
    stats?: boolean;
}

Type declaration

  • Optional annotations?: Annotation[]
  • Optional arButton?: boolean
  • Optional arButtonExternalLink?: string
  • Optional autoLoad?: boolean
  • Optional autoRotate?: boolean
  • Optional autoRotateSpeed?: number
  • Optional azimuthAngle?: number
  • Optional background?: boolean
  • Optional backgroundColor?: string
  • Optional cameraControls?: boolean
  • Optional configurationSchema?: ConfigurationSchema
  • Optional contactShadow?: boolean
  • Optional contactShadowBlur?: number
  • Optional contactShadowOpacity?: number
  • Optional contactShadowPosition?: [x: number, y: number, z: number]
  • Optional distance?: number
  • Optional encrypted?: boolean
  • Optional environment?: PresetsType
  • Optional environmentIntensity?: number
  • Optional fov?: number
  • Optional gui?: boolean
  • id: string
  • Optional initialCameraPosition?: Vector3Tuple
  • Optional lightIntensity?: number
  • Optional maxAzimuthAngle?: number
  • Optional maxDistance?: number
  • Optional maxPolarAngle?: number
  • Optional minAzimuthAngle?: number
  • Optional minDistance?: number
  • Optional minPolarAngle?: number
  • Optional onClickIntersection?: ((clickIntersection) => void)
  • Optional onError?: ((error) => void)
      • (error): void
      • Parameters

        • error: Error

        Returns void

  • Optional onLoaded?: (() => void)
      • (): void
      • Returns void

  • Optional onModelLoaded?: (() => void)
      • (): void
      • Returns void

  • Optional onStartedLoading?: (() => void)
      • (): void
      • Returns void

  • Optional polarAngle?: number
  • Optional preserveDrawingBuffer?: boolean
  • Optional shadowBias?: number
  • Optional shadows?: boolean
  • src: string
  • Optional stats?: boolean

Generated using TypeDoc