Search
Preparing search index...
The search index is not available
CoSpaces API
Options
All
Public
Public/Protected
All
Inherited
Deprecated
Menu
CoSpaces API
ItemCollection
Class ItemCollection
Hierarchy
ItemCollection
Implements
MutableList
<
BaseItem
>
Indexable
[
key:
number
]:
BaseItem
Index
Constructors
constructor
Properties
by
Name
empty
length
Methods
[iterator]
add
add
All
clear
contains
copy
index
Of
last
Index
Of
remove
remove
At
to
Array
Constructors
constructor
new
Item
Collection
(
)
:
ItemCollection
Returns
ItemCollection
Properties
Readonly
by
Name
by
Name
:
{}
Type declaration
[
key:
string
]:
BaseItem
Readonly
empty
empty
:
boolean
Readonly
length
length
:
number
Methods
[iterator]
[iterator]
(
)
:
Iterator
<
BaseItem
,
any
,
undefined
>
Returns
Iterator
<
BaseItem
,
any
,
undefined
>
add
add
(
e
:
BaseItem
)
:
void
add
(
index
:
number
, e
:
BaseItem
)
:
void
Parameters
e:
BaseItem
Returns
void
Parameters
index:
number
e:
BaseItem
Returns
void
add
All
add
All
(
elements
:
Iterable
<
BaseItem
>
)
:
boolean
add
All
(
index
:
number
, elements
:
Iterable
<
BaseItem
>
)
:
boolean
Parameters
elements:
Iterable
<
BaseItem
>
Returns
boolean
Parameters
index:
number
elements:
Iterable
<
BaseItem
>
Returns
boolean
clear
clear
(
)
:
void
Returns
void
contains
contains
(
e
:
BaseItem
)
:
boolean
Parameters
e:
BaseItem
Returns
boolean
copy
copy
(
)
:
MutableList
<
BaseItem
>
Returns
MutableList
<
BaseItem
>
index
Of
index
Of
(
e
:
BaseItem
)
:
number
Parameters
e:
BaseItem
Returns
number
last
Index
Of
last
Index
Of
(
e
:
BaseItem
)
:
number
Parameters
e:
BaseItem
Returns
number
remove
remove
(
e
:
BaseItem
)
:
boolean
Parameters
e:
BaseItem
Returns
boolean
remove
At
remove
At
(
index
:
number
)
:
BaseItem
Parameters
index:
number
Returns
BaseItem
to
Array
to
Array
(
)
:
BaseItem
[]
Returns
BaseItem
[]
Exports
Application
Camera
Debug
Device
GUI
Input
Mutable
List
Physics
Ray
Cast
Renderer
Scene
Space
Time
Web
Item
Collection
constructor
by
Name
empty
length
[iterator]
add
add
All
clear
contains
copy
index
Of
last
Index
Of
remove
remove
At
to
Array