Internal
Other
count
- get count(): number
Returns number
enabled
- get enabled(): boolean
Returns boolean
- set enabled(value): void
Returns void
item
- get item(): any[]
Returns any[]
items
- get items(): any[]
Returns any[]
add
- add(item, options?): void
Parameters
- item: any
- options: {
history: boolean;
} = {}
Returns void
clear
- clear(options?): void
Parameters
- options: {
history: boolean;
} = {}
Returns void
has
- has(item): boolean
Returns boolean
If item is in selection
remove
- remove(item, options?): void
Parameters
- item: any
- options: {
history: boolean;
} = {}
Returns void
set
- set(items, options?): void
Parameters
- items: any[]
- options: {
history: boolean;
} = {}
Returns void
toggle
- toggle(item, options?): void
Parameters
- item: any
- options: {
history: boolean;
} = {}
Returns void
Selection API. Allows selecting Entities, Assets etc.