|
@@ -41,178 +41,176 @@
|
|
|
|
|
|
<h3>change</h3>
|
|
<h3>change</h3>
|
|
<p>
|
|
<p>
|
|
- Fires if any type of change (object or property change) is performed. Property changes
|
|
|
|
- are separate events you can add event listeners to. The event type is "propertyname-changed".
|
|
|
|
|
|
+ 어떤 유형 (객체 또는 속성 변경) 의 변경이 수행할 경우 호출됩니다. 속성 변경은 이벤트 리스너를 추가 할 수 있는 별도의 이벤트입니다.
|
|
|
|
+ 이벤트의 타입은 "propertyname-changed" 입니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>mouseDown</h3>
|
|
<h3>mouseDown</h3>
|
|
<p>
|
|
<p>
|
|
- Fires if a pointer (mouse/touch) becomes active.
|
|
|
|
|
|
+ 포인터 (마우스 / 터치)가 활성화되면 호출됩니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>mouseUp</h3>
|
|
<h3>mouseUp</h3>
|
|
<p>
|
|
<p>
|
|
- Fires if a pointer (mouse/touch) is no longer active.
|
|
|
|
|
|
+ 포인터 (마우스 / 터치)가 활성화되지 않으면 호출됩니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>objectChange</h3>
|
|
<h3>objectChange</h3>
|
|
<p>
|
|
<p>
|
|
- Fires if the controlled 3D object is changed.
|
|
|
|
|
|
+ 제어 된 3D 객체가 변경되면 호출됩니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
- <h2>Properties</h2>
|
|
|
|
|
|
+ <h2>속성</h2>
|
|
|
|
|
|
- <p>See the base [page:Object3D] class for common properties.</p>
|
|
|
|
|
|
+ <p>공통 속성은 [page: Object3D] 클래스를 참조하세요.</p>
|
|
|
|
|
|
<h3>[property:String axis]</h3>
|
|
<h3>[property:String axis]</h3>
|
|
<p>
|
|
<p>
|
|
- The current transformation axis.
|
|
|
|
|
|
+ 현재 변환 축을 지정합니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[property:Camera camera]</h3>
|
|
<h3>[property:Camera camera]</h3>
|
|
<p>
|
|
<p>
|
|
- The camera of the rendered scene.
|
|
|
|
|
|
+ 렌더링 된 장면의 카메라를 지정합니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[property:HTMLDOMElement domElement]</h3>
|
|
<h3>[property:HTMLDOMElement domElement]</h3>
|
|
<p>
|
|
<p>
|
|
- The HTMLDOMElement used to listen for mouse / touch events. This must be passed in the constructor; changing it here will
|
|
|
|
- not set up new event listeners.
|
|
|
|
|
|
+ HTMLDOMElement는 마우스 / 터치 이벤트를 사용하는데 이용됩니다. 이것은 생성자에 의해 설정되어야 합니다;
|
|
|
|
+ 생성자를 통해 설정되지 않을 경우 새 이벤트 리스너에 설정되지 않습니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[property:Boolean dragging]</h3>
|
|
<h3>[property:Boolean dragging]</h3>
|
|
<p>
|
|
<p>
|
|
- Whether or not dragging is currently performed. Read-only property.
|
|
|
|
|
|
+ 현재 드래그를 수행할건지 여부를 지정합니다. 해당 속성은 읽기전용 입니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[property:Boolean enabled]</h3>
|
|
<h3>[property:Boolean enabled]</h3>
|
|
<p>
|
|
<p>
|
|
- Whether or not the controls are enabled.
|
|
|
|
|
|
+ 컨트롤의 활성화 여부를 지정합니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[property:String mode]</h3>
|
|
<h3>[property:String mode]</h3>
|
|
<p>
|
|
<p>
|
|
- The current transformation mode. Possible values are "translate", "rotate" and "scale". Default is *translate*.
|
|
|
|
|
|
+ 현재 변환 모드를 지정합니다. 해당 속성은 "translate", "roate" 및 "scale" 의 값을 지정할 수 있습니다. 기본값은 *translate* 입니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[property:Object3D object]</h3>
|
|
<h3>[property:Object3D object]</h3>
|
|
<p>
|
|
<p>
|
|
- The 3D object being controlled.
|
|
|
|
|
|
+ 제어 될 3D 객체를 지정합니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[property:Number rotationSnap]</h3>
|
|
<h3>[property:Number rotationSnap]</h3>
|
|
<p>
|
|
<p>
|
|
- By default, 3D objects are continously rotated. If you set this property to a numeric value (radians), you can define in which
|
|
|
|
- steps the 3D object should be rotated. Deault is *null*.
|
|
|
|
|
|
+ 기본적으로, 3D 객체는 연속적으로 회전합니다. 해당 프로퍼티에 값을 설정하면 (라디안), 3D 객체를 각 단계별로 회전 할 때마다 정의할 수 있습니다. 기본값은 *null* 입니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[property:Boolean showX]</h3>
|
|
<h3>[property:Boolean showX]</h3>
|
|
<p>
|
|
<p>
|
|
- Whether or not the x-axis helper should be visible. Default is *true*.
|
|
|
|
|
|
+ x축 헬퍼의 표시 여부를 결정합니다. 기본값은 *true* 입니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[property:Boolean showY]</h3>
|
|
<h3>[property:Boolean showY]</h3>
|
|
<p>
|
|
<p>
|
|
- Whether or not the y-axis helper should be visible. Default is *true*.
|
|
|
|
|
|
+ y축 헬퍼의 표시 여부를 결정합니다. 기본값은 *true* 입니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[property:Boolean showZ]</h3>
|
|
<h3>[property:Boolean showZ]</h3>
|
|
<p>
|
|
<p>
|
|
- Whether or not the z-axis helper should be visible. Default is *true*.
|
|
|
|
|
|
+ z축 헬퍼의 표시 여부를 결정합니다. 기본값은 *true* 입니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[property:Number size]</h3>
|
|
<h3>[property:Number size]</h3>
|
|
<p>
|
|
<p>
|
|
- The size of the helper UI (axes/planes). Default is *1*.
|
|
|
|
|
|
+ helper UI의 크기를 조절합니다 (축/면). 기본값은 *1* 입니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[property:String space]</h3>
|
|
<h3>[property:String space]</h3>
|
|
<p>
|
|
<p>
|
|
- Defines in which coordinate space transformations should be performed. Possible values are "world" and "local". Default is *world*.
|
|
|
|
|
|
+ 좌표 변환을 수행 되어질 공간을 지정합니다. 해당 속성은 "world" 및 "local" 의 값을 지정할 수 있습니다. 기본값은 *world* 입니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[property:Number translationSnap]</h3>
|
|
<h3>[property:Number translationSnap]</h3>
|
|
<p>
|
|
<p>
|
|
- By default, 3D objects are continously translated. If you set this property to a numeric value (world units), you can define in which
|
|
|
|
- steps the 3D object should be translated. Deault is *null*.
|
|
|
|
|
|
+ 일반적으로, 3D 객체는 연속적으로 변환됩니다. 해당 프로퍼티에 값을 설정하면 (월드 단위), 3D 객체를 각 단계별로 변환 할 때마다 정의할 수 있습니다. 기본값은 *null* 입니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
- <h2>Methods</h2>
|
|
|
|
|
|
+ <h2>메소드</h2>
|
|
|
|
|
|
- <p>See the base [page:Object3D] class for common methods.</p>
|
|
|
|
|
|
+ <p>일반적인 메소드는 [page:Object3D] 클래스를 참조하세요.</p>
|
|
|
|
|
|
<h3>[method:TransformControls attach] ( [param:Object3D object] )</h3>
|
|
<h3>[method:TransformControls attach] ( [param:Object3D object] )</h3>
|
|
<p>
|
|
<p>
|
|
<p>
|
|
<p>
|
|
- [page:Object3D object]: The 3D object that should be transformed.
|
|
|
|
|
|
+ [page:Object3D object]: 변환 되어지는 3D 객체 입니다.
|
|
</p>
|
|
</p>
|
|
<p>
|
|
<p>
|
|
- Sets the 3D object that should be transformed and ensures the controls UI is visible.
|
|
|
|
|
|
+ 변환해야하는 3D 객체를 설정하고 컨트롤 UI가 표시되도록합니다.
|
|
</p>
|
|
</p>
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[method:TransformControls detach] ()</h3>
|
|
<h3>[method:TransformControls detach] ()</h3>
|
|
<p>
|
|
<p>
|
|
- Removes the current 3D object from the controls and makes the helper UI is invisible.
|
|
|
|
|
|
+ 컨트롤에서 현재 3D 객체를 제거하고 helper UI를 보이지 않게합니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[method:null dispose] ()</h3>
|
|
<h3>[method:null dispose] ()</h3>
|
|
<p>
|
|
<p>
|
|
- Should be called if the controls is no longer required.
|
|
|
|
|
|
+ 컨트롤을 더이상 필요하지 않을 경우 호출해야 합니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[method:String getMode] ()</h3>
|
|
<h3>[method:String getMode] ()</h3>
|
|
<p>
|
|
<p>
|
|
- Returns the transformation mode.
|
|
|
|
|
|
+ 변환 모드를 반환합니다.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[method:null setMode] ( [param:String mode] )</h3>
|
|
<h3>[method:null setMode] ( [param:String mode] )</h3>
|
|
<p>
|
|
<p>
|
|
<p>
|
|
<p>
|
|
- [page:String mode]: The transformation mode.
|
|
|
|
|
|
+ [page:String mode]: 변환 모드를 가리킵니다.
|
|
</p>
|
|
</p>
|
|
<p>
|
|
<p>
|
|
- Sets the transformation mode.
|
|
|
|
|
|
+ 변환 모드를 설정합니다.
|
|
</p>
|
|
</p>
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[method:null setRotationSnap] ( [param:Number rotationSnap] )</h3>
|
|
<h3>[method:null setRotationSnap] ( [param:Number rotationSnap] )</h3>
|
|
<p>
|
|
<p>
|
|
<p>
|
|
<p>
|
|
- [page:Number rotationSnap]: The rotation snap.
|
|
|
|
|
|
+ [page:Number rotationSnap]: 회전 스냅를 가리킵니다.
|
|
</p>
|
|
</p>
|
|
<p>
|
|
<p>
|
|
- Sets the rotation snap.
|
|
|
|
|
|
+ 회전 스냅를 설정합니다.
|
|
</p>
|
|
</p>
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[method:null setSize] ( [param:Number size] )</h3>
|
|
<h3>[method:null setSize] ( [param:Number size] )</h3>
|
|
<p>
|
|
<p>
|
|
<p>
|
|
<p>
|
|
- [page:Number size]: The size of the helper UI.
|
|
|
|
|
|
+ [page:Number size]: helper UI의 크기를 가리킵니다.
|
|
</p>
|
|
</p>
|
|
<p>
|
|
<p>
|
|
- Sets the size of the helper UI.
|
|
|
|
|
|
+ helper UI의 크기를 설정합니다.
|
|
</p>
|
|
</p>
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[method:null setSpace] ( [param:String space] )</h3>
|
|
<h3>[method:null setSpace] ( [param:String space] )</h3>
|
|
<p>
|
|
<p>
|
|
<p>
|
|
<p>
|
|
- [page:String space]: The coordinate space in which transformations are applied.
|
|
|
|
|
|
+ [page:String space]: 어떤 좌표 공간으로 변환을 적용합니다.
|
|
</p>
|
|
</p>
|
|
<p>
|
|
<p>
|
|
- Sets the coordinate space in which transformations are applied.
|
|
|
|
|
|
+ 변환될 좌표 공간을 설정합니다.
|
|
</p>
|
|
</p>
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[method:null setTranslationSnap] ( [param:Number translationSnap] )</h3>
|
|
<h3>[method:null setTranslationSnap] ( [param:Number translationSnap] )</h3>
|
|
<p>
|
|
<p>
|
|
<p>
|
|
<p>
|
|
- [page:Number translationSnap]: The translation snap.
|
|
|
|
|
|
+ [page:Number translationSnap]: 변환 스냅을 가리킵니다.
|
|
</p>
|
|
</p>
|
|
<p>
|
|
<p>
|
|
- Sets the translation snap.
|
|
|
|
|
|
+ 변환 스냅을 설정합니다.
|
|
</p>
|
|
</p>
|
|
</p>
|
|
</p>
|
|
|
|
|