Search
Preparing search index...
The search index is not available
Spider Engine API
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
ColorEnvironment
Class ColorEnvironment
Hierarchy
Environment
ColorEnvironment
Index
Constructors
constructor
Properties
color
Methods
copy
deserialize
destroy
isA
serialize
set
Property
set
State
upgrade
Constructors
constructor
new
Color
Environment
(
color
?:
Color
)
:
ColorEnvironment
Parameters
Optional
color:
Color
Returns
ColorEnvironment
Properties
color
color
:
Color
Methods
copy
copy
(
)
:
SerializableObject
Returns
SerializableObject
deserialize
deserialize
(
json
:
SerializedObjectType
)
:
Promise
<
SerializableObject
>
|
SerializableObject
Parameters
json:
SerializedObjectType
Returns
Promise
<
SerializableObject
>
|
SerializableObject
destroy
destroy
(
)
:
void
Returns
void
isA
isA<T>
(
type
:
object
)
:
boolean
Type parameters
T
Parameters
type:
object
constructor
:
function
new __type
(
...
args
:
any
[]
)
:
T
Parameters
Rest
...
args:
any
[]
Returns
T
Returns
boolean
serialize
serialize
(
)
:
SerializedObjectType
Returns
SerializedObjectType
set
Property
set
Property
(
name
:
string
, value
:
any
)
:
void
Parameters
name:
string
value:
any
Returns
void
set
State
set
State<T>
(
props
:
ObjectProps
<
T
>
)
:
void
Type parameters
T
Parameters
props:
ObjectProps
<
T
>
Returns
void
upgrade
upgrade
(
json
:
SerializedObject
, previousVersion
:
number
)
:
SerializedObject
Parameters
json:
SerializedObject
previousVersion:
number
Returns
SerializedObject
Globals
Color
Environment
constructor
color
copy
deserialize
destroy
isA
serialize
set
Property
set
State
upgrade