new UHeightFilter(options)
| Name | Type | Default | Description |
|---|---|---|---|
options |
UHeightFilterCO | {} | optional |
Members
-
idstring
-
Methods
-
clear()
-
필터 결과를 초기화하는 함수
-
find()
-
필터 탐색을 재실행하는 함수
-
getColor()Color|null
-
필터 메쉬의 색상을 반환하는 함수
Returns:
Type Description Color | null 메쉬 색상 -
getMesh()UMesh|null
-
필터 메쉬를 반환하는 함수
Returns:
Type Description UMesh | null 필터 메쉬 -
getOpacity()number
-
필터 메쉬의 투명도를 반환하는 함수
Returns:
Type Description number 투명도 -
isIncludeLayer(layerName)boolean
-
메쉬가 대상 레이어에 포함되는지 확인하는 함수
Name Type Description layerNamestring | undefined 레이어 이름
Returns:
Type Description boolean 포함 여부 -
match(mesh, info)boolean
-
메쉬가 필터 조건에 맞는지 판별하는 함수
Name Type Description meshUMesh 판별 대상 메쉬
infoHeightFilterMatchInfo 대상 메시 분석 정보
Returns:
Type Description boolean 필터 매칭 여부 -
setColor(color)
-
필터 메쉬의 색상을 설정하는 함수
Name Type Description colorColorRepresentation 색상
-
setHeight(height)
-
제한 높이를 설정하는 함수
Name Type Description heightnumber 제한 높이
-
setOpacity(opacity)
-
필터 메쉬의 투명도를 설정하는 함수
Name Type Description opacitynumber 투명도
-
setRenderOrder(renderOrder)
-
필터 메쉬의 렌더 순서를 설정하는 함수
Name Type Description renderOrdernumber 렌더 순서
-
setVisible(visible)
-
필터 메쉬의 가시성을 설정하는 함수
Name Type Description visibleboolean 가시성
Type Definitions
-
HeightFilterMatchInfoobject
-
대상 메시 분석 정보
Properties:
Name Type Argument Description bboxBox3 <optional>
heightnumber <optional>
idnumber | string <optional>
instanceIdnumber <optional>
-
HeightInstancedMeshUInstancedMesh.<any, any, number, UInstancedMesh~UInstancedMeshCO> Partial.<{filterHeight_: number}>
-
~extends UInstancedMesh
고도 필터용 인스턴스 메쉬 확장 타입 -
HeightMeshExtobject
-
~extends UMesh
고도 필터 메쉬 확장 타입Properties:
Name Type Argument Description isMergedfunction <optional>
filterHeight_number <optional>
-
UHeightFilterCOobject
-
~extends UEventDispatcher~UEventDispatcherCO
UHeightFilter 생성자 옵션Properties:
Name Type Argument Default Description idstring <optional>
필터 ID
geometryobject <optional>
필터 영역 geometry
heightnumber <optional>
제한 높이
layersArray.<string> <optional>
대상 레이어 목록
isAbsoluteboolean <optional>
true 절대 높이 사용 여부
extrudeOptionExtrudeGeometryOptions <optional>
extrude 옵션
materialOptionMeshLambertMaterialParameters <optional>
material 옵션
appU3dApp <optional>
앱 인스턴스
ignoreInitialboolean <optional>
초기 메쉬 생성 무시 여부