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
UniqueObject
Class UniqueObject
Hierarchy
SerializableObject
UniqueObject
EngineSettings
Entity
Asset
ModelElement
Index
Constructors
constructor
Properties
id
name
template
Path
Methods
copy
deserialize
destroy
isA
serialize
set
Property
set
State
upgrade
Constructors
constructor
new
Unique
Object
(
)
:
UniqueObject
Returns
UniqueObject
Properties
id
id
:
string
name
name
:
string
Optional
template
Path
template
Path
:
undefined
|
string
Methods
copy
copy
(
)
:
UniqueObject
Returns
UniqueObject
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
Unique
Object
constructor
id
name
template
Path
copy
deserialize
destroy
isA
serialize
set
Property
set
State
upgrade