Class PathTubeGeometry

PathTubeGeometry

Hierarchy (view full)

Constructors

  • Parameters

    • initData: Number | {
          options: PathTubeGeometryOptions;
          pathPointList: PathPointList;
          usage: Usage;
      } = 1000

      If initData is number, geometry init by empty data and set it as the max vertex. If initData is Object, it contains pathPointList and options.

    • Optional generateUv2: boolean = false

    Returns PathTubeGeometry

Methods

  • Parameters

    • pathPointList: any
    • options: {} = {}
      • usage: any
      • generateUv2: any

      Returns void

    • Parameters

      • maxVertex: any
      • generateUv2: any

      Returns void

    • Parameters

      • position: any
      • normal: any
      • uv: any
      • uv2: any
      • indices: any

      Returns void

    • Update geometry by PathPointList instance

      Parameters

      • pathPointList: PathPointList
      • options: PathTubeGeometryOptions = {}

      Returns void