new UAnalyAlignModel(opt)
| Name | Type | Default | Description |
|---|---|---|---|
opt |
UAnalyAlignModelCO | {} | optional |
- Tutorials:
Example
let analy = app.activeAnalysis('GizmoModel');
Methods
-
active()
-
-
clear()
-
-
createGizmo()
-
-
deactive()
-
-
getControl()
-
-
getMode()string
-
현재 정렬 편집모드를 반환하는 함수
Returns:
Type Description string align- 기준 정렬
left- 왼쪽 정렬
center- 가운데 정렬
right- 오른쪽 정렬 -
getSpacing()number|undefined
-
현재의 정렬 간격을 반환하는 함수
Returns:
Type Description number | undefined 정렬 간격 -
objectChange()
-
-
setMode(mode)
-
정렬 편집모드를 설정하는 함수
Name Type Description modestring | number align| 0 - 기준 정렬
left| 1 - 왼쪽 정렬
center| 2 - 가운데 정렬
right| 3 - 오른쪽 정렬 -
setObjects(reference, targets)
-
기준 대상과 정렬 대상 목록들을 지정하는 함수
Name Type Description referenceObject3D 기준 대상
targetsArray.<Object3D> 정렬 대상 목록
-
setSpacing(spacing)
-
정렬 간격을 설정하는 함수
Name Type Description spacingnumber 정렬 간격
-
update()
-
Type Definitions
-
UAnalyAlignModelCOobject
-
~extends UAnalyGizmoModel~UAnalyGizmoModelCO
UAnalyAlignModel 생성자 옵션Properties:
Name Type Argument Default Description namestring <optional>
'AlignModel' 분석 클래스 이름