new UExtrudeGeometry(shapes, options)
형상(Shape)을 압출해 3D 지오메트리를 생성합니다.
단일 형상 또는 형상 배열을 받으며, options.depth만큼 밀어 올려 입체를 만듭니다.
| Name | Type | Description |
|---|---|---|
shapes |
Shape | Array.<Shape> |
압출할 2D 형상 (또는 형상 배열) |
options |
UExtrudeGeometry~UExtrudeGeometryOptions |
압출 옵션 (깊이·베벨·세그먼트·경로 등) |
Type Definitions
-
UExtrudeGeometryOptionsobject
-
UExtrudeGeometry 생성 옵션
Properties:
Name Type Argument Default Description curveSegmentsnumber <optional>
12 커브 세그먼트 수
stepsnumber <optional>
1 압출 방향 세그먼트 수
depthnumber <optional>
100 압출 깊이
bevelEnabledboolean <optional>
true 베벨 활성화 여부
bevelThicknessnumber <optional>
6 베벨 두께
bevelSizenumber <optional>
베벨 크기
bevelSegmentsnumber <optional>
3 베벨 세그먼트 수
extrudePathCurve.<Vector3> <optional>
압출 경로 커브
UVGeneratorUVGeneratorType <optional>
UV 생성기