Nocturna
Preparing search index...
states/EditorState
RotationState
Class RotationState
RotationState allows the user to rotate the selected object in the editor.
Handles input for rotating the current selection.
Inherits state transition logic from EditorState.
Hierarchy (
View Summary
)
EditorState
RotationState
Index
Constructors
constructor
Properties
input
Handler
scene
Methods
clone
enter
exit
get
Mode
Change
Text
name
update
add
State
clear
State
Constructors
constructor
new
RotationState
(
scene
:
EditorScene
,
inputHandler
:
InputHandler
)
:
RotationState
Parameters
scene
:
EditorScene
inputHandler
:
InputHandler
Returns
RotationState
Properties
Protected
input
Handler
inputHandler
:
InputHandler
Protected
scene
scene
:
EditorScene
Methods
clone
clone
()
:
EditorState
Returns
EditorState
enter
enter
()
:
void
Returns
void
exit
exit
()
:
void
Returns
void
Protected
get
Mode
Change
Text
getModeChangeText
()
:
string
Returns
string
name
name
()
:
string
Returns
string
update
update
(
dt
:
number
,
input
:
CharacterInput
)
:
AbstractState
Parameters
dt
:
number
input
:
CharacterInput
Returns
AbstractState
Static
add
State
addState
(
...
states
:
EditorState
[]
)
:
void
Parameters
...
states
:
EditorState
[]
Returns
void
Static
clear
State
clearState
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
input
Handler
scene
Methods
clone
enter
exit
get
Mode
Change
Text
name
update
add
State
clear
State
Nocturna
Loading...
RotationState allows the user to rotate the selected object in the editor.