@turbowarp/types
Preparing search index...
scratch-vm
VM
CustomState
Interface CustomState
interface
CustomState
{
"Scratch.looks"
:
{
drawableId
:
number
|
null
;
onSpriteRight
:
boolean
;
skinId
:
number
|
null
;
text
:
string
;
type
:
TextBubbleType
;
}
;
"Scratch.music"
:
{
currentInstrument
:
number
}
;
"Scratch.pen"
:
{
_shade
:
number
;
brightness
:
number
;
color
:
number
;
penAttributes
:
PenAttributes
;
penDown
:
boolean
;
saturation
:
number
;
transparency
:
number
;
}
;
"Scratch.sound"
:
{
effects
:
{
pan
:
number
;
pitch
:
number
}
}
;
"Scratch.text2speech"
:
{
voiceId
:
TextToSpeechVoice
}
;
"Scratch.videoSensing"
:
{
motionAmount
:
number
;
motionDirection
:
number
;
motionFrameNumber
:
number
;
}
;
}
Index
Properties
Scratch.looks
Scratch.music
Scratch.pen
Scratch.sound
Scratch.text2speech
Scratch.video
Sensing
Properties
Scratch.looks
"Scratch.looks"
:
{
drawableId
:
number
|
null
;
onSpriteRight
:
boolean
;
skinId
:
number
|
null
;
text
:
string
;
type
:
TextBubbleType
;
}
Scratch.music
"Scratch.music"
:
{
currentInstrument
:
number
}
Scratch.pen
"Scratch.pen"
:
{
_shade
:
number
;
brightness
:
number
;
color
:
number
;
penAttributes
:
PenAttributes
;
penDown
:
boolean
;
saturation
:
number
;
transparency
:
number
;
}
Scratch.sound
"Scratch.sound"
:
{
effects
:
{
pan
:
number
;
pitch
:
number
}
}
Scratch.text2speech
"Scratch.text2speech"
:
{
voiceId
:
TextToSpeechVoice
}
Scratch.video
Sensing
"Scratch.videoSensing"
:
{
motionAmount
:
number
;
motionDirection
:
number
;
motionFrameNumber
:
number
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
Scratch.looks
Scratch.music
Scratch.pen
Scratch.sound
Scratch.text2speech
Scratch.video
Sensing
@turbowarp/types
Loading...