videx-3d
    Preparing search index...

    Function WellboreBounds

    • This component is used to provide a DistanceContext for a Wellbore, which allow the use of the Distance component to conditionally show/hide other components depending on the distance from the wellbore to the camera.

      Parameters

      • __namedParameters: WellboreBoundsProps

        WellboreBounds props

        WellboreBounds props

        • OptionalboundsSampleSize?: number
        • Optionalchildren?: ReactNode
        • OptionalfromMsl?: number
        • id: string
        • Optionalpriority?: number
        • Optionalvisible?: boolean

      Returns Element

      <Wellbore id={wellboreId}>
      <WellboreBounds id={wellboreId}>
      <BasicTrajectory />
      <Distance min={0} max={2000}>
      <TubeTrajectory />
      </Distance>
      </WellboreBounds>
      </Wellbore>

      This component does not use the WellboreContext to retrieve the wellbore id, and must be provided as a prop.