Blockbench Reference Docs
Preparing search index...
generated/modeling/transform/transform_modules
TransformerModule
Class TransformerModule
Hierarchy (
View Summary
)
TransformerModuleOptions
TransformerModule
Implements
TransformerModuleOptions
Index
Constructors
constructor
Properties
calculate
Offset
condition
has_
changed
id
initial_
value
on
Cancel
on
End
on
Move
on
Pointer
Down
on
Start
previous_
value
priority
update
Gizmo
use_
condition
modules
Accessors
active
Methods
delete
dispatch
Cancel
dispatch
End
dispatch
Move
dispatch
Pointer
Down
Constructors
constructor
new
TransformerModule
(
id
:
string
,
options
:
TransformerModuleOptions
,
)
:
TransformerModule
Parameters
id
:
string
options
:
TransformerModuleOptions
Returns
TransformerModule
Properties
calculate
Offset
calculateOffset
:
(
this
:
TransformerModule
,
context
:
TransformContextMove
,
)
=>
number
condition
condition
:
any
has_
changed
has_changed
:
boolean
id
id
:
string
initial_
value
initial_value
:
number
on
Cancel
onCancel
:
(
this
:
TransformerModule
,
context
:
TransformContextEnd
)
=>
void
on
End
onEnd
:
(
this
:
TransformerModule
,
context
:
TransformContextEnd
)
=>
void
on
Move
onMove
:
(
this
:
TransformerModule
,
context
:
TransformContextMove
)
=>
void
on
Pointer
Down
onPointerDown
:
(
this
:
TransformerModule
,
context
:
TransformContext
)
=>
void
on
Start
onStart
:
(
this
:
TransformerModule
,
context
:
TransformContextMove
)
=>
void
previous_
value
previous_value
:
number
priority
priority
:
number
update
Gizmo
updateGizmo
:
(
this
:
TransformerModule
)
=>
void
use_
condition
use_condition
:
any
Static
modules
modules
:
Record
<
string
,
TransformerModule
>
Accessors
Static
active
get
active
()
:
TransformerModule
Returns
TransformerModule
Methods
delete
delete
()
:
void
Returns
void
dispatch
Cancel
dispatchCancel
(
context
:
TransformContextEnd
)
:
void
Parameters
context
:
TransformContextEnd
Returns
void
dispatch
End
dispatchEnd
(
context
:
TransformContextEnd
)
:
void
Parameters
context
:
TransformContextEnd
Returns
void
dispatch
Move
dispatchMove
(
context
:
TransformContextMove
)
:
void
Parameters
context
:
TransformContextMove
Returns
void
dispatch
Pointer
Down
dispatchPointerDown
(
context
:
TransformContext
)
:
void
Parameters
context
:
TransformContext
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
calculate
Offset
condition
has_
changed
id
initial_
value
on
Cancel
on
End
on
Move
on
Pointer
Down
on
Start
previous_
value
priority
update
Gizmo
use_
condition
modules
Accessors
active
Methods
delete
dispatch
Cancel
dispatch
End
dispatch
Move
dispatch
Pointer
Down
Blockbench Reference Docs
Loading...