Preparing search index...
The search index is not available
API
API
TransformControls
Class TransformControls<TCamera>
变换控制器
Type Parameters
TCamera
extends
Camera
=
Camera
Hierarchy
Object3D
TransformControls
Index
Constructors
constructor
Properties
app
is
Transform
Controls
visible
Methods
attach
connect
detach
dispose
get
Mode
reset
set
Mode
set
Rotation
Snap
set
Scale
Snap
set
Size
set
Space
set
Translation
Snap
update
update
Matrix
World
Constructors
constructor
new
Transform
Controls
<
TCamera
>
(
camera
,
domElement
,
app
?
)
:
TransformControls
<
TCamera
>
Type Parameters
TCamera
extends
Camera
=
Camera
Parameters
camera
:
TCamera
domElement
:
HTMLElement
Optional
app
:
App
Returns
TransformControls
<
TCamera
>
Properties
app
app
:
App
Readonly
is
Transform
Controls
is
Transform
Controls
:
true
= true
visible
visible
:
boolean
= false
Methods
attach
attach
(
object
)
:
this
Parameters
object
:
Object3D
<
Object3DEventMap
>
Returns
this
connect
connect
(
domElement
)
:
void
Parameters
domElement
:
HTMLElement
Returns
void
detach
detach
(
)
:
this
Returns
this
dispose
dispose
(
)
:
void
Returns
void
get
Mode
get
Mode
(
)
:
"scale"
|
"translate"
|
"rotate"
Returns
"scale"
|
"translate"
|
"rotate"
reset
reset
(
)
:
this
Returns
this
set
Mode
set
Mode
(
mode
)
:
void
Parameters
mode
:
"scale"
|
"translate"
|
"rotate"
Returns
void
set
Rotation
Snap
set
Rotation
Snap
(
rotationSnap
)
:
void
Parameters
rotationSnap
:
number
Returns
void
set
Scale
Snap
set
Scale
Snap
(
scaleSnap
)
:
void
Parameters
scaleSnap
:
number
Returns
void
set
Size
set
Size
(
size
)
:
void
Parameters
size
:
number
Returns
void
set
Space
set
Space
(
space
)
:
void
Parameters
space
:
string
Returns
void
set
Translation
Snap
set
Translation
Snap
(
translationSnap
)
:
void
Parameters
translationSnap
:
number
Returns
void
update
update
(
)
:
void
Returns
void
update
Matrix
World
update
Matrix
World
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
constructor
app
is
Transform
Controls
visible
attach
connect
detach
dispose
get
Mode
reset
set
Mode
set
Rotation
Snap
set
Scale
Snap
set
Size
set
Space
set
Translation
Snap
update
update
Matrix
World
API
AlgorithmPluginType
CANNON
Tiles3dPluginType
default
reactivity
render2d
BehaviorStatus
BlendFunction
EdgeDetectionMode
EffectAttribute
EmitterMode
GlitchMode
KernelSize
MapOpenWay
NodeType
NodeValueType
OrderIndex
ParallelBehaviorPolicy
PredicationMode
RayQueryType
RenderMode
Loading...
变换控制器