hytopia 0.1.59 → 0.1.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/server.audio._constructor_.md +2 -0
- package/docs/server.audio.setattachedtoentity.md +1 -1
- package/docs/server.audiomanager.unregisteraudio.md +1 -1
- package/docs/server.audiomanager.unregisterentityattachedaudios.md +1 -1
- package/docs/server.md +33 -0
- package/docs/server.sceneui._constructor_.md +49 -0
- package/docs/server.sceneui.attachedtoentity.md +11 -0
- package/docs/server.sceneui.id.md +11 -0
- package/docs/server.sceneui.isloaded.md +11 -0
- package/docs/server.sceneui.load.md +53 -0
- package/docs/server.sceneui.md +344 -0
- package/docs/server.sceneui.offset.md +11 -0
- package/docs/server.sceneui.position.md +11 -0
- package/docs/server.sceneui.setattachedtoentity.md +53 -0
- package/docs/server.sceneui.setoffset.md +53 -0
- package/docs/server.sceneui.setposition.md +53 -0
- package/docs/server.sceneui.setstate.md +53 -0
- package/docs/server.sceneui.state.md +11 -0
- package/docs/server.sceneui.templateid.md +11 -0
- package/docs/server.sceneui.unload.md +17 -0
- package/docs/server.sceneui.world.md +11 -0
- package/docs/server.sceneuimanager.getallentityattachedsceneuis.md +55 -0
- package/docs/server.sceneuimanager.getallsceneuis.md +19 -0
- package/docs/server.sceneuimanager.md +127 -0
- package/docs/server.sceneuimanager.unloadentityattachedsceneuis.md +53 -0
- package/docs/server.sceneuimanager.world.md +13 -0
- package/docs/server.sceneuioptions.attachedtoentity.md +13 -0
- package/docs/server.sceneuioptions.md +133 -0
- package/docs/server.sceneuioptions.offset.md +13 -0
- package/docs/server.sceneuioptions.position.md +13 -0
- package/docs/server.sceneuioptions.state.md +13 -0
- package/docs/server.sceneuioptions.templateid.md +13 -0
- package/docs/server.world.md +21 -0
- package/docs/server.world.sceneuimanager.md +13 -0
- package/package.json +1 -1
- package/server.api.json +986 -4
- package/server.d.ts +140 -4
- package/server.js +83 -83
@@ -0,0 +1,53 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [SceneUI](./server.sceneui.md) > [setPosition](./server.sceneui.setposition.md)
|
4
|
+
|
5
|
+
## SceneUI.setPosition() method
|
6
|
+
|
7
|
+
Sets the position of the SceneUI. Will detach from entity if attached.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
setPosition(position: Vector3Like): void;
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Parameter
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Type
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
position
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
[Vector3Like](./server.vector3like.md)
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
The position in the world.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
</tbody></table>
|
50
|
+
**Returns:**
|
51
|
+
|
52
|
+
void
|
53
|
+
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [SceneUI](./server.sceneui.md) > [setState](./server.sceneui.setstate.md)
|
4
|
+
|
5
|
+
## SceneUI.setState() method
|
6
|
+
|
7
|
+
Sets the state of the SceneUI by performing a shallow merge with existing state.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
setState(state: object): void;
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Parameter
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Type
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
state
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
object
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
The state to set.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
</tbody></table>
|
50
|
+
**Returns:**
|
51
|
+
|
52
|
+
void
|
53
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [SceneUI](./server.sceneui.md) > [state](./server.sceneui.state.md)
|
4
|
+
|
5
|
+
## SceneUI.state property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
get state(): Readonly<object>;
|
11
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [SceneUI](./server.sceneui.md) > [templateId](./server.sceneui.templateid.md)
|
4
|
+
|
5
|
+
## SceneUI.templateId property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
get templateId(): string;
|
11
|
+
```
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [SceneUI](./server.sceneui.md) > [unload](./server.sceneui.unload.md)
|
4
|
+
|
5
|
+
## SceneUI.unload() method
|
6
|
+
|
7
|
+
Unloads the SceneUI from the world.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
unload(): void;
|
13
|
+
```
|
14
|
+
**Returns:**
|
15
|
+
|
16
|
+
void
|
17
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [SceneUI](./server.sceneui.md) > [world](./server.sceneui.world.md)
|
4
|
+
|
5
|
+
## SceneUI.world property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
get world(): World | undefined;
|
11
|
+
```
|
@@ -0,0 +1,55 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [SceneUIManager](./server.sceneuimanager.md) > [getAllEntityAttachedSceneUIs](./server.sceneuimanager.getallentityattachedsceneuis.md)
|
4
|
+
|
5
|
+
## SceneUIManager.getAllEntityAttachedSceneUIs() method
|
6
|
+
|
7
|
+
Retrieves all loaded SceneUI instances attached to a specific entity.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
getAllEntityAttachedSceneUIs(entity: Entity): SceneUI[];
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Parameter
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Type
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
entity
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
[Entity](./server.entity.md)
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
The entity to get attached SceneUI instances for.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
</tbody></table>
|
50
|
+
**Returns:**
|
51
|
+
|
52
|
+
[SceneUI](./server.sceneui.md)<!-- -->\[\]
|
53
|
+
|
54
|
+
An array of SceneUI instances.
|
55
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [SceneUIManager](./server.sceneuimanager.md) > [getAllSceneUIs](./server.sceneuimanager.getallsceneuis.md)
|
4
|
+
|
5
|
+
## SceneUIManager.getAllSceneUIs() method
|
6
|
+
|
7
|
+
Retrieves all loaded SceneUI instances for the world.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
getAllSceneUIs(): SceneUI[];
|
13
|
+
```
|
14
|
+
**Returns:**
|
15
|
+
|
16
|
+
[SceneUI](./server.sceneui.md)<!-- -->\[\]
|
17
|
+
|
18
|
+
An array of SceneUI instances.
|
19
|
+
|
@@ -0,0 +1,127 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [SceneUIManager](./server.sceneuimanager.md)
|
4
|
+
|
5
|
+
## SceneUIManager class
|
6
|
+
|
7
|
+
Manages SceneUI instances in a world.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
export default class SceneUIManager
|
13
|
+
```
|
14
|
+
|
15
|
+
## Remarks
|
16
|
+
|
17
|
+
The SceneUIManager is created internally as a singleton for each [World](./server.world.md) instance in a game server. It allows retrieval of all loaded SceneUI instances, entity attached SceneUI instances, and more.
|
18
|
+
|
19
|
+
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `SceneUIManager` class.
|
20
|
+
|
21
|
+
## Properties
|
22
|
+
|
23
|
+
<table><thead><tr><th>
|
24
|
+
|
25
|
+
Property
|
26
|
+
|
27
|
+
|
28
|
+
</th><th>
|
29
|
+
|
30
|
+
Modifiers
|
31
|
+
|
32
|
+
|
33
|
+
</th><th>
|
34
|
+
|
35
|
+
Type
|
36
|
+
|
37
|
+
|
38
|
+
</th><th>
|
39
|
+
|
40
|
+
Description
|
41
|
+
|
42
|
+
|
43
|
+
</th></tr></thead>
|
44
|
+
<tbody><tr><td>
|
45
|
+
|
46
|
+
[world](./server.sceneuimanager.world.md)
|
47
|
+
|
48
|
+
|
49
|
+
</td><td>
|
50
|
+
|
51
|
+
`readonly`
|
52
|
+
|
53
|
+
|
54
|
+
</td><td>
|
55
|
+
|
56
|
+
[World](./server.world.md)
|
57
|
+
|
58
|
+
|
59
|
+
</td><td>
|
60
|
+
|
61
|
+
The world the SceneUIManager is for.
|
62
|
+
|
63
|
+
|
64
|
+
</td></tr>
|
65
|
+
</tbody></table>
|
66
|
+
|
67
|
+
## Methods
|
68
|
+
|
69
|
+
<table><thead><tr><th>
|
70
|
+
|
71
|
+
Method
|
72
|
+
|
73
|
+
|
74
|
+
</th><th>
|
75
|
+
|
76
|
+
Modifiers
|
77
|
+
|
78
|
+
|
79
|
+
</th><th>
|
80
|
+
|
81
|
+
Description
|
82
|
+
|
83
|
+
|
84
|
+
</th></tr></thead>
|
85
|
+
<tbody><tr><td>
|
86
|
+
|
87
|
+
[getAllEntityAttachedSceneUIs(entity)](./server.sceneuimanager.getallentityattachedsceneuis.md)
|
88
|
+
|
89
|
+
|
90
|
+
</td><td>
|
91
|
+
|
92
|
+
|
93
|
+
</td><td>
|
94
|
+
|
95
|
+
Retrieves all loaded SceneUI instances attached to a specific entity.
|
96
|
+
|
97
|
+
|
98
|
+
</td></tr>
|
99
|
+
<tr><td>
|
100
|
+
|
101
|
+
[getAllSceneUIs()](./server.sceneuimanager.getallsceneuis.md)
|
102
|
+
|
103
|
+
|
104
|
+
</td><td>
|
105
|
+
|
106
|
+
|
107
|
+
</td><td>
|
108
|
+
|
109
|
+
Retrieves all loaded SceneUI instances for the world.
|
110
|
+
|
111
|
+
|
112
|
+
</td></tr>
|
113
|
+
<tr><td>
|
114
|
+
|
115
|
+
[unloadEntityAttachedSceneUIs(entity)](./server.sceneuimanager.unloadentityattachedsceneuis.md)
|
116
|
+
|
117
|
+
|
118
|
+
</td><td>
|
119
|
+
|
120
|
+
|
121
|
+
</td><td>
|
122
|
+
|
123
|
+
Unloads and unregisters all SceneUI instances attached to a specific entity.
|
124
|
+
|
125
|
+
|
126
|
+
</td></tr>
|
127
|
+
</tbody></table>
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [SceneUIManager](./server.sceneuimanager.md) > [unloadEntityAttachedSceneUIs](./server.sceneuimanager.unloadentityattachedsceneuis.md)
|
4
|
+
|
5
|
+
## SceneUIManager.unloadEntityAttachedSceneUIs() method
|
6
|
+
|
7
|
+
Unloads and unregisters all SceneUI instances attached to a specific entity.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
unloadEntityAttachedSceneUIs(entity: Entity): void;
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Parameter
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Type
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
entity
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
[Entity](./server.entity.md)
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
The entity to unload and unregister SceneUI instances for.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
</tbody></table>
|
50
|
+
**Returns:**
|
51
|
+
|
52
|
+
void
|
53
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [SceneUIManager](./server.sceneuimanager.md) > [world](./server.sceneuimanager.world.md)
|
4
|
+
|
5
|
+
## SceneUIManager.world property
|
6
|
+
|
7
|
+
The world the SceneUIManager is for.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
get world(): World;
|
13
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [SceneUIOptions](./server.sceneuioptions.md) > [attachedToEntity](./server.sceneuioptions.attachedtoentity.md)
|
4
|
+
|
5
|
+
## SceneUIOptions.attachedToEntity property
|
6
|
+
|
7
|
+
If set, SceneUI will follow the entity's position
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
attachedToEntity?: Entity;
|
13
|
+
```
|
@@ -0,0 +1,133 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [SceneUIOptions](./server.sceneuioptions.md)
|
4
|
+
|
5
|
+
## SceneUIOptions interface
|
6
|
+
|
7
|
+
Options for creating a SceneUI instance.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
export interface SceneUIOptions
|
13
|
+
```
|
14
|
+
|
15
|
+
## Properties
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Property
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Modifiers
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Type
|
30
|
+
|
31
|
+
|
32
|
+
</th><th>
|
33
|
+
|
34
|
+
Description
|
35
|
+
|
36
|
+
|
37
|
+
</th></tr></thead>
|
38
|
+
<tbody><tr><td>
|
39
|
+
|
40
|
+
[attachedToEntity?](./server.sceneuioptions.attachedtoentity.md)
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
|
46
|
+
</td><td>
|
47
|
+
|
48
|
+
[Entity](./server.entity.md)
|
49
|
+
|
50
|
+
|
51
|
+
</td><td>
|
52
|
+
|
53
|
+
_(Optional)_ If set, SceneUI will follow the entity's position
|
54
|
+
|
55
|
+
|
56
|
+
</td></tr>
|
57
|
+
<tr><td>
|
58
|
+
|
59
|
+
[offset?](./server.sceneuioptions.offset.md)
|
60
|
+
|
61
|
+
|
62
|
+
</td><td>
|
63
|
+
|
64
|
+
|
65
|
+
</td><td>
|
66
|
+
|
67
|
+
[Vector3Like](./server.vector3like.md)
|
68
|
+
|
69
|
+
|
70
|
+
</td><td>
|
71
|
+
|
72
|
+
_(Optional)_ The offset of the SceneUI from the attached entity or position
|
73
|
+
|
74
|
+
|
75
|
+
</td></tr>
|
76
|
+
<tr><td>
|
77
|
+
|
78
|
+
[position?](./server.sceneuioptions.position.md)
|
79
|
+
|
80
|
+
|
81
|
+
</td><td>
|
82
|
+
|
83
|
+
|
84
|
+
</td><td>
|
85
|
+
|
86
|
+
[Vector3Like](./server.vector3like.md)
|
87
|
+
|
88
|
+
|
89
|
+
</td><td>
|
90
|
+
|
91
|
+
_(Optional)_ If set, SceneUI will be attached at this position
|
92
|
+
|
93
|
+
|
94
|
+
</td></tr>
|
95
|
+
<tr><td>
|
96
|
+
|
97
|
+
[state?](./server.sceneuioptions.state.md)
|
98
|
+
|
99
|
+
|
100
|
+
</td><td>
|
101
|
+
|
102
|
+
|
103
|
+
</td><td>
|
104
|
+
|
105
|
+
object
|
106
|
+
|
107
|
+
|
108
|
+
</td><td>
|
109
|
+
|
110
|
+
_(Optional)_ The state of the SceneUI
|
111
|
+
|
112
|
+
|
113
|
+
</td></tr>
|
114
|
+
<tr><td>
|
115
|
+
|
116
|
+
[templateId](./server.sceneuioptions.templateid.md)
|
117
|
+
|
118
|
+
|
119
|
+
</td><td>
|
120
|
+
|
121
|
+
|
122
|
+
</td><td>
|
123
|
+
|
124
|
+
string
|
125
|
+
|
126
|
+
|
127
|
+
</td><td>
|
128
|
+
|
129
|
+
The template ID to use for this SceneUI
|
130
|
+
|
131
|
+
|
132
|
+
</td></tr>
|
133
|
+
</tbody></table>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [SceneUIOptions](./server.sceneuioptions.md) > [offset](./server.sceneuioptions.offset.md)
|
4
|
+
|
5
|
+
## SceneUIOptions.offset property
|
6
|
+
|
7
|
+
The offset of the SceneUI from the attached entity or position
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
offset?: Vector3Like;
|
13
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [SceneUIOptions](./server.sceneuioptions.md) > [position](./server.sceneuioptions.position.md)
|
4
|
+
|
5
|
+
## SceneUIOptions.position property
|
6
|
+
|
7
|
+
If set, SceneUI will be attached at this position
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
position?: Vector3Like;
|
13
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [SceneUIOptions](./server.sceneuioptions.md) > [state](./server.sceneuioptions.state.md)
|
4
|
+
|
5
|
+
## SceneUIOptions.state property
|
6
|
+
|
7
|
+
The state of the SceneUI
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
state?: object;
|
13
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [SceneUIOptions](./server.sceneuioptions.md) > [templateId](./server.sceneuioptions.templateid.md)
|
4
|
+
|
5
|
+
## SceneUIOptions.templateId property
|
6
|
+
|
7
|
+
The template ID to use for this SceneUI
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
templateId: string;
|
13
|
+
```
|
package/docs/server.world.md
CHANGED
@@ -311,6 +311,27 @@ _(Optional)_ A function that is called when a player joins the world.
|
|
311
311
|
_(Optional)_ A function that is called when a player leaves the world.
|
312
312
|
|
313
313
|
|
314
|
+
</td></tr>
|
315
|
+
<tr><td>
|
316
|
+
|
317
|
+
[sceneUIManager](./server.world.sceneuimanager.md)
|
318
|
+
|
319
|
+
|
320
|
+
</td><td>
|
321
|
+
|
322
|
+
`readonly`
|
323
|
+
|
324
|
+
|
325
|
+
</td><td>
|
326
|
+
|
327
|
+
[SceneUIManager](./server.sceneuimanager.md)
|
328
|
+
|
329
|
+
|
330
|
+
</td><td>
|
331
|
+
|
332
|
+
The scene UI manager for the world.
|
333
|
+
|
334
|
+
|
314
335
|
</td></tr>
|
315
336
|
<tr><td>
|
316
337
|
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [World](./server.world.md) > [sceneUIManager](./server.world.sceneuimanager.md)
|
4
|
+
|
5
|
+
## World.sceneUIManager property
|
6
|
+
|
7
|
+
The scene UI manager for the world.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
get sceneUIManager(): SceneUIManager;
|
13
|
+
```
|