Blockbench Reference Docs
Preparing search index...
generated/modeling/transform/transform_modules
TransformerModule
Class TransformerModule
Hierarchy (
View Summary
)
TransformerModuleOptions
TransformerModule
Implements
TransformerModuleOptions
Index
Accessors
active
Constructors
constructor
Methods
delete
dispatch
Cancel
dispatch
End
dispatch
Move
dispatch
Pointer
Down
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
Static
active
get
active
()
:
TransformerModule
Returns
TransformerModule
Constructors
constructor
new
TransformerModule
(
id
:
string
,
options
:
TransformerModuleOptions
,
)
:
TransformerModule
Parameters
id
:
string
options
:
TransformerModuleOptions
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
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
Optional
on
Cancel
onCancel
?:
(
this
:
TransformerModule
,
context
:
TransformContextEnd
)
=>
void
Optional
on
End
onEnd
?:
(
this
:
TransformerModule
,
context
:
TransformContextEnd
)
=>
void
Optional
on
Move
onMove
?:
(
this
:
TransformerModule
,
context
:
TransformContextMove
)
=>
void
Optional
on
Pointer
Down
onPointerDown
?:
(
this
:
TransformerModule
,
context
:
TransformContext
)
=>
void
Optional
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
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Accessors
active
Constructors
constructor
Methods
delete
dispatch
Cancel
dispatch
End
dispatch
Move
dispatch
Pointer
Down
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
Blockbench Reference Docs
Loading...