Class ExtrudeMesh

挤出模型

Export

Hierarchy

  • Mesh<BufferGeometry, Material>
    • ExtrudeMesh

Constructors

Properties

pointerWidthRadius: {
    matrix: [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number];
    vector3: [number, number, number];
}[] = []

Type declaration

  • matrix: [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number]
  • vector3: [number, number, number]
temp1Matrix4: Matrix4 = ...
temp1Vector2: Vector2 = ...
temp1Vector3: Vector3 = ...
temp2Matrix4: Matrix4 = ...
temp2Vector2: Vector2 = ...
temp2Vector3: Vector3 = ...
temp3Matrix4: Matrix4 = ...
temp3Vector2: Vector2 = ...
temp3Vector3: Vector3 = ...
tempVector3: Vector3 = ...

Methods

  • @计算渐变值 computerGradient([2,1,3], 0.3); @渐变区间 values:number[] @百分比 percentage:number

    Parameters

    • values: number[]
    • percentage: number

    Returns number

  • Parameters

    • vector1: [number, number, number]
    • vector2: [number, number, number]
    • scale: [number, number, number]

    Returns Matrix4Tuple

  • Parameters

    • points: [number, number, number][]

    Returns number

  • Parameters

    Returns void

  • Parameters

    • startP: [number, number, number]
    • startMatrix4: [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number]
    • endP: [number, number, number]
    • endMatrix4: [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number]
    • uvx: number
    • shapePath: [number, number][]

    Returns {
        geometryPoint: number[];
        uvPoint: number[];
    }

    • geometryPoint: number[]
    • uvPoint: number[]