GeOnDT GeOnDT for JS

Class: UExtrudeBufferGeometry

UExtrudeBufferGeometry

~extends UBufferGeometry
Shape(2D 외곽선)를 지정한 깊이만큼 압출(extrude)해 3D 입체 지오메트리를 만드는 Buffer Geometry 클래스입니다.

new UExtrudeBufferGeometry(shapes, options)

Shape를 압출(extrude)해 3D 지오메트리를 생성합니다.

Name Type Description
shapes Shape | Array.<Shape>

압출할 Shape 또는 Shape 배열

options UExtrudeBufferGeometryCO

압출 옵션 (깊이·베벨·스텝 등)

Methods

clone()this

저장된 shapes·options로 동일한 지오메트리를 새로 만들어 반환합니다.

Returns:
Type Description
this 복제된 지오메트리

Type Definitions

UExtrudeBufferGeometryCOobject

UExtrudeBufferGeometry 생성 옵션

Properties:
Name Type Argument Default Description
curveSegments number <optional>
12

커브 세그먼트 수

steps number <optional>
1

압출 스텝 수

depth number <optional>
100

압출 깊이

bevelEnabled boolean <optional>
true

베벨 활성화 여부

bevelThickness number <optional>
6

베벨 두께

bevelSize number <optional>

베벨 크기 (기본값: bevelThickness - 2)

bevelSegments number <optional>
3

베벨 세그먼트 수

extrudePath Curve.<Vector3> <optional>

압출 경로 커브

UVGenerator UExtrudeBufferGeometry.types~UVGeneratorType <optional>

UV 생성기

amount number <optional>

@deprecated depth 사용 권장

UVGeneratorTypeobject

UV 생성기 타입

Properties:
Name Type Description
generateTopUV function
generateSideWallUV function