@dcl/playground-assets 7.0.0-3568547351.commit-5420eac
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/LICENSE +201 -0
- package/api-extractor.json +357 -0
- package/etc/playground-assets.api.json +44469 -0
- package/etc/playground-assets.api.md +2794 -0
- package/package.json +23 -0
- package/src/index.ts +6 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,2794 @@
|
|
|
1
|
+
## API Report File for "@dcl/playground-assets"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import _m0 from 'protobufjs/minimal';
|
|
8
|
+
|
|
9
|
+
// Warning: (ae-missing-release-tag) "Animator" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
10
|
+
//
|
|
11
|
+
// @public (undocumented)
|
|
12
|
+
export const Animator: AnimatorComponentDefinitionExtended;
|
|
13
|
+
|
|
14
|
+
// @public (undocumented)
|
|
15
|
+
export type AnimatorComponentDefinition = ComponentDefinition<ISchema<PBAnimator>, PBAnimator>;
|
|
16
|
+
|
|
17
|
+
// @public (undocumented)
|
|
18
|
+
export interface AnimatorComponentDefinitionExtended extends AnimatorComponentDefinition {
|
|
19
|
+
getClip(entity: Entity, name: string): PBAnimationState;
|
|
20
|
+
getClipOrNull(entity: Entity, name: string): PBAnimationState | null;
|
|
21
|
+
playSingleAnimation(entity: Entity, name: string, resetCursor?: boolean): boolean;
|
|
22
|
+
stopAllAnimations(entity: Entity, resetCursor?: boolean): boolean;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Warning: (ae-missing-release-tag) "AnimatorSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
26
|
+
//
|
|
27
|
+
// @public (undocumented)
|
|
28
|
+
export const AnimatorSchema: ISchema<PBAnimator> & {
|
|
29
|
+
COMPONENT_ID: number;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
// @public (undocumented)
|
|
33
|
+
export const AudioSource: ComponentDefinition<typeof AudioSourceSchema>;
|
|
34
|
+
|
|
35
|
+
// Warning: (ae-missing-release-tag) "AudioSourceSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
36
|
+
//
|
|
37
|
+
// @public (undocumented)
|
|
38
|
+
export const AudioSourceSchema: ISchema<PBAudioSource> & {
|
|
39
|
+
COMPONENT_ID: number;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
// @public (undocumented)
|
|
43
|
+
export const AudioStream: ComponentDefinition<typeof AudioStreamSchema>;
|
|
44
|
+
|
|
45
|
+
// Warning: (ae-missing-release-tag) "AudioStreamSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
46
|
+
//
|
|
47
|
+
// @public (undocumented)
|
|
48
|
+
export const AudioStreamSchema: ISchema<PBAudioStream> & {
|
|
49
|
+
COMPONENT_ID: number;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
// Warning: (ae-missing-release-tag) "AvatarAnchorPointType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
53
|
+
//
|
|
54
|
+
// @public (undocumented)
|
|
55
|
+
export const enum AvatarAnchorPointType {
|
|
56
|
+
// (undocumented)
|
|
57
|
+
AAPT_LEFT_HAND = 2,
|
|
58
|
+
// (undocumented)
|
|
59
|
+
AAPT_NAME_TAG = 1,
|
|
60
|
+
// (undocumented)
|
|
61
|
+
AAPT_POSITION = 0,
|
|
62
|
+
// (undocumented)
|
|
63
|
+
AAPT_RIGHT_HAND = 3
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// @public (undocumented)
|
|
67
|
+
export const AvatarAttach: ComponentDefinition<typeof AvatarAttachSchema>;
|
|
68
|
+
|
|
69
|
+
// Warning: (ae-missing-release-tag) "AvatarAttachSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
70
|
+
//
|
|
71
|
+
// @public (undocumented)
|
|
72
|
+
export const AvatarAttachSchema: ISchema<PBAvatarAttach> & {
|
|
73
|
+
COMPONENT_ID: number;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
// @public (undocumented)
|
|
77
|
+
export const AvatarModifierArea: ComponentDefinition<typeof AvatarModifierAreaSchema>;
|
|
78
|
+
|
|
79
|
+
// Warning: (ae-missing-release-tag) "AvatarModifierAreaSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
80
|
+
//
|
|
81
|
+
// @public (undocumented)
|
|
82
|
+
export const AvatarModifierAreaSchema: ISchema<PBAvatarModifierArea> & {
|
|
83
|
+
COMPONENT_ID: number;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
// Warning: (ae-missing-release-tag) "AvatarModifierType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
87
|
+
//
|
|
88
|
+
// @public (undocumented)
|
|
89
|
+
export const enum AvatarModifierType {
|
|
90
|
+
// (undocumented)
|
|
91
|
+
AMT_DISABLE_PASSPORTS = 1,
|
|
92
|
+
// (undocumented)
|
|
93
|
+
AMT_HIDE_AVATARS = 0
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// @public (undocumented)
|
|
97
|
+
export const AvatarShape: ComponentDefinition<typeof AvatarShapeSchema>;
|
|
98
|
+
|
|
99
|
+
// Warning: (ae-missing-release-tag) "AvatarShapeSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
100
|
+
//
|
|
101
|
+
// @public (undocumented)
|
|
102
|
+
export const AvatarShapeSchema: ISchema<PBAvatarShape> & {
|
|
103
|
+
COMPONENT_ID: number;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
// Warning: (ae-missing-release-tag) "AvatarTexture" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
107
|
+
// Warning: (ae-missing-release-tag) "AvatarTexture" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
108
|
+
//
|
|
109
|
+
// @public (undocumented)
|
|
110
|
+
export interface AvatarTexture {
|
|
111
|
+
filterMode?: TextureFilterMode | undefined;
|
|
112
|
+
// (undocumented)
|
|
113
|
+
userId: string;
|
|
114
|
+
wrapMode?: TextureWrapMode | undefined;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// @public
|
|
118
|
+
export const AvatarTexture: {
|
|
119
|
+
encode(message: AvatarTexture, writer?: _m0.Writer): _m0.Writer;
|
|
120
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): AvatarTexture;
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
// @public (undocumented)
|
|
124
|
+
export const Billboard: ComponentDefinition<typeof BillboardSchema>;
|
|
125
|
+
|
|
126
|
+
// Warning: (ae-missing-release-tag) "BillboardMode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
127
|
+
//
|
|
128
|
+
// @public (undocumented)
|
|
129
|
+
export const enum BillboardMode {
|
|
130
|
+
// (undocumented)
|
|
131
|
+
BM_ALL_AXES = 0,
|
|
132
|
+
// (undocumented)
|
|
133
|
+
BM_Y_AXE = 1
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
// Warning: (ae-missing-release-tag) "BillboardSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
137
|
+
//
|
|
138
|
+
// @public (undocumented)
|
|
139
|
+
export const BillboardSchema: ISchema<PBBillboard> & {
|
|
140
|
+
COMPONENT_ID: number;
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
// @public (undocumented)
|
|
144
|
+
export type ByteBuffer = {
|
|
145
|
+
buffer(): Uint8Array;
|
|
146
|
+
bufferLength(): number;
|
|
147
|
+
resetBuffer(): void;
|
|
148
|
+
currentReadOffset(): number;
|
|
149
|
+
currentWriteOffset(): number;
|
|
150
|
+
incrementReadOffset(amount: number): number;
|
|
151
|
+
remainingBytes(): number;
|
|
152
|
+
readFloat32(): number;
|
|
153
|
+
readFloat64(): number;
|
|
154
|
+
readInt8(): number;
|
|
155
|
+
readInt16(): number;
|
|
156
|
+
readInt32(): number;
|
|
157
|
+
readInt64(): bigint;
|
|
158
|
+
readUint8(): number;
|
|
159
|
+
readUint16(): number;
|
|
160
|
+
readUint32(): number;
|
|
161
|
+
readUint64(): bigint;
|
|
162
|
+
readBuffer(): Uint8Array;
|
|
163
|
+
incrementWriteOffset(amount: number): number;
|
|
164
|
+
size(): number;
|
|
165
|
+
toBinary(): Uint8Array;
|
|
166
|
+
toCopiedBinary(): Uint8Array;
|
|
167
|
+
writeBuffer(value: Uint8Array, writeLength?: boolean): void;
|
|
168
|
+
writeFloat32(value: number): void;
|
|
169
|
+
writeFloat64(value: number): void;
|
|
170
|
+
writeInt8(value: number): void;
|
|
171
|
+
writeInt16(value: number): void;
|
|
172
|
+
writeInt32(value: number): void;
|
|
173
|
+
writeInt64(value: bigint): void;
|
|
174
|
+
writeUint8(value: number): void;
|
|
175
|
+
writeUint16(value: number): void;
|
|
176
|
+
writeUint32(value: number): void;
|
|
177
|
+
writeUint64(value: bigint): void;
|
|
178
|
+
getFloat32(offset: number): number;
|
|
179
|
+
getFloat64(offset: number): number;
|
|
180
|
+
getInt8(offset: number): number;
|
|
181
|
+
getInt16(offset: number): number;
|
|
182
|
+
getInt32(offset: number): number;
|
|
183
|
+
getInt64(offset: number): bigint;
|
|
184
|
+
getUint8(offset: number): number;
|
|
185
|
+
getUint16(offset: number): number;
|
|
186
|
+
getUint32(offset: number): number;
|
|
187
|
+
getUint64(offset: number): bigint;
|
|
188
|
+
setFloat32(offset: number, value: number): void;
|
|
189
|
+
setFloat64(offset: number, value: number): void;
|
|
190
|
+
setInt8(offset: number, value: number): void;
|
|
191
|
+
setInt16(offset: number, value: number): void;
|
|
192
|
+
setInt32(offset: number, value: number): void;
|
|
193
|
+
setInt64(offset: number, value: bigint): void;
|
|
194
|
+
setUint8(offset: number, value: number): void;
|
|
195
|
+
setUint16(offset: number, value: number): void;
|
|
196
|
+
setUint32(offset: number, value: number): void;
|
|
197
|
+
setUint64(offset: number, value: bigint): void;
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
// @public (undocumented)
|
|
201
|
+
export const CameraMode: ComponentDefinition<typeof CameraModeSchema>;
|
|
202
|
+
|
|
203
|
+
// @public (undocumented)
|
|
204
|
+
export const CameraModeArea: ComponentDefinition<typeof CameraModeAreaSchema>;
|
|
205
|
+
|
|
206
|
+
// Warning: (ae-missing-release-tag) "CameraModeAreaSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
207
|
+
//
|
|
208
|
+
// @public (undocumented)
|
|
209
|
+
export const CameraModeAreaSchema: ISchema<PBCameraModeArea> & {
|
|
210
|
+
COMPONENT_ID: number;
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
// Warning: (ae-missing-release-tag) "CameraModeSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
214
|
+
//
|
|
215
|
+
// @public (undocumented)
|
|
216
|
+
export const CameraModeSchema: ISchema<PBCameraMode> & {
|
|
217
|
+
COMPONENT_ID: number;
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
// Warning: (ae-missing-release-tag) "CameraType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
221
|
+
//
|
|
222
|
+
// @public (undocumented)
|
|
223
|
+
export const enum CameraType {
|
|
224
|
+
// (undocumented)
|
|
225
|
+
CT_FIRST_PERSON = 0,
|
|
226
|
+
// (undocumented)
|
|
227
|
+
CT_THIRD_PERSON = 1
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
// Warning: (ae-missing-release-tag) "CANVAS_ROOT_ENTITY" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
231
|
+
//
|
|
232
|
+
// @public (undocumented)
|
|
233
|
+
export const CANVAS_ROOT_ENTITY = 0;
|
|
234
|
+
|
|
235
|
+
// Warning: (ae-missing-release-tag) "Children" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
236
|
+
//
|
|
237
|
+
// @public (undocumented)
|
|
238
|
+
export type Children = any;
|
|
239
|
+
|
|
240
|
+
// Warning: (ae-missing-release-tag) "ColliderLayer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
241
|
+
//
|
|
242
|
+
// @public (undocumented)
|
|
243
|
+
export const enum ColliderLayer {
|
|
244
|
+
// (undocumented)
|
|
245
|
+
CL_NONE = 0,
|
|
246
|
+
// (undocumented)
|
|
247
|
+
CL_PHYSICS = 2,
|
|
248
|
+
// (undocumented)
|
|
249
|
+
CL_POINTER = 1
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
// @public
|
|
253
|
+
export type Color3 = Color3.ReadonlyColor3;
|
|
254
|
+
|
|
255
|
+
// @public
|
|
256
|
+
export namespace Color3 {
|
|
257
|
+
export function add(value: ReadonlyColor3, otherColor: ReadonlyColor3): MutableColor3;
|
|
258
|
+
export function addToRef(value: ReadonlyColor3, otherColor: ReadonlyColor3, result: MutableColor3): void;
|
|
259
|
+
export function asArray(value: ReadonlyColor3): number[];
|
|
260
|
+
export function Black(): MutableColor3;
|
|
261
|
+
export function Blue(): MutableColor3;
|
|
262
|
+
export function clamp(value: ReadonlyColor3, min?: number, max?: number): MutableColor3;
|
|
263
|
+
export function clampToRef(value: ReadonlyColor3, min: number | undefined, max: number | undefined, result: MutableColor3): void;
|
|
264
|
+
export function clone(value: ReadonlyColor3): MutableColor3;
|
|
265
|
+
export function copyFrom(source: ReadonlyColor3, dest: MutableColor3): void;
|
|
266
|
+
export function create(
|
|
267
|
+
r?: number,
|
|
268
|
+
g?: number,
|
|
269
|
+
b?: number): {
|
|
270
|
+
r: number;
|
|
271
|
+
g: number;
|
|
272
|
+
b: number;
|
|
273
|
+
};
|
|
274
|
+
export function equals(value: ReadonlyColor3, otherColor: ReadonlyColor3): boolean;
|
|
275
|
+
export function equalsFloats(value: ReadonlyColor3, r: number, g: number, b: number): boolean;
|
|
276
|
+
export function fromArray(array: ArrayLike<number>, offset?: number): MutableColor3;
|
|
277
|
+
export function fromHexString(hex: string): MutableColor3;
|
|
278
|
+
export function fromInts(r: number, g: number, b: number): MutableColor3;
|
|
279
|
+
export function getHashCode(value: ReadonlyColor3): number;
|
|
280
|
+
export function Gray(): MutableColor3;
|
|
281
|
+
export function Green(): MutableColor3;
|
|
282
|
+
export function lerp(start: ReadonlyColor3, end: ReadonlyColor3, amount: number): MutableColor3;
|
|
283
|
+
export function lerpToRef(left: ReadonlyColor3, right: ReadonlyColor3, amount: number, result: MutableColor3): void;
|
|
284
|
+
export function Magenta(): MutableColor3;
|
|
285
|
+
export function multiply(value: ReadonlyColor3, otherColor: ReadonlyColor3): MutableColor3;
|
|
286
|
+
export function multiplyToRef(value: ReadonlyColor3, otherColor: ReadonlyColor3, result: MutableColor3): void;
|
|
287
|
+
export type Mutable = MutableColor3;
|
|
288
|
+
export type MutableColor3 = {
|
|
289
|
+
r: number;
|
|
290
|
+
g: number;
|
|
291
|
+
b: number;
|
|
292
|
+
};
|
|
293
|
+
export function Purple(): MutableColor3;
|
|
294
|
+
export function Random(): MutableColor3;
|
|
295
|
+
export type ReadonlyColor3 = {
|
|
296
|
+
readonly r: number;
|
|
297
|
+
readonly g: number;
|
|
298
|
+
readonly b: number;
|
|
299
|
+
};
|
|
300
|
+
export function Red(): MutableColor3;
|
|
301
|
+
export function scale(value: ReadonlyColor3, scale: number): MutableColor3;
|
|
302
|
+
export function scaleAndAddToRef(value: ReadonlyColor3, scale: number, result: MutableColor3): void;
|
|
303
|
+
export function scaleToRef(value: ReadonlyColor3, scale: number, result: MutableColor3): void;
|
|
304
|
+
export function set(dest: MutableColor3, r: number, g: number, b: number): void;
|
|
305
|
+
export function subtract(value: ReadonlyColor3, otherColor: ReadonlyColor3): MutableColor3;
|
|
306
|
+
export function subtractToRef(value: ReadonlyColor3, otherColor: ReadonlyColor3, result: MutableColor3): void;
|
|
307
|
+
export function Teal(): MutableColor3;
|
|
308
|
+
export function toArray(value: ReadonlyColor3, array: FloatArray, index?: number): void;
|
|
309
|
+
export function toColor4(value: ReadonlyColor3, alpha?: number): Color4.MutableColor4;
|
|
310
|
+
export function toGammaSpace(value: ReadonlyColor3): ReadonlyColor3;
|
|
311
|
+
export function toGammaSpaceToRef(value: ReadonlyColor3, convertedColor: MutableColor3): void;
|
|
312
|
+
export function toHexString(value: ReadonlyColor3): string;
|
|
313
|
+
export function toLinearSpace(value: ReadonlyColor3): MutableColor3;
|
|
314
|
+
export function toLinearSpaceToRef(value: ReadonlyColor3, convertedColor: MutableColor3): void;
|
|
315
|
+
export function toLuminance(value: ReadonlyColor3): number;
|
|
316
|
+
export function toString(value: ReadonlyColor3): string;
|
|
317
|
+
export function White(): MutableColor3;
|
|
318
|
+
export function Yellow(): MutableColor3;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
// @public (undocumented)
|
|
322
|
+
export type Color3Type = {
|
|
323
|
+
r: number;
|
|
324
|
+
g: number;
|
|
325
|
+
b: number;
|
|
326
|
+
};
|
|
327
|
+
|
|
328
|
+
// @public
|
|
329
|
+
export type Color4 = Color4.ReadonlyColor4;
|
|
330
|
+
|
|
331
|
+
// @public
|
|
332
|
+
export namespace Color4 {
|
|
333
|
+
export function add(value: ReadonlyColor4, right: ReadonlyColor4): MutableColor4;
|
|
334
|
+
export function addToRef(a: ReadonlyColor4, b: ReadonlyColor4, ref: MutableColor4): void;
|
|
335
|
+
export function Black(): MutableColor4;
|
|
336
|
+
export function Blue(): MutableColor4;
|
|
337
|
+
export function checkColors4(colors: number[], count: number): number[];
|
|
338
|
+
export function clampToRef(value: ReadonlyColor4, min: number | undefined, max: number | undefined, result: MutableColor4): void;
|
|
339
|
+
export function Clear(): MutableColor4;
|
|
340
|
+
export function clone(value: ReadonlyColor4): MutableColor4;
|
|
341
|
+
export function copyFrom(source: ReadonlyColor4, dest: MutableColor4): void;
|
|
342
|
+
export function copyFromFloats(r: number, g: number, b: number, a: number, dest: MutableColor4): void;
|
|
343
|
+
export function create(
|
|
344
|
+
r?: number,
|
|
345
|
+
g?: number,
|
|
346
|
+
b?: number,
|
|
347
|
+
a?: number): MutableColor4;
|
|
348
|
+
export function fromArray(array: ArrayLike<number>, offset?: number): ReadonlyColor4;
|
|
349
|
+
export function fromColor3(color3: Color3.ReadonlyColor3, alpha?: number): MutableColor4;
|
|
350
|
+
export function fromHexString(hex: string): MutableColor4;
|
|
351
|
+
export function fromInts(r: number, g: number, b: number, a: number): MutableColor4;
|
|
352
|
+
export function getHashCode(value: ReadonlyColor4): number;
|
|
353
|
+
export function Gray(): MutableColor4;
|
|
354
|
+
export function Green(): MutableColor4;
|
|
355
|
+
export function lerp(left: ReadonlyColor4, right: ReadonlyColor4, amount: number): MutableColor4;
|
|
356
|
+
export function lerpToRef(left: ReadonlyColor4, right: ReadonlyColor4, amount: number, result: MutableColor4): void;
|
|
357
|
+
export function Magenta(): MutableColor4;
|
|
358
|
+
export function multiply(value: ReadonlyColor4, color: ReadonlyColor4): ReadonlyColor4;
|
|
359
|
+
export function multiplyToRef(value: ReadonlyColor4, color: ReadonlyColor4, result: MutableColor4): void;
|
|
360
|
+
export type Mutable = MutableColor4;
|
|
361
|
+
export type MutableColor4 = {
|
|
362
|
+
r: number;
|
|
363
|
+
g: number;
|
|
364
|
+
b: number;
|
|
365
|
+
a: number;
|
|
366
|
+
};
|
|
367
|
+
export function Purple(): MutableColor4;
|
|
368
|
+
export type ReadonlyColor4 = {
|
|
369
|
+
readonly r: number;
|
|
370
|
+
readonly g: number;
|
|
371
|
+
readonly b: number;
|
|
372
|
+
readonly a: number;
|
|
373
|
+
};
|
|
374
|
+
export function Red(): MutableColor4;
|
|
375
|
+
export function scale(value: ReadonlyColor4, scale: number): ReadonlyColor4;
|
|
376
|
+
export function scaleAndAddToRef(value: ReadonlyColor4, scale: number, result: MutableColor4): void;
|
|
377
|
+
export function scaleToRef(value: ReadonlyColor4, scale: number, result: MutableColor4): void;
|
|
378
|
+
export function set(r: number, g: number, b: number, a: number, dest: MutableColor4): void;
|
|
379
|
+
export function subtract(value: ReadonlyColor4, right: ReadonlyColor4): ReadonlyColor4;
|
|
380
|
+
export function subtractToRef(a: ReadonlyColor4, b: ReadonlyColor4, result: MutableColor4): void;
|
|
381
|
+
export function Teal(): MutableColor4;
|
|
382
|
+
export function toArray(value: ReadonlyColor4, array: number[], index?: number): void;
|
|
383
|
+
export function toGammaSpace(value: ReadonlyColor4): ReadonlyColor4;
|
|
384
|
+
export function toGammaSpaceToRef(value: ReadonlyColor4, convertedColor: MutableColor4): void;
|
|
385
|
+
export function toHexString(value: ReadonlyColor4): string;
|
|
386
|
+
export function toLinearSpace(value: ReadonlyColor4): MutableColor4;
|
|
387
|
+
export function toLinearSpaceToRef(value: ReadonlyColor4, ref: MutableColor4): void;
|
|
388
|
+
export function toString(value: ReadonlyColor4): string;
|
|
389
|
+
export function White(): MutableColor4;
|
|
390
|
+
export function Yellow(): MutableColor4;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
// @public (undocumented)
|
|
394
|
+
export type Color4Type = {
|
|
395
|
+
r: number;
|
|
396
|
+
g: number;
|
|
397
|
+
b: number;
|
|
398
|
+
a: number;
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
// Warning: (ae-missing-release-tag) "CommonProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
402
|
+
//
|
|
403
|
+
// @public (undocumented)
|
|
404
|
+
export type CommonProps = {
|
|
405
|
+
key: Key;
|
|
406
|
+
children: Children;
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
// @public (undocumented)
|
|
410
|
+
export type ComponentDefinition<T extends ISchema<ConstructorType>, ConstructorType = any> = {
|
|
411
|
+
_id: number;
|
|
412
|
+
default(): DeepReadonly<ComponentType<T>>;
|
|
413
|
+
has(entity: Entity): boolean;
|
|
414
|
+
get(entity: Entity): DeepReadonly<ComponentType<T>>;
|
|
415
|
+
getOrNull(entity: Entity): DeepReadonly<ComponentType<T>> | null;
|
|
416
|
+
create(entity: Entity, val?: ConstructorType): ComponentType<T>;
|
|
417
|
+
createOrReplace(entity: Entity, val?: ConstructorType): ComponentType<T>;
|
|
418
|
+
deleteFrom(entity: Entity): ComponentType<T> | null;
|
|
419
|
+
getMutable(entity: Entity): ComponentType<T>;
|
|
420
|
+
getMutableOrNull(entity: Entity): ComponentType<T> | null;
|
|
421
|
+
writeToByteBuffer(entity: Entity, buffer: ByteBuffer): void;
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
// Warning: (ae-missing-release-tag) "ComponentGetter" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
425
|
+
//
|
|
426
|
+
// @public (undocumented)
|
|
427
|
+
export type ComponentGetter<T extends ComponentDefinition<any>> = (engine: Pick<IEngine, 'defineComponentFromSchema'>) => T;
|
|
428
|
+
|
|
429
|
+
// @public (undocumented)
|
|
430
|
+
export type ComponentSchema<T extends [ComponentDefinition<any>, ...ComponentDefinition<any>[]]> = {
|
|
431
|
+
[K in keyof T]: T[K] extends ComponentDefinition<any> ? ReturnType<T[K]['getMutable']> : never;
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
// @public (undocumented)
|
|
435
|
+
export type ComponentType<T extends ISchema> = EcsResult<T>;
|
|
436
|
+
|
|
437
|
+
// Warning: (ae-missing-release-tag) "Container" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
438
|
+
//
|
|
439
|
+
// @public (undocumented)
|
|
440
|
+
export function Container({ width, height, children }: ContainerPropTypes): ReactEcs.JSX.Element;
|
|
441
|
+
|
|
442
|
+
// Warning: (ae-missing-release-tag) "ContainerPropTypes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
443
|
+
//
|
|
444
|
+
// @public (undocumented)
|
|
445
|
+
export type ContainerPropTypes = Partial<CommonProps> & EntityPropTypes['uiTransform'];
|
|
446
|
+
|
|
447
|
+
// Warning: (ae-missing-release-tag) "createInputSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
448
|
+
//
|
|
449
|
+
// @public (undocumented)
|
|
450
|
+
export function createInputSystem(engine: IEngine): IInputSystem;
|
|
451
|
+
|
|
452
|
+
// Warning: (ae-missing-release-tag) "createPointerEventSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
453
|
+
//
|
|
454
|
+
// @public (undocumented)
|
|
455
|
+
export function createPointerEventSystem(engine: IEngine, inputSystem: IInputSystem): {
|
|
456
|
+
removeOnClick(entity: Entity): void;
|
|
457
|
+
removeOnPointerDown(entity: Entity): void;
|
|
458
|
+
removeOnPointerUp(entity: Entity): void;
|
|
459
|
+
onClick(entity: Entity, cb: EventSystemCallback, opts?: EventSystemOptions): void;
|
|
460
|
+
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: EventSystemOptions): void;
|
|
461
|
+
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: EventSystemOptions): void;
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
// Warning: (ae-missing-release-tag) "createReactBasedUiSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
465
|
+
//
|
|
466
|
+
// @public (undocumented)
|
|
467
|
+
export function createReactBasedUiSystem(engine: IEngine, pointerSystem: PointerEventsSystem): ReactBasedUiSystem;
|
|
468
|
+
|
|
469
|
+
// Warning: (ae-missing-release-tag) "createTaskSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
470
|
+
//
|
|
471
|
+
// @public (undocumented)
|
|
472
|
+
export function createTaskSystem(engine: IEngine): {
|
|
473
|
+
executeTask(task: Task): void;
|
|
474
|
+
};
|
|
475
|
+
|
|
476
|
+
// Warning: (tsdoc-code-fence-closing-syntax) Unexpected characters after closing delimiter for code fence
|
|
477
|
+
// Warning: (tsdoc-code-span-missing-delimiter) The code span is missing its closing backtick
|
|
478
|
+
// Warning: (tsdoc-undefined-tag) The TSDoc tag "@params" is not defined in this configuration
|
|
479
|
+
//
|
|
480
|
+
// @public
|
|
481
|
+
export function cyclicParentingChecker(engine: IEngine): () => void;
|
|
482
|
+
|
|
483
|
+
// @public (undocumented)
|
|
484
|
+
export type DeepReadonly<T> = T extends ReadonlyPrimitive ? T : T extends Map<infer K, infer V> ? DeepReadonlyMap<K, V> : T extends Set<infer M> ? DeepReadonlySet<M> : DeepReadonlyObject<T>;
|
|
485
|
+
|
|
486
|
+
// @public (undocumented)
|
|
487
|
+
export type DeepReadonlyMap<K, V> = ReadonlyMap<DeepReadonly<K>, DeepReadonly<V>>;
|
|
488
|
+
|
|
489
|
+
// @public (undocumented)
|
|
490
|
+
export type DeepReadonlyObject<T> = {
|
|
491
|
+
readonly [K in keyof T]: DeepReadonly<T[K]>;
|
|
492
|
+
};
|
|
493
|
+
|
|
494
|
+
// @public (undocumented)
|
|
495
|
+
export type DeepReadonlySet<T> = ReadonlySet<DeepReadonly<T>>;
|
|
496
|
+
|
|
497
|
+
// Warning: (ae-missing-release-tag) "defineComponent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
498
|
+
//
|
|
499
|
+
// @public (undocumented)
|
|
500
|
+
export function defineComponent<T extends ISchema, ConstructorType = ComponentType<T>>(componentId: number, spec: T, constructorDefault?: ConstructorType): ComponentDefinition<T, ConstructorType>;
|
|
501
|
+
|
|
502
|
+
// @public
|
|
503
|
+
export const DEG2RAD: number;
|
|
504
|
+
|
|
505
|
+
// Warning: (ae-missing-release-tag) "EcsElements" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
506
|
+
//
|
|
507
|
+
// @public (undocumented)
|
|
508
|
+
export type EcsElements = {
|
|
509
|
+
entity: Partial<Omit<EntityComponents, 'onClick'> & CommonProps>;
|
|
510
|
+
};
|
|
511
|
+
|
|
512
|
+
// @public (undocumented)
|
|
513
|
+
export type EcsResult<T extends ISchema> = T extends ISchema ? ReturnType<T['deserialize']> : never;
|
|
514
|
+
|
|
515
|
+
// @public (undocumented)
|
|
516
|
+
export function Engine(): IEngine;
|
|
517
|
+
|
|
518
|
+
// Warning: (ae-missing-release-tag) "engine" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
519
|
+
//
|
|
520
|
+
// @public (undocumented)
|
|
521
|
+
export const engine: IEngine;
|
|
522
|
+
|
|
523
|
+
// @public (undocumented)
|
|
524
|
+
export type Entity = unknown;
|
|
525
|
+
|
|
526
|
+
// Warning: (ae-missing-release-tag) "EntityComponents" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
527
|
+
//
|
|
528
|
+
// @public (undocumented)
|
|
529
|
+
export type EntityComponents = {
|
|
530
|
+
uiTransform: PBUiTransform;
|
|
531
|
+
uiText: PBUiText;
|
|
532
|
+
uiBackground: PBUiBackground;
|
|
533
|
+
onClick: EventSystemCallback;
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
// Warning: (ae-missing-release-tag) "EntityContainer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
537
|
+
//
|
|
538
|
+
// @public (undocumented)
|
|
539
|
+
export function EntityContainer(): {
|
|
540
|
+
generateEntity(dynamic?: boolean): Entity;
|
|
541
|
+
removeEntity(entity: Entity): boolean;
|
|
542
|
+
entityExists(entity: Entity): boolean;
|
|
543
|
+
getExistingEntities(): Set<Entity>;
|
|
544
|
+
};
|
|
545
|
+
|
|
546
|
+
// @public (undocumented)
|
|
547
|
+
export type EntityPropTypes = {
|
|
548
|
+
uiTransform?: UiTransformProps;
|
|
549
|
+
uiText?: PBUiText;
|
|
550
|
+
uiBackground?: PBUiBackground;
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
// @public
|
|
554
|
+
export const Epsilon = 0.000001;
|
|
555
|
+
|
|
556
|
+
// Warning: (ae-missing-release-tag) "EventSystemCallback" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
557
|
+
//
|
|
558
|
+
// @public (undocumented)
|
|
559
|
+
export type EventSystemCallback = (event: PBPointerEventsResult_PointerCommand) => void;
|
|
560
|
+
|
|
561
|
+
// Warning: (ae-missing-release-tag) "EventSystemOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
562
|
+
//
|
|
563
|
+
// @public (undocumented)
|
|
564
|
+
export type EventSystemOptions = {
|
|
565
|
+
button?: InputAction;
|
|
566
|
+
hoverText?: string;
|
|
567
|
+
maxDistance?: number;
|
|
568
|
+
};
|
|
569
|
+
|
|
570
|
+
// Warning: (ae-missing-release-tag) "ExcludeUndefined" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
571
|
+
//
|
|
572
|
+
// @public
|
|
573
|
+
export type ExcludeUndefined<T> = {
|
|
574
|
+
[P in keyof T]: undefined extends T[P] ? never : P;
|
|
575
|
+
}[keyof T];
|
|
576
|
+
|
|
577
|
+
// @public (undocumented)
|
|
578
|
+
export const executeTask: (task: Task<unknown>) => void;
|
|
579
|
+
|
|
580
|
+
// @public (undocumented)
|
|
581
|
+
export type FloatArray = number[];
|
|
582
|
+
|
|
583
|
+
// Warning: (ae-missing-release-tag) "Font" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
584
|
+
//
|
|
585
|
+
// @public (undocumented)
|
|
586
|
+
export const enum Font {
|
|
587
|
+
// (undocumented)
|
|
588
|
+
F_LIBERATION_SANS = 0,
|
|
589
|
+
// (undocumented)
|
|
590
|
+
F_SANS_SERIF = 1
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
// @public (undocumented)
|
|
594
|
+
export const GltfContainer: ComponentDefinition<typeof GltfContainerSchema>;
|
|
595
|
+
|
|
596
|
+
// Warning: (ae-missing-release-tag) "GltfContainerSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
597
|
+
//
|
|
598
|
+
// @public (undocumented)
|
|
599
|
+
export const GltfContainerSchema: ISchema<PBGltfContainer> & {
|
|
600
|
+
COMPONENT_ID: number;
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
// @public (undocumented)
|
|
604
|
+
export function IArray<T>(type: ISchema<T>): ISchema<Array<T>>;
|
|
605
|
+
|
|
606
|
+
// @public (undocumented)
|
|
607
|
+
export type IEngine = {
|
|
608
|
+
addEntity(dynamic?: boolean): Entity;
|
|
609
|
+
addDynamicEntity(): Entity;
|
|
610
|
+
removeEntity(entity: Entity): void;
|
|
611
|
+
removeEntityWithChildren(firstEntity: Entity): void;
|
|
612
|
+
entityExists(entity: Entity): boolean;
|
|
613
|
+
addSystem(system: SystemFn, priority?: number, name?: string): void;
|
|
614
|
+
removeSystem(selector: string | SystemFn): boolean;
|
|
615
|
+
defineComponent<T extends Spec, ConstructorType = Partial<Result<T>>>(spec: T, componentId: number, constructorDefault?: ConstructorType): ComponentDefinition<ISchema<Result<T>>, Partial<Result<T>>>;
|
|
616
|
+
defineComponentFromSchema<T extends ISchema<ConstructorType>, ConstructorType>(spec: T, componentId: number, constructorDefault?: ConstructorType): ComponentDefinition<T, ConstructorType>;
|
|
617
|
+
getComponent<T extends ISchema>(componentId: number): ComponentDefinition<T>;
|
|
618
|
+
getEntitiesWith<T extends [ComponentDefinition<any>, ...ComponentDefinition<any>[]]>(...components: T): Iterable<[Entity, ...ReadonlyComponentSchema<T>]>;
|
|
619
|
+
update(deltaTime: number): void;
|
|
620
|
+
readonly RootEntity: Entity;
|
|
621
|
+
readonly PlayerEntity: Entity;
|
|
622
|
+
readonly CameraEntity: Entity;
|
|
623
|
+
addTransport(transport: Transport): void;
|
|
624
|
+
};
|
|
625
|
+
|
|
626
|
+
// @public (undocumented)
|
|
627
|
+
export function IEnum<T>(type: ISchema<any>): ISchema<T>;
|
|
628
|
+
|
|
629
|
+
// @public (undocumented)
|
|
630
|
+
export type IInputSystem = {
|
|
631
|
+
isTriggered: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => boolean;
|
|
632
|
+
isPressed: (inputAction: InputAction) => boolean;
|
|
633
|
+
getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => PBPointerEventsResult_PointerCommand | null;
|
|
634
|
+
};
|
|
635
|
+
|
|
636
|
+
// @public (undocumented)
|
|
637
|
+
export function IMap<T extends Spec>(spec: T): ISchema<Result<T>>;
|
|
638
|
+
|
|
639
|
+
// Warning: (ae-missing-release-tag) "IncludeUndefined" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
640
|
+
//
|
|
641
|
+
// @public
|
|
642
|
+
export type IncludeUndefined<T> = {
|
|
643
|
+
[P in keyof T]: undefined extends T[P] ? P : never;
|
|
644
|
+
}[keyof T];
|
|
645
|
+
|
|
646
|
+
// Warning: (ae-missing-release-tag) "InputAction" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
647
|
+
//
|
|
648
|
+
// @public (undocumented)
|
|
649
|
+
export const enum InputAction {
|
|
650
|
+
// (undocumented)
|
|
651
|
+
IA_ACTION_3 = 10,
|
|
652
|
+
// (undocumented)
|
|
653
|
+
IA_ACTION_4 = 11,
|
|
654
|
+
// (undocumented)
|
|
655
|
+
IA_ACTION_5 = 12,
|
|
656
|
+
// (undocumented)
|
|
657
|
+
IA_ACTION_6 = 13,
|
|
658
|
+
// (undocumented)
|
|
659
|
+
IA_ANY = 3,
|
|
660
|
+
// (undocumented)
|
|
661
|
+
IA_BACKWARD = 5,
|
|
662
|
+
// (undocumented)
|
|
663
|
+
IA_FORWARD = 4,
|
|
664
|
+
// (undocumented)
|
|
665
|
+
IA_JUMP = 8,
|
|
666
|
+
// (undocumented)
|
|
667
|
+
IA_LEFT = 7,
|
|
668
|
+
// (undocumented)
|
|
669
|
+
IA_POINTER = 0,
|
|
670
|
+
// (undocumented)
|
|
671
|
+
IA_PRIMARY = 1,
|
|
672
|
+
// (undocumented)
|
|
673
|
+
IA_RIGHT = 6,
|
|
674
|
+
// (undocumented)
|
|
675
|
+
IA_SECONDARY = 2,
|
|
676
|
+
// (undocumented)
|
|
677
|
+
IA_WALK = 9
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
// Warning: (ae-missing-release-tag) "inputSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
681
|
+
//
|
|
682
|
+
// @public (undocumented)
|
|
683
|
+
export const inputSystem: IInputSystem;
|
|
684
|
+
|
|
685
|
+
// @public (undocumented)
|
|
686
|
+
export function IOptional<T>(spec: ISchema<T>): ISchema<T | undefined>;
|
|
687
|
+
|
|
688
|
+
// @public (undocumented)
|
|
689
|
+
export type ISchema<T = any> = {
|
|
690
|
+
serialize(value: T, builder: ByteBuffer): void;
|
|
691
|
+
deserialize(reader: ByteBuffer): T;
|
|
692
|
+
create(): T;
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
// Warning: (ae-missing-release-tag) "isListener" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
696
|
+
//
|
|
697
|
+
// @public (undocumented)
|
|
698
|
+
export const isListener: (key: string) => key is "onClick";
|
|
699
|
+
|
|
700
|
+
// Warning: (ae-missing-release-tag) "JSX" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
701
|
+
//
|
|
702
|
+
// @public (undocumented)
|
|
703
|
+
export namespace JSX {
|
|
704
|
+
// (undocumented)
|
|
705
|
+
export interface Component {
|
|
706
|
+
}
|
|
707
|
+
// (undocumented)
|
|
708
|
+
export interface Element {
|
|
709
|
+
}
|
|
710
|
+
// (undocumented)
|
|
711
|
+
export type IntrinsicElements = EcsElements;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
// Warning: (ae-missing-release-tag) "Key" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
715
|
+
//
|
|
716
|
+
// @public (undocumented)
|
|
717
|
+
export type Key = number | string;
|
|
718
|
+
|
|
719
|
+
// Warning: (ae-missing-release-tag) "Listeners" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
720
|
+
//
|
|
721
|
+
// @public (undocumented)
|
|
722
|
+
export type Listeners = {
|
|
723
|
+
onClick?: EventSystemCallback;
|
|
724
|
+
};
|
|
725
|
+
|
|
726
|
+
// Warning: (ae-missing-release-tag) "Material" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
727
|
+
//
|
|
728
|
+
// @public (undocumented)
|
|
729
|
+
export const Material: MaterialComponentDefinitionExtended;
|
|
730
|
+
|
|
731
|
+
// @public (undocumented)
|
|
732
|
+
export type MaterialComponentDefinition = ComponentDefinition<ISchema<PBMaterial>, PBMaterial>;
|
|
733
|
+
|
|
734
|
+
// @public (undocumented)
|
|
735
|
+
export interface MaterialComponentDefinitionExtended extends MaterialComponentDefinition {
|
|
736
|
+
setBasicMaterial: (entity: Entity, material: PBMaterial_UnlitMaterial) => void;
|
|
737
|
+
setPbrMaterial: (entity: Entity, material: PBMaterial_PbrMaterial) => void;
|
|
738
|
+
Texture: TextureHelper;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
// Warning: (ae-missing-release-tag) "MaterialSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
742
|
+
//
|
|
743
|
+
// @public (undocumented)
|
|
744
|
+
export const MaterialSchema: ISchema<PBMaterial> & {
|
|
745
|
+
COMPONENT_ID: number;
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
// Warning: (ae-missing-release-tag) "MaterialTransparencyMode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
749
|
+
//
|
|
750
|
+
// @public (undocumented)
|
|
751
|
+
export const enum MaterialTransparencyMode {
|
|
752
|
+
// (undocumented)
|
|
753
|
+
MTM_ALPHA_BLEND = 2,
|
|
754
|
+
// (undocumented)
|
|
755
|
+
MTM_ALPHA_TEST = 1,
|
|
756
|
+
// (undocumented)
|
|
757
|
+
MTM_ALPHA_TEST_AND_ALPHA_BLEND = 3,
|
|
758
|
+
// (undocumented)
|
|
759
|
+
MTM_AUTO = 4,
|
|
760
|
+
// (undocumented)
|
|
761
|
+
MTM_OPAQUE = 0
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
// @public
|
|
765
|
+
export namespace Matrix {
|
|
766
|
+
export function add(self: ReadonlyMatrix, other: ReadonlyMatrix): MutableMatrix;
|
|
767
|
+
export function addAtIndex(self: MutableMatrix, index: number, value: number): void;
|
|
768
|
+
export function addToRef(self: ReadonlyMatrix, other: ReadonlyMatrix, result: MutableMatrix): void;
|
|
769
|
+
export function addToSelf(self: MutableMatrix, other: ReadonlyMatrix): void;
|
|
770
|
+
export function asArray(self: ReadonlyMatrix): Matrix4x4;
|
|
771
|
+
export function clone(self: ReadonlyMatrix): MutableMatrix;
|
|
772
|
+
export function compose(scale: Vector3.ReadonlyVector3, rotation: Quaternion.ReadonlyQuaternion, translation: Vector3.ReadonlyVector3): MutableMatrix;
|
|
773
|
+
export function composeToRef(scale: Vector3.ReadonlyVector3, rotation: Quaternion.ReadonlyQuaternion, translation: Vector3.ReadonlyVector3, result: MutableMatrix): void;
|
|
774
|
+
export function copy(from: ReadonlyMatrix, dest: MutableMatrix): void;
|
|
775
|
+
export function copyToArray(self: ReadonlyMatrix, arrayDest: FloatArray, offsetDest?: number): void;
|
|
776
|
+
export function create(): MutableMatrix;
|
|
777
|
+
export function decompose(self: ReadonlyMatrix, scale?: Vector3.MutableVector3, rotation?: Quaternion.MutableQuaternion, translation?: Vector3.MutableVector3): boolean;
|
|
778
|
+
export function decomposeLerp(startValue: ReadonlyMatrix, endValue: ReadonlyMatrix, gradient: number): MutableMatrix;
|
|
779
|
+
export function decomposeLerpToRef(startValue: ReadonlyMatrix, endValue: ReadonlyMatrix, gradient: number, result: MutableMatrix): void;
|
|
780
|
+
export function determinant(self: ReadonlyMatrix): number;
|
|
781
|
+
export function equals(self: ReadonlyMatrix, value: ReadonlyMatrix): boolean;
|
|
782
|
+
export function fromArray(array: Matrix4x4, offset?: number): MutableMatrix;
|
|
783
|
+
export function fromArrayToRef(array: Matrix4x4, offset: number, result: MutableMatrix): void;
|
|
784
|
+
export function fromFloatArrayToRefScaled(array: FloatArray, offset: number, scale: number, result: MutableMatrix): void;
|
|
785
|
+
export function fromQuaternionToRef(quat: Quaternion.ReadonlyQuaternion, result: MutableMatrix): void;
|
|
786
|
+
export function fromValues(initialM11: number, initialM12: number, initialM13: number, initialM14: number, initialM21: number, initialM22: number, initialM23: number, initialM24: number, initialM31: number, initialM32: number, initialM33: number, initialM34: number, initialM41: number, initialM42: number, initialM43: number, initialM44: number): MutableMatrix;
|
|
787
|
+
export function fromValuesToRef(initialM11: number, initialM12: number, initialM13: number, initialM14: number, initialM21: number, initialM22: number, initialM23: number, initialM24: number, initialM31: number, initialM32: number, initialM33: number, initialM34: number, initialM41: number, initialM42: number, initialM43: number, initialM44: number, result: MutableMatrix): void;
|
|
788
|
+
export function fromXYZAxesToRef(xaxis: Vector3.ReadonlyVector3, yaxis: Vector3.ReadonlyVector3, zaxis: Vector3.ReadonlyVector3, result: MutableMatrix): void;
|
|
789
|
+
export function GetAsMatrix2x2(matrix: ReadonlyMatrix): FloatArray;
|
|
790
|
+
export function GetAsMatrix3x3(matrix: ReadonlyMatrix): FloatArray;
|
|
791
|
+
export function getHashCode(self: ReadonlyMatrix): number;
|
|
792
|
+
export function getRotationMatrix(self: ReadonlyMatrix): MutableMatrix;
|
|
793
|
+
export function getRotationMatrixToRef(self: ReadonlyMatrix, result: MutableMatrix): void;
|
|
794
|
+
export function getTranslation(self: MutableMatrix): Vector3.MutableVector3;
|
|
795
|
+
export function getTranslationToRef(self: MutableMatrix, result: Vector3.MutableVector3): void;
|
|
796
|
+
export function Identity(): MutableMatrix;
|
|
797
|
+
export function IdentityReadonly(): ReadonlyMatrix;
|
|
798
|
+
export function IdentityToRef(result: MutableMatrix): void;
|
|
799
|
+
export function invert(source: ReadonlyMatrix): MutableMatrix;
|
|
800
|
+
export function invertToRef(source: ReadonlyMatrix, result: MutableMatrix): void;
|
|
801
|
+
export function isIdentityAs3x2Update(self: MutableMatrix): boolean;
|
|
802
|
+
export function isIdentityUpdate(self: MutableMatrix): boolean;
|
|
803
|
+
export function lerp(startValue: ReadonlyMatrix, endValue: ReadonlyMatrix, gradient: number): MutableMatrix;
|
|
804
|
+
export function lerpToRef(startValue: ReadonlyMatrix, endValue: ReadonlyMatrix, gradient: number, result: MutableMatrix): void;
|
|
805
|
+
export function LookAtLH(eye: Vector3.ReadonlyVector3, target: Vector3.ReadonlyVector3, up: Vector3.ReadonlyVector3): MutableMatrix;
|
|
806
|
+
export function lookAtLHToRef(eye: Vector3.ReadonlyVector3, target: Vector3.ReadonlyVector3, up: Vector3.ReadonlyVector3, result: MutableMatrix): void;
|
|
807
|
+
export function lookAtRH(eye: Vector3.ReadonlyVector3, target: Vector3.ReadonlyVector3, up: Vector3.ReadonlyVector3): MutableMatrix;
|
|
808
|
+
export function lookAtRHToRef(eye: Vector3.ReadonlyVector3, target: Vector3.ReadonlyVector3, up: Vector3.ReadonlyVector3, result: MutableMatrix): void;
|
|
809
|
+
export function m(self: MutableMatrix): Matrix4x4;
|
|
810
|
+
// (undocumented)
|
|
811
|
+
export type Matrix4x4 = [
|
|
812
|
+
number,
|
|
813
|
+
number,
|
|
814
|
+
number,
|
|
815
|
+
number,
|
|
816
|
+
number,
|
|
817
|
+
number,
|
|
818
|
+
number,
|
|
819
|
+
number,
|
|
820
|
+
number,
|
|
821
|
+
number,
|
|
822
|
+
number,
|
|
823
|
+
number,
|
|
824
|
+
number,
|
|
825
|
+
number,
|
|
826
|
+
number,
|
|
827
|
+
number
|
|
828
|
+
];
|
|
829
|
+
export function multiply(self: MutableMatrix, other: ReadonlyMatrix): MutableMatrix;
|
|
830
|
+
export function multiplyAtIndex(self: MutableMatrix, index: number, value: number): MutableMatrix;
|
|
831
|
+
export function multiplyToArray(self: ReadonlyMatrix, other: ReadonlyMatrix, result: FloatArray, offset: number): void;
|
|
832
|
+
export function multiplyToRef(self: ReadonlyMatrix, other: ReadonlyMatrix, result: MutableMatrix): void;
|
|
833
|
+
// (undocumented)
|
|
834
|
+
export type MutableMatrix = {
|
|
835
|
+
updateFlag: number;
|
|
836
|
+
isIdentity: boolean;
|
|
837
|
+
isIdentity3x2: boolean;
|
|
838
|
+
_isIdentityDirty: boolean;
|
|
839
|
+
_isIdentity3x2Dirty: boolean;
|
|
840
|
+
_m: Matrix4x4;
|
|
841
|
+
};
|
|
842
|
+
export function normalMatrixToRef(self: ReadonlyMatrix, ref: MutableMatrix): void;
|
|
843
|
+
export function orthoLH(width: number, height: number, znear: number, zfar: number): MutableMatrix;
|
|
844
|
+
export function orthoLHToRef(width: number, height: number, znear: number, zfar: number, result: MutableMatrix): void;
|
|
845
|
+
export function OrthoOffCenterLH(left: number, right: number, bottom: number, top: number, znear: number, zfar: number): MutableMatrix;
|
|
846
|
+
export function orthoOffCenterLHToRef(left: number, right: number, bottom: number, top: number, znear: number, zfar: number, result: MutableMatrix): void;
|
|
847
|
+
export function orthoOffCenterRH(left: number, right: number, bottom: number, top: number, znear: number, zfar: number): MutableMatrix;
|
|
848
|
+
export function orthoOffCenterRHToRef(left: number, right: number, bottom: number, top: number, znear: number, zfar: number, result: MutableMatrix): void;
|
|
849
|
+
export function perspectiveFovLH(fov: number, aspect: number, znear: number, zfar: number): MutableMatrix;
|
|
850
|
+
export function perspectiveFovLHToRef(fov: number, aspect: number, znear: number, zfar: number, result: MutableMatrix, isVerticalFovFixed?: boolean): void;
|
|
851
|
+
export function PerspectiveFovRH(fov: number, aspect: number, znear: number, zfar: number): MutableMatrix;
|
|
852
|
+
export function perspectiveFovRHToRef(fov: number, aspect: number, znear: number, zfar: number, result: MutableMatrix, isVerticalFovFixed?: boolean): void;
|
|
853
|
+
export function perspectiveFovWebVRToRef(fov: {
|
|
854
|
+
upDegrees: number;
|
|
855
|
+
downDegrees: number;
|
|
856
|
+
leftDegrees: number;
|
|
857
|
+
rightDegrees: number;
|
|
858
|
+
}, znear: number, zfar: number, result: MutableMatrix, rightHanded?: boolean): void;
|
|
859
|
+
export function perspectiveLH(width: number, height: number, znear: number, zfar: number): MutableMatrix;
|
|
860
|
+
// (undocumented)
|
|
861
|
+
export type ReadonlyMatrix = {
|
|
862
|
+
readonly updateFlag: number;
|
|
863
|
+
readonly isIdentity: boolean;
|
|
864
|
+
readonly isIdentity3x2: boolean;
|
|
865
|
+
readonly _isIdentityDirty: boolean;
|
|
866
|
+
readonly _isIdentity3x2Dirty: boolean;
|
|
867
|
+
readonly _m: Matrix4x4;
|
|
868
|
+
};
|
|
869
|
+
export function reflection(plane: Plane.ReadonlyPlane): MutableMatrix;
|
|
870
|
+
export function reflectionToRef(_plane: Plane.ReadonlyPlane, result: MutableMatrix): void;
|
|
871
|
+
export function removeRotationAndScaling(self: MutableMatrix): MutableMatrix;
|
|
872
|
+
export function reset(self: MutableMatrix): void;
|
|
873
|
+
export function rotationAxis(axis: Vector3.ReadonlyVector3, angle: number): MutableMatrix;
|
|
874
|
+
export function rotationAxisToRef(_axis: Vector3.ReadonlyVector3, angle: number, result: MutableMatrix): void;
|
|
875
|
+
export function RotationX(angle: number): MutableMatrix;
|
|
876
|
+
export function rotationXToRef(angle: number, result: MutableMatrix): void;
|
|
877
|
+
export function rotationY(angle: number): MutableMatrix;
|
|
878
|
+
export function rotationYawPitchRoll(yaw: number, pitch: number, roll: number): MutableMatrix;
|
|
879
|
+
export function rotationYawPitchRollToRef(yaw: number, pitch: number, roll: number, result: MutableMatrix): void;
|
|
880
|
+
export function rotationYToRef(angle: number, result: MutableMatrix): void;
|
|
881
|
+
export function rotationZ(angle: number): MutableMatrix;
|
|
882
|
+
export function rotationZToRef(angle: number, result: MutableMatrix): void;
|
|
883
|
+
export function scale(self: ReadonlyMatrix, scale: number): MutableMatrix;
|
|
884
|
+
export function scaleAndAddToRef(self: ReadonlyMatrix, scale: number, result: MutableMatrix): void;
|
|
885
|
+
export function scaleToRef(self: ReadonlyMatrix, scale: number, result: MutableMatrix): void;
|
|
886
|
+
export function scaling(x: number, y: number, z: number): MutableMatrix;
|
|
887
|
+
export function scalingToRef(x: number, y: number, z: number, result: MutableMatrix): void;
|
|
888
|
+
export function setRowFromFloats(self: MutableMatrix, index: number, x: number, y: number, z: number, w: number): void;
|
|
889
|
+
export function setTranslation(self: MutableMatrix, vector3: Vector3.ReadonlyVector3): void;
|
|
890
|
+
export function setTranslationFromFloats(self: MutableMatrix, x: number, y: number, z: number): void;
|
|
891
|
+
export function toArray(self: ReadonlyMatrix): Matrix4x4;
|
|
892
|
+
export function toggleModelMatrixHandInPlace(self: MutableMatrix): void;
|
|
893
|
+
export function toggleProjectionMatrixHandInPlace(self: MutableMatrix): void;
|
|
894
|
+
export function translation(x: number, y: number, z: number): MutableMatrix;
|
|
895
|
+
export function translationToRef(x: number, y: number, z: number, result: MutableMatrix): void;
|
|
896
|
+
export function transpose(matrix: ReadonlyMatrix): MutableMatrix;
|
|
897
|
+
export function transposeToRef(matrix: ReadonlyMatrix, result: MutableMatrix): void;
|
|
898
|
+
export function Zero(): MutableMatrix;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
// Warning: (ae-missing-release-tag) "MeshCollider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
902
|
+
//
|
|
903
|
+
// @public (undocumented)
|
|
904
|
+
export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
905
|
+
|
|
906
|
+
// @public (undocumented)
|
|
907
|
+
export type MeshColliderComponentDefinition = ComponentDefinition<ISchema<PBMeshCollider>, PBMeshCollider>;
|
|
908
|
+
|
|
909
|
+
// @public (undocumented)
|
|
910
|
+
export interface MeshColliderComponentDefinitionExtended extends MeshColliderComponentDefinition {
|
|
911
|
+
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
912
|
+
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
913
|
+
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
914
|
+
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
// Warning: (ae-missing-release-tag) "MeshColliderSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
918
|
+
//
|
|
919
|
+
// @public (undocumented)
|
|
920
|
+
export const MeshColliderSchema: ISchema<PBMeshCollider> & {
|
|
921
|
+
COMPONENT_ID: number;
|
|
922
|
+
};
|
|
923
|
+
|
|
924
|
+
// Warning: (ae-missing-release-tag) "MeshRenderer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
925
|
+
//
|
|
926
|
+
// @public (undocumented)
|
|
927
|
+
export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
928
|
+
|
|
929
|
+
// @public (undocumented)
|
|
930
|
+
export type MeshRendererComponentDefinition = ComponentDefinition<ISchema<PBMeshRenderer>, PBMeshRenderer>;
|
|
931
|
+
|
|
932
|
+
// @public (undocumented)
|
|
933
|
+
export interface MeshRendererComponentDefinitionExtended extends MeshRendererComponentDefinition {
|
|
934
|
+
setBox(entity: Entity, uvs?: number[]): void;
|
|
935
|
+
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
|
936
|
+
setPlane(entity: Entity, uvs?: number[]): void;
|
|
937
|
+
setSphere(entity: Entity): void;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
// Warning: (ae-missing-release-tag) "MeshRendererSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
941
|
+
//
|
|
942
|
+
// @public (undocumented)
|
|
943
|
+
export const MeshRendererSchema: ISchema<PBMeshRenderer> & {
|
|
944
|
+
COMPONENT_ID: number;
|
|
945
|
+
};
|
|
946
|
+
|
|
947
|
+
// Warning: (ae-missing-release-tag) "NftFrameType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
948
|
+
//
|
|
949
|
+
// @public (undocumented)
|
|
950
|
+
export const enum NftFrameType {
|
|
951
|
+
// (undocumented)
|
|
952
|
+
NFT_BAROQUE_ORNAMENT = 1,
|
|
953
|
+
// (undocumented)
|
|
954
|
+
NFT_BLOCKY = 5,
|
|
955
|
+
// (undocumented)
|
|
956
|
+
NFT_CANVAS = 21,
|
|
957
|
+
// (undocumented)
|
|
958
|
+
NFT_CLASSIC = 0,
|
|
959
|
+
// (undocumented)
|
|
960
|
+
NFT_DIAMOND_ORNAMENT = 2,
|
|
961
|
+
// (undocumented)
|
|
962
|
+
NFT_GOLD_CARVED = 7,
|
|
963
|
+
// (undocumented)
|
|
964
|
+
NFT_GOLD_EDGES = 6,
|
|
965
|
+
// (undocumented)
|
|
966
|
+
NFT_GOLD_ROUNDED = 9,
|
|
967
|
+
// (undocumented)
|
|
968
|
+
NFT_GOLD_WIDE = 8,
|
|
969
|
+
// (undocumented)
|
|
970
|
+
NFT_METAL_MEDIUM = 10,
|
|
971
|
+
// (undocumented)
|
|
972
|
+
NFT_METAL_ROUNDED = 13,
|
|
973
|
+
// (undocumented)
|
|
974
|
+
NFT_METAL_SLIM = 12,
|
|
975
|
+
// (undocumented)
|
|
976
|
+
NFT_METAL_WIDE = 11,
|
|
977
|
+
// (undocumented)
|
|
978
|
+
NFT_MINIMAL_BLACK = 15,
|
|
979
|
+
// (undocumented)
|
|
980
|
+
NFT_MINIMAL_GREY = 4,
|
|
981
|
+
// (undocumented)
|
|
982
|
+
NFT_MINIMAL_WHITE = 16,
|
|
983
|
+
// (undocumented)
|
|
984
|
+
NFT_MINIMAL_WIDE = 3,
|
|
985
|
+
// (undocumented)
|
|
986
|
+
NFT_NONE = 22,
|
|
987
|
+
// (undocumented)
|
|
988
|
+
NFT_PINS = 14,
|
|
989
|
+
// (undocumented)
|
|
990
|
+
NFT_TAPE = 17,
|
|
991
|
+
// (undocumented)
|
|
992
|
+
NFT_WOOD_SLIM = 18,
|
|
993
|
+
// (undocumented)
|
|
994
|
+
NFT_WOOD_TWIGS = 20,
|
|
995
|
+
// (undocumented)
|
|
996
|
+
NFT_WOOD_WIDE = 19
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
// @public (undocumented)
|
|
1000
|
+
export const NftShape: ComponentDefinition<typeof NftShapeSchema>;
|
|
1001
|
+
|
|
1002
|
+
// Warning: (ae-missing-release-tag) "NftShapeSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1003
|
+
//
|
|
1004
|
+
// @public (undocumented)
|
|
1005
|
+
export const NftShapeSchema: ISchema<PBNftShape> & {
|
|
1006
|
+
COMPONENT_ID: number;
|
|
1007
|
+
};
|
|
1008
|
+
|
|
1009
|
+
// Warning: (ae-missing-release-tag) "OnlyNonUndefinedTypes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1010
|
+
//
|
|
1011
|
+
// @public (undocumented)
|
|
1012
|
+
export type OnlyNonUndefinedTypes<T> = {
|
|
1013
|
+
[K in ExcludeUndefined<T>]: T[K];
|
|
1014
|
+
};
|
|
1015
|
+
|
|
1016
|
+
// Warning: (ae-missing-release-tag) "OnlyOptionalUndefinedTypes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1017
|
+
//
|
|
1018
|
+
// @public (undocumented)
|
|
1019
|
+
export type OnlyOptionalUndefinedTypes<T> = {
|
|
1020
|
+
[K in IncludeUndefined<T>]?: T[K];
|
|
1021
|
+
};
|
|
1022
|
+
|
|
1023
|
+
// Warning: (ae-missing-release-tag) "onUpdate" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1024
|
+
//
|
|
1025
|
+
// @public (undocumented)
|
|
1026
|
+
export function onUpdate(deltaTime: number): Promise<void>;
|
|
1027
|
+
|
|
1028
|
+
// Warning: (ae-missing-release-tag) "PBAnimationState" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1029
|
+
// Warning: (ae-missing-release-tag) "PBAnimationState" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1030
|
+
//
|
|
1031
|
+
// @public (undocumented)
|
|
1032
|
+
export interface PBAnimationState {
|
|
1033
|
+
// (undocumented)
|
|
1034
|
+
clip: string;
|
|
1035
|
+
loop?: boolean | undefined;
|
|
1036
|
+
// (undocumented)
|
|
1037
|
+
name: string;
|
|
1038
|
+
// (undocumented)
|
|
1039
|
+
playing?: boolean | undefined;
|
|
1040
|
+
// (undocumented)
|
|
1041
|
+
shouldReset?: boolean | undefined;
|
|
1042
|
+
speed?: number | undefined;
|
|
1043
|
+
weight?: number | undefined;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
// @public
|
|
1047
|
+
export const PBAnimationState: {
|
|
1048
|
+
encode(message: PBAnimationState, writer?: _m0.Writer): _m0.Writer;
|
|
1049
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBAnimationState;
|
|
1050
|
+
};
|
|
1051
|
+
|
|
1052
|
+
// Warning: (ae-missing-release-tag) "PBAnimator" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1053
|
+
// Warning: (ae-missing-release-tag) "PBAnimator" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1054
|
+
//
|
|
1055
|
+
// @public (undocumented)
|
|
1056
|
+
export interface PBAnimator {
|
|
1057
|
+
// (undocumented)
|
|
1058
|
+
states: PBAnimationState[];
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
// @public
|
|
1062
|
+
export const PBAnimator: {
|
|
1063
|
+
encode(message: PBAnimator, writer?: _m0.Writer): _m0.Writer;
|
|
1064
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBAnimator;
|
|
1065
|
+
};
|
|
1066
|
+
|
|
1067
|
+
// Warning: (ae-missing-release-tag) "PBAudioSource" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1068
|
+
// Warning: (ae-missing-release-tag) "PBAudioSource" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1069
|
+
//
|
|
1070
|
+
// @public (undocumented)
|
|
1071
|
+
export interface PBAudioSource {
|
|
1072
|
+
// (undocumented)
|
|
1073
|
+
audioClipUrl: string;
|
|
1074
|
+
// (undocumented)
|
|
1075
|
+
loop?: boolean | undefined;
|
|
1076
|
+
pitch?: number | undefined;
|
|
1077
|
+
// (undocumented)
|
|
1078
|
+
playing?: boolean | undefined;
|
|
1079
|
+
volume?: number | undefined;
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
// @public
|
|
1083
|
+
export const PBAudioSource: {
|
|
1084
|
+
encode(message: PBAudioSource, writer?: _m0.Writer): _m0.Writer;
|
|
1085
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBAudioSource;
|
|
1086
|
+
};
|
|
1087
|
+
|
|
1088
|
+
// Warning: (ae-missing-release-tag) "PBAudioStream" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1089
|
+
// Warning: (ae-missing-release-tag) "PBAudioStream" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1090
|
+
//
|
|
1091
|
+
// @public (undocumented)
|
|
1092
|
+
export interface PBAudioStream {
|
|
1093
|
+
// (undocumented)
|
|
1094
|
+
playing?: boolean | undefined;
|
|
1095
|
+
// (undocumented)
|
|
1096
|
+
url: string;
|
|
1097
|
+
volume?: number | undefined;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
// @public
|
|
1101
|
+
export const PBAudioStream: {
|
|
1102
|
+
encode(message: PBAudioStream, writer?: _m0.Writer): _m0.Writer;
|
|
1103
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBAudioStream;
|
|
1104
|
+
};
|
|
1105
|
+
|
|
1106
|
+
// Warning: (ae-missing-release-tag) "PBAvatarAttach" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1107
|
+
// Warning: (ae-missing-release-tag) "PBAvatarAttach" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1108
|
+
//
|
|
1109
|
+
// @public (undocumented)
|
|
1110
|
+
export interface PBAvatarAttach {
|
|
1111
|
+
// (undocumented)
|
|
1112
|
+
anchorPointId: AvatarAnchorPointType;
|
|
1113
|
+
// (undocumented)
|
|
1114
|
+
avatarId: string;
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
// @public
|
|
1118
|
+
export const PBAvatarAttach: {
|
|
1119
|
+
encode(message: PBAvatarAttach, writer?: _m0.Writer): _m0.Writer;
|
|
1120
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarAttach;
|
|
1121
|
+
};
|
|
1122
|
+
|
|
1123
|
+
// Warning: (ae-missing-release-tag) "PBAvatarModifierArea" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1124
|
+
// Warning: (ae-missing-release-tag) "PBAvatarModifierArea" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1125
|
+
//
|
|
1126
|
+
// @public (undocumented)
|
|
1127
|
+
export interface PBAvatarModifierArea {
|
|
1128
|
+
// (undocumented)
|
|
1129
|
+
area: PBVector3 | undefined;
|
|
1130
|
+
// (undocumented)
|
|
1131
|
+
excludeIds: string[];
|
|
1132
|
+
// (undocumented)
|
|
1133
|
+
modifiers: AvatarModifierType[];
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
// @public
|
|
1137
|
+
export const PBAvatarModifierArea: {
|
|
1138
|
+
encode(message: PBAvatarModifierArea, writer?: _m0.Writer): _m0.Writer;
|
|
1139
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarModifierArea;
|
|
1140
|
+
};
|
|
1141
|
+
|
|
1142
|
+
// Warning: (ae-missing-release-tag) "PBAvatarShape" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1143
|
+
// Warning: (ae-missing-release-tag) "PBAvatarShape" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1144
|
+
//
|
|
1145
|
+
// @public (undocumented)
|
|
1146
|
+
export interface PBAvatarShape {
|
|
1147
|
+
bodyShape?: string | undefined;
|
|
1148
|
+
emotes: string[];
|
|
1149
|
+
// (undocumented)
|
|
1150
|
+
expressionTriggerId?: string | undefined;
|
|
1151
|
+
expressionTriggerTimestamp?: number | undefined;
|
|
1152
|
+
eyeColor?: PBColor3 | undefined;
|
|
1153
|
+
hairColor?: PBColor3 | undefined;
|
|
1154
|
+
// (undocumented)
|
|
1155
|
+
id: string;
|
|
1156
|
+
name?: string | undefined;
|
|
1157
|
+
skinColor?: PBColor3 | undefined;
|
|
1158
|
+
// (undocumented)
|
|
1159
|
+
talking?: boolean | undefined;
|
|
1160
|
+
wearables: string[];
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
// @public
|
|
1164
|
+
export const PBAvatarShape: {
|
|
1165
|
+
encode(message: PBAvatarShape, writer?: _m0.Writer): _m0.Writer;
|
|
1166
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarShape;
|
|
1167
|
+
};
|
|
1168
|
+
|
|
1169
|
+
// Warning: (ae-missing-release-tag) "PBBillboard" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1170
|
+
// Warning: (ae-missing-release-tag) "PBBillboard" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1171
|
+
//
|
|
1172
|
+
// @public (undocumented)
|
|
1173
|
+
export interface PBBillboard {
|
|
1174
|
+
billboardMode?: BillboardMode | undefined;
|
|
1175
|
+
oppositeDirection?: boolean | undefined;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
// @public
|
|
1179
|
+
export const PBBillboard: {
|
|
1180
|
+
encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
|
1181
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBBillboard;
|
|
1182
|
+
};
|
|
1183
|
+
|
|
1184
|
+
// Warning: (ae-missing-release-tag) "PBCameraMode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1185
|
+
// Warning: (ae-missing-release-tag) "PBCameraMode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1186
|
+
//
|
|
1187
|
+
// @public (undocumented)
|
|
1188
|
+
export interface PBCameraMode {
|
|
1189
|
+
// (undocumented)
|
|
1190
|
+
mode: CameraType;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
// @public
|
|
1194
|
+
export const PBCameraMode: {
|
|
1195
|
+
encode(message: PBCameraMode, writer?: _m0.Writer): _m0.Writer;
|
|
1196
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraMode;
|
|
1197
|
+
};
|
|
1198
|
+
|
|
1199
|
+
// Warning: (ae-missing-release-tag) "PBCameraModeArea" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1200
|
+
// Warning: (ae-missing-release-tag) "PBCameraModeArea" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1201
|
+
//
|
|
1202
|
+
// @public (undocumented)
|
|
1203
|
+
export interface PBCameraModeArea {
|
|
1204
|
+
// (undocumented)
|
|
1205
|
+
area: PBVector3 | undefined;
|
|
1206
|
+
// (undocumented)
|
|
1207
|
+
mode: CameraType;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
// @public
|
|
1211
|
+
export const PBCameraModeArea: {
|
|
1212
|
+
encode(message: PBCameraModeArea, writer?: _m0.Writer): _m0.Writer;
|
|
1213
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraModeArea;
|
|
1214
|
+
};
|
|
1215
|
+
|
|
1216
|
+
// Warning: (ae-missing-release-tag) "Color3" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1217
|
+
// Warning: (ae-missing-release-tag) "Color3" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1218
|
+
//
|
|
1219
|
+
// @public (undocumented)
|
|
1220
|
+
export interface PBColor3 {
|
|
1221
|
+
// (undocumented)
|
|
1222
|
+
b: number;
|
|
1223
|
+
// (undocumented)
|
|
1224
|
+
g: number;
|
|
1225
|
+
// (undocumented)
|
|
1226
|
+
r: number;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
// @public
|
|
1230
|
+
export const PBColor3: {
|
|
1231
|
+
encode(message: PBColor3, writer?: _m0.Writer): _m0.Writer;
|
|
1232
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBColor3;
|
|
1233
|
+
};
|
|
1234
|
+
|
|
1235
|
+
// Warning: (ae-missing-release-tag) "Color4" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1236
|
+
// Warning: (ae-missing-release-tag) "Color4" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1237
|
+
//
|
|
1238
|
+
// @public (undocumented)
|
|
1239
|
+
export interface PBColor4 {
|
|
1240
|
+
// (undocumented)
|
|
1241
|
+
a: number;
|
|
1242
|
+
// (undocumented)
|
|
1243
|
+
b: number;
|
|
1244
|
+
// (undocumented)
|
|
1245
|
+
g: number;
|
|
1246
|
+
// (undocumented)
|
|
1247
|
+
r: number;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
// @public
|
|
1251
|
+
export const PBColor4: {
|
|
1252
|
+
encode(message: PBColor4, writer?: _m0.Writer): _m0.Writer;
|
|
1253
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBColor4;
|
|
1254
|
+
};
|
|
1255
|
+
|
|
1256
|
+
// Warning: (ae-missing-release-tag) "PBGltfContainer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1257
|
+
// Warning: (ae-missing-release-tag) "PBGltfContainer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1258
|
+
//
|
|
1259
|
+
// @public (undocumented)
|
|
1260
|
+
export interface PBGltfContainer {
|
|
1261
|
+
src: string;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
// @public
|
|
1265
|
+
export const PBGltfContainer: {
|
|
1266
|
+
encode(message: PBGltfContainer, writer?: _m0.Writer): _m0.Writer;
|
|
1267
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfContainer;
|
|
1268
|
+
};
|
|
1269
|
+
|
|
1270
|
+
// Warning: (ae-missing-release-tag) "PBMaterial" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1271
|
+
// Warning: (ae-missing-release-tag) "PBMaterial" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1272
|
+
//
|
|
1273
|
+
// @public (undocumented)
|
|
1274
|
+
export interface PBMaterial {
|
|
1275
|
+
// (undocumented)
|
|
1276
|
+
material?: {
|
|
1277
|
+
$case: 'unlit';
|
|
1278
|
+
unlit: PBMaterial_UnlitMaterial;
|
|
1279
|
+
} | {
|
|
1280
|
+
$case: 'pbr';
|
|
1281
|
+
pbr: PBMaterial_PbrMaterial;
|
|
1282
|
+
};
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
// @public
|
|
1286
|
+
export const PBMaterial: {
|
|
1287
|
+
encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
1288
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial;
|
|
1289
|
+
};
|
|
1290
|
+
|
|
1291
|
+
// Warning: (ae-missing-release-tag) "PBMaterial_PbrMaterial" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1292
|
+
// Warning: (ae-missing-release-tag) "PBMaterial_PbrMaterial" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1293
|
+
//
|
|
1294
|
+
// @public (undocumented)
|
|
1295
|
+
export interface PBMaterial_PbrMaterial {
|
|
1296
|
+
albedoColor?: PBColor3 | undefined;
|
|
1297
|
+
alphaTest?: number | undefined;
|
|
1298
|
+
alphaTexture?: TextureUnion | undefined;
|
|
1299
|
+
bumpTexture?: TextureUnion | undefined;
|
|
1300
|
+
castShadows?: boolean | undefined;
|
|
1301
|
+
directIntensity?: number | undefined;
|
|
1302
|
+
emissiveColor?: PBColor3 | undefined;
|
|
1303
|
+
emissiveIntensity?: number | undefined;
|
|
1304
|
+
emissiveTexture?: TextureUnion | undefined;
|
|
1305
|
+
glossiness?: number | undefined;
|
|
1306
|
+
metallic?: number | undefined;
|
|
1307
|
+
reflectivityColor?: PBColor3 | undefined;
|
|
1308
|
+
roughness?: number | undefined;
|
|
1309
|
+
specularIntensity?: number | undefined;
|
|
1310
|
+
texture?: TextureUnion | undefined;
|
|
1311
|
+
transparencyMode?: MaterialTransparencyMode | undefined;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
// @public
|
|
1315
|
+
export const PBMaterial_PbrMaterial: {
|
|
1316
|
+
encode(message: PBMaterial_PbrMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
1317
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_PbrMaterial;
|
|
1318
|
+
};
|
|
1319
|
+
|
|
1320
|
+
// Warning: (ae-missing-release-tag) "PBMaterial_UnlitMaterial" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1321
|
+
// Warning: (ae-missing-release-tag) "PBMaterial_UnlitMaterial" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1322
|
+
//
|
|
1323
|
+
// @public (undocumented)
|
|
1324
|
+
export interface PBMaterial_UnlitMaterial {
|
|
1325
|
+
alphaTest?: number | undefined;
|
|
1326
|
+
castShadows?: boolean | undefined;
|
|
1327
|
+
texture?: TextureUnion | undefined;
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
// @public
|
|
1331
|
+
export const PBMaterial_UnlitMaterial: {
|
|
1332
|
+
encode(message: PBMaterial_UnlitMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
1333
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_UnlitMaterial;
|
|
1334
|
+
};
|
|
1335
|
+
|
|
1336
|
+
// Warning: (ae-missing-release-tag) "PBMeshCollider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1337
|
+
// Warning: (ae-missing-release-tag) "PBMeshCollider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1338
|
+
//
|
|
1339
|
+
// @public (undocumented)
|
|
1340
|
+
export interface PBMeshCollider {
|
|
1341
|
+
collisionMask?: number | undefined;
|
|
1342
|
+
// (undocumented)
|
|
1343
|
+
mesh?: {
|
|
1344
|
+
$case: 'box';
|
|
1345
|
+
box: PBMeshCollider_BoxMesh;
|
|
1346
|
+
} | {
|
|
1347
|
+
$case: 'sphere';
|
|
1348
|
+
sphere: PBMeshCollider_SphereMesh;
|
|
1349
|
+
} | {
|
|
1350
|
+
$case: 'cylinder';
|
|
1351
|
+
cylinder: PBMeshCollider_CylinderMesh;
|
|
1352
|
+
} | {
|
|
1353
|
+
$case: 'plane';
|
|
1354
|
+
plane: PBMeshCollider_PlaneMesh;
|
|
1355
|
+
};
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
// @public
|
|
1359
|
+
export const PBMeshCollider: {
|
|
1360
|
+
encode(message: PBMeshCollider, writer?: _m0.Writer): _m0.Writer;
|
|
1361
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider;
|
|
1362
|
+
};
|
|
1363
|
+
|
|
1364
|
+
// Warning: (ae-missing-release-tag) "PBMeshCollider_BoxMesh" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1365
|
+
// Warning: (ae-missing-release-tag) "PBMeshCollider_BoxMesh" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1366
|
+
//
|
|
1367
|
+
// @public (undocumented)
|
|
1368
|
+
export interface PBMeshCollider_BoxMesh {
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
// @public
|
|
1372
|
+
export const PBMeshCollider_BoxMesh: {
|
|
1373
|
+
encode(_: PBMeshCollider_BoxMesh, writer?: _m0.Writer): _m0.Writer;
|
|
1374
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_BoxMesh;
|
|
1375
|
+
};
|
|
1376
|
+
|
|
1377
|
+
// Warning: (ae-missing-release-tag) "PBMeshCollider_CylinderMesh" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1378
|
+
// Warning: (ae-missing-release-tag) "PBMeshCollider_CylinderMesh" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1379
|
+
//
|
|
1380
|
+
// @public (undocumented)
|
|
1381
|
+
export interface PBMeshCollider_CylinderMesh {
|
|
1382
|
+
radiusBottom?: number | undefined;
|
|
1383
|
+
radiusTop?: number | undefined;
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
// @public
|
|
1387
|
+
export const PBMeshCollider_CylinderMesh: {
|
|
1388
|
+
encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
1389
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_CylinderMesh;
|
|
1390
|
+
};
|
|
1391
|
+
|
|
1392
|
+
// Warning: (ae-missing-release-tag) "PBMeshCollider_PlaneMesh" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1393
|
+
// Warning: (ae-missing-release-tag) "PBMeshCollider_PlaneMesh" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1394
|
+
//
|
|
1395
|
+
// @public (undocumented)
|
|
1396
|
+
export interface PBMeshCollider_PlaneMesh {
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
// @public
|
|
1400
|
+
export const PBMeshCollider_PlaneMesh: {
|
|
1401
|
+
encode(_: PBMeshCollider_PlaneMesh, writer?: _m0.Writer): _m0.Writer;
|
|
1402
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_PlaneMesh;
|
|
1403
|
+
};
|
|
1404
|
+
|
|
1405
|
+
// Warning: (ae-missing-release-tag) "PBMeshCollider_SphereMesh" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1406
|
+
// Warning: (ae-missing-release-tag) "PBMeshCollider_SphereMesh" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1407
|
+
//
|
|
1408
|
+
// @public (undocumented)
|
|
1409
|
+
export interface PBMeshCollider_SphereMesh {
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
// @public
|
|
1413
|
+
export const PBMeshCollider_SphereMesh: {
|
|
1414
|
+
encode(_: PBMeshCollider_SphereMesh, writer?: _m0.Writer): _m0.Writer;
|
|
1415
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_SphereMesh;
|
|
1416
|
+
};
|
|
1417
|
+
|
|
1418
|
+
// Warning: (ae-missing-release-tag) "PBMeshRenderer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1419
|
+
// Warning: (ae-missing-release-tag) "PBMeshRenderer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1420
|
+
//
|
|
1421
|
+
// @public (undocumented)
|
|
1422
|
+
export interface PBMeshRenderer {
|
|
1423
|
+
// (undocumented)
|
|
1424
|
+
mesh?: {
|
|
1425
|
+
$case: 'box';
|
|
1426
|
+
box: PBMeshRenderer_BoxMesh;
|
|
1427
|
+
} | {
|
|
1428
|
+
$case: 'sphere';
|
|
1429
|
+
sphere: PBMeshRenderer_SphereMesh;
|
|
1430
|
+
} | {
|
|
1431
|
+
$case: 'cylinder';
|
|
1432
|
+
cylinder: PBMeshRenderer_CylinderMesh;
|
|
1433
|
+
} | {
|
|
1434
|
+
$case: 'plane';
|
|
1435
|
+
plane: PBMeshRenderer_PlaneMesh;
|
|
1436
|
+
};
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
// @public
|
|
1440
|
+
export const PBMeshRenderer: {
|
|
1441
|
+
encode(message: PBMeshRenderer, writer?: _m0.Writer): _m0.Writer;
|
|
1442
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer;
|
|
1443
|
+
};
|
|
1444
|
+
|
|
1445
|
+
// Warning: (ae-missing-release-tag) "PBMeshRenderer_BoxMesh" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1446
|
+
// Warning: (ae-missing-release-tag) "PBMeshRenderer_BoxMesh" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1447
|
+
//
|
|
1448
|
+
// @public (undocumented)
|
|
1449
|
+
export interface PBMeshRenderer_BoxMesh {
|
|
1450
|
+
// (undocumented)
|
|
1451
|
+
uvs: number[];
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
// @public
|
|
1455
|
+
export const PBMeshRenderer_BoxMesh: {
|
|
1456
|
+
encode(message: PBMeshRenderer_BoxMesh, writer?: _m0.Writer): _m0.Writer;
|
|
1457
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_BoxMesh;
|
|
1458
|
+
};
|
|
1459
|
+
|
|
1460
|
+
// Warning: (ae-missing-release-tag) "PBMeshRenderer_CylinderMesh" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1461
|
+
// Warning: (ae-missing-release-tag) "PBMeshRenderer_CylinderMesh" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1462
|
+
//
|
|
1463
|
+
// @public (undocumented)
|
|
1464
|
+
export interface PBMeshRenderer_CylinderMesh {
|
|
1465
|
+
radiusBottom?: number | undefined;
|
|
1466
|
+
radiusTop?: number | undefined;
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
// @public
|
|
1470
|
+
export const PBMeshRenderer_CylinderMesh: {
|
|
1471
|
+
encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
1472
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_CylinderMesh;
|
|
1473
|
+
};
|
|
1474
|
+
|
|
1475
|
+
// Warning: (ae-missing-release-tag) "PBMeshRenderer_PlaneMesh" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1476
|
+
// Warning: (ae-missing-release-tag) "PBMeshRenderer_PlaneMesh" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1477
|
+
//
|
|
1478
|
+
// @public (undocumented)
|
|
1479
|
+
export interface PBMeshRenderer_PlaneMesh {
|
|
1480
|
+
// (undocumented)
|
|
1481
|
+
uvs: number[];
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
// @public
|
|
1485
|
+
export const PBMeshRenderer_PlaneMesh: {
|
|
1486
|
+
encode(message: PBMeshRenderer_PlaneMesh, writer?: _m0.Writer): _m0.Writer;
|
|
1487
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_PlaneMesh;
|
|
1488
|
+
};
|
|
1489
|
+
|
|
1490
|
+
// Warning: (ae-missing-release-tag) "PBMeshRenderer_SphereMesh" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1491
|
+
// Warning: (ae-missing-release-tag) "PBMeshRenderer_SphereMesh" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1492
|
+
//
|
|
1493
|
+
// @public (undocumented)
|
|
1494
|
+
export interface PBMeshRenderer_SphereMesh {
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
// @public
|
|
1498
|
+
export const PBMeshRenderer_SphereMesh: {
|
|
1499
|
+
encode(_: PBMeshRenderer_SphereMesh, writer?: _m0.Writer): _m0.Writer;
|
|
1500
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_SphereMesh;
|
|
1501
|
+
};
|
|
1502
|
+
|
|
1503
|
+
// Warning: (ae-missing-release-tag) "PBNftShape" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1504
|
+
// Warning: (ae-missing-release-tag) "PBNftShape" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1505
|
+
//
|
|
1506
|
+
// @public (undocumented)
|
|
1507
|
+
export interface PBNftShape {
|
|
1508
|
+
color?: PBColor3 | undefined;
|
|
1509
|
+
// (undocumented)
|
|
1510
|
+
src: string;
|
|
1511
|
+
style?: NftFrameType | undefined;
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
// @public
|
|
1515
|
+
export const PBNftShape: {
|
|
1516
|
+
encode(message: PBNftShape, writer?: _m0.Writer): _m0.Writer;
|
|
1517
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBNftShape;
|
|
1518
|
+
};
|
|
1519
|
+
|
|
1520
|
+
// Warning: (ae-missing-release-tag) "PBPointerEventsResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1521
|
+
// Warning: (ae-missing-release-tag) "PBPointerEventsResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1522
|
+
//
|
|
1523
|
+
// @public
|
|
1524
|
+
export interface PBPointerEventsResult {
|
|
1525
|
+
commands: PBPointerEventsResult_PointerCommand[];
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
// @public
|
|
1529
|
+
export const PBPointerEventsResult: {
|
|
1530
|
+
encode(message: PBPointerEventsResult, writer?: _m0.Writer): _m0.Writer;
|
|
1531
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBPointerEventsResult;
|
|
1532
|
+
};
|
|
1533
|
+
|
|
1534
|
+
// Warning: (ae-missing-release-tag) "PBPointerEventsResult_PointerCommand" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1535
|
+
// Warning: (ae-missing-release-tag) "PBPointerEventsResult_PointerCommand" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1536
|
+
//
|
|
1537
|
+
// @public
|
|
1538
|
+
export interface PBPointerEventsResult_PointerCommand {
|
|
1539
|
+
analog?: number | undefined;
|
|
1540
|
+
button: InputAction;
|
|
1541
|
+
// (undocumented)
|
|
1542
|
+
hit: RaycastHit | undefined;
|
|
1543
|
+
// (undocumented)
|
|
1544
|
+
state: PointerEventType;
|
|
1545
|
+
timestamp: number;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
// @public
|
|
1549
|
+
export const PBPointerEventsResult_PointerCommand: {
|
|
1550
|
+
encode(message: PBPointerEventsResult_PointerCommand, writer?: _m0.Writer): _m0.Writer;
|
|
1551
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBPointerEventsResult_PointerCommand;
|
|
1552
|
+
};
|
|
1553
|
+
|
|
1554
|
+
// Warning: (ae-missing-release-tag) "PBPointerHoverFeedback" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1555
|
+
// Warning: (ae-missing-release-tag) "PBPointerHoverFeedback" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1556
|
+
//
|
|
1557
|
+
// @public (undocumented)
|
|
1558
|
+
export interface PBPointerHoverFeedback {
|
|
1559
|
+
// (undocumented)
|
|
1560
|
+
pointerEvents: PBPointerHoverFeedback_Entry[];
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
// @public
|
|
1564
|
+
export const PBPointerHoverFeedback: {
|
|
1565
|
+
encode(message: PBPointerHoverFeedback, writer?: _m0.Writer): _m0.Writer;
|
|
1566
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBPointerHoverFeedback;
|
|
1567
|
+
};
|
|
1568
|
+
|
|
1569
|
+
// Warning: (ae-missing-release-tag) "PBPointerHoverFeedback_Entry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1570
|
+
// Warning: (ae-missing-release-tag) "PBPointerHoverFeedback_Entry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1571
|
+
//
|
|
1572
|
+
// @public (undocumented)
|
|
1573
|
+
export interface PBPointerHoverFeedback_Entry {
|
|
1574
|
+
// (undocumented)
|
|
1575
|
+
eventInfo: PBPointerHoverFeedback_Info | undefined;
|
|
1576
|
+
// (undocumented)
|
|
1577
|
+
eventType: PointerEventType;
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
// @public
|
|
1581
|
+
export const PBPointerHoverFeedback_Entry: {
|
|
1582
|
+
encode(message: PBPointerHoverFeedback_Entry, writer?: _m0.Writer): _m0.Writer;
|
|
1583
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBPointerHoverFeedback_Entry;
|
|
1584
|
+
};
|
|
1585
|
+
|
|
1586
|
+
// Warning: (ae-missing-release-tag) "PBPointerHoverFeedback_Info" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1587
|
+
// Warning: (ae-missing-release-tag) "PBPointerHoverFeedback_Info" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1588
|
+
//
|
|
1589
|
+
// @public (undocumented)
|
|
1590
|
+
export interface PBPointerHoverFeedback_Info {
|
|
1591
|
+
button?: InputAction | undefined;
|
|
1592
|
+
hoverText?: string | undefined;
|
|
1593
|
+
maxDistance?: number | undefined;
|
|
1594
|
+
showFeedback?: boolean | undefined;
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
// @public
|
|
1598
|
+
export const PBPointerHoverFeedback_Info: {
|
|
1599
|
+
encode(message: PBPointerHoverFeedback_Info, writer?: _m0.Writer): _m0.Writer;
|
|
1600
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBPointerHoverFeedback_Info;
|
|
1601
|
+
};
|
|
1602
|
+
|
|
1603
|
+
// Warning: (ae-missing-release-tag) "PBPointerLock" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1604
|
+
// Warning: (ae-missing-release-tag) "PBPointerLock" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1605
|
+
//
|
|
1606
|
+
// @public (undocumented)
|
|
1607
|
+
export interface PBPointerLock {
|
|
1608
|
+
// (undocumented)
|
|
1609
|
+
isPointerLocked: boolean;
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
// @public
|
|
1613
|
+
export const PBPointerLock: {
|
|
1614
|
+
encode(message: PBPointerLock, writer?: _m0.Writer): _m0.Writer;
|
|
1615
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBPointerLock;
|
|
1616
|
+
};
|
|
1617
|
+
|
|
1618
|
+
// Warning: (ae-missing-release-tag) "Position" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1619
|
+
// Warning: (ae-missing-release-tag) "Position" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1620
|
+
//
|
|
1621
|
+
// @public (undocumented)
|
|
1622
|
+
export interface PBPosition {
|
|
1623
|
+
// (undocumented)
|
|
1624
|
+
x: number;
|
|
1625
|
+
// (undocumented)
|
|
1626
|
+
y: number;
|
|
1627
|
+
// (undocumented)
|
|
1628
|
+
z: number;
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
// @public
|
|
1632
|
+
export const PBPosition: {
|
|
1633
|
+
encode(message: PBPosition, writer?: _m0.Writer): _m0.Writer;
|
|
1634
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBPosition;
|
|
1635
|
+
};
|
|
1636
|
+
|
|
1637
|
+
// Warning: (ae-missing-release-tag) "PBRaycast" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1638
|
+
// Warning: (ae-missing-release-tag) "PBRaycast" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1639
|
+
//
|
|
1640
|
+
// @public (undocumented)
|
|
1641
|
+
export interface PBRaycast {
|
|
1642
|
+
// (undocumented)
|
|
1643
|
+
direction: PBVector3 | undefined;
|
|
1644
|
+
// (undocumented)
|
|
1645
|
+
maxDistance: number;
|
|
1646
|
+
// (undocumented)
|
|
1647
|
+
origin: PBVector3 | undefined;
|
|
1648
|
+
// (undocumented)
|
|
1649
|
+
queryType: RaycastQueryType;
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
// @public
|
|
1653
|
+
export const PBRaycast: {
|
|
1654
|
+
encode(message: PBRaycast, writer?: _m0.Writer): _m0.Writer;
|
|
1655
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBRaycast;
|
|
1656
|
+
};
|
|
1657
|
+
|
|
1658
|
+
// Warning: (ae-missing-release-tag) "PBRaycastResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1659
|
+
// Warning: (ae-missing-release-tag) "PBRaycastResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1660
|
+
//
|
|
1661
|
+
// @public (undocumented)
|
|
1662
|
+
export interface PBRaycastResult {
|
|
1663
|
+
// (undocumented)
|
|
1664
|
+
direction: PBVector3 | undefined;
|
|
1665
|
+
// (undocumented)
|
|
1666
|
+
hits: RaycastHit[];
|
|
1667
|
+
// (undocumented)
|
|
1668
|
+
origin: PBVector3 | undefined;
|
|
1669
|
+
// (undocumented)
|
|
1670
|
+
timestamp: number;
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
// @public
|
|
1674
|
+
export const PBRaycastResult: {
|
|
1675
|
+
encode(message: PBRaycastResult, writer?: _m0.Writer): _m0.Writer;
|
|
1676
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBRaycastResult;
|
|
1677
|
+
};
|
|
1678
|
+
|
|
1679
|
+
// Warning: (ae-missing-release-tag) "PBTextShape" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1680
|
+
// Warning: (ae-missing-release-tag) "PBTextShape" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1681
|
+
//
|
|
1682
|
+
// @public (undocumented)
|
|
1683
|
+
export interface PBTextShape {
|
|
1684
|
+
font?: Font | undefined;
|
|
1685
|
+
// (undocumented)
|
|
1686
|
+
fontAutoSize?: boolean | undefined;
|
|
1687
|
+
fontSize?: number | undefined;
|
|
1688
|
+
height?: number | undefined;
|
|
1689
|
+
// (undocumented)
|
|
1690
|
+
lineCount?: number | undefined;
|
|
1691
|
+
// (undocumented)
|
|
1692
|
+
lineSpacing?: number | undefined;
|
|
1693
|
+
outlineColor?: PBColor3 | undefined;
|
|
1694
|
+
// (undocumented)
|
|
1695
|
+
outlineWidth?: number | undefined;
|
|
1696
|
+
// (undocumented)
|
|
1697
|
+
paddingBottom?: number | undefined;
|
|
1698
|
+
// (undocumented)
|
|
1699
|
+
paddingLeft?: number | undefined;
|
|
1700
|
+
// (undocumented)
|
|
1701
|
+
paddingRight?: number | undefined;
|
|
1702
|
+
// (undocumented)
|
|
1703
|
+
paddingTop?: number | undefined;
|
|
1704
|
+
// (undocumented)
|
|
1705
|
+
shadowBlur?: number | undefined;
|
|
1706
|
+
shadowColor?: PBColor3 | undefined;
|
|
1707
|
+
// (undocumented)
|
|
1708
|
+
shadowOffsetX?: number | undefined;
|
|
1709
|
+
// (undocumented)
|
|
1710
|
+
shadowOffsetY?: number | undefined;
|
|
1711
|
+
// (undocumented)
|
|
1712
|
+
text: string;
|
|
1713
|
+
textAlign?: TextAlignMode | undefined;
|
|
1714
|
+
textColor?: PBColor4 | undefined;
|
|
1715
|
+
// (undocumented)
|
|
1716
|
+
textWrapping?: boolean | undefined;
|
|
1717
|
+
width?: number | undefined;
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
// @public
|
|
1721
|
+
export const PBTextShape: {
|
|
1722
|
+
encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
|
1723
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBTextShape;
|
|
1724
|
+
};
|
|
1725
|
+
|
|
1726
|
+
// Warning: (ae-missing-release-tag) "PBUiBackground" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1727
|
+
// Warning: (ae-missing-release-tag) "PBUiBackground" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1728
|
+
//
|
|
1729
|
+
// @public (undocumented)
|
|
1730
|
+
export interface PBUiBackground {
|
|
1731
|
+
backgroundColor?: PBColor4 | undefined;
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
// @public
|
|
1735
|
+
export const PBUiBackground: {
|
|
1736
|
+
encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
|
1737
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
|
|
1738
|
+
};
|
|
1739
|
+
|
|
1740
|
+
// Warning: (ae-missing-release-tag) "PBUiText" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1741
|
+
// Warning: (ae-missing-release-tag) "PBUiText" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1742
|
+
//
|
|
1743
|
+
// @public (undocumented)
|
|
1744
|
+
export interface PBUiText {
|
|
1745
|
+
color?: PBColor4 | undefined;
|
|
1746
|
+
font?: Font | undefined;
|
|
1747
|
+
fontSize?: number | undefined;
|
|
1748
|
+
textAlign?: TextAlignMode | undefined;
|
|
1749
|
+
// (undocumented)
|
|
1750
|
+
value: string;
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
// @public
|
|
1754
|
+
export const PBUiText: {
|
|
1755
|
+
encode(message: PBUiText, writer?: _m0.Writer): _m0.Writer;
|
|
1756
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBUiText;
|
|
1757
|
+
};
|
|
1758
|
+
|
|
1759
|
+
// Warning: (ae-missing-release-tag) "PBUiTransform" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1760
|
+
// Warning: (ae-missing-release-tag) "PBUiTransform" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1761
|
+
//
|
|
1762
|
+
// @public (undocumented)
|
|
1763
|
+
export interface PBUiTransform {
|
|
1764
|
+
alignContent?: YGAlign | undefined;
|
|
1765
|
+
alignItems?: YGAlign | undefined;
|
|
1766
|
+
alignSelf: YGAlign;
|
|
1767
|
+
display: YGDisplay;
|
|
1768
|
+
// (undocumented)
|
|
1769
|
+
flexBasis: number;
|
|
1770
|
+
flexBasisUnit: YGUnit;
|
|
1771
|
+
flexDirection: YGFlexDirection;
|
|
1772
|
+
// (undocumented)
|
|
1773
|
+
flexGrow: number;
|
|
1774
|
+
flexShrink?: number | undefined;
|
|
1775
|
+
flexWrap?: YGWrap | undefined;
|
|
1776
|
+
// (undocumented)
|
|
1777
|
+
height: number;
|
|
1778
|
+
heightUnit: YGUnit;
|
|
1779
|
+
justifyContent: YGJustify;
|
|
1780
|
+
// (undocumented)
|
|
1781
|
+
marginBottom: number;
|
|
1782
|
+
marginBottomUnit: YGUnit;
|
|
1783
|
+
// (undocumented)
|
|
1784
|
+
marginLeft: number;
|
|
1785
|
+
marginLeftUnit: YGUnit;
|
|
1786
|
+
// (undocumented)
|
|
1787
|
+
marginRight: number;
|
|
1788
|
+
marginRightUnit: YGUnit;
|
|
1789
|
+
// (undocumented)
|
|
1790
|
+
marginTop: number;
|
|
1791
|
+
marginTopUnit: YGUnit;
|
|
1792
|
+
// (undocumented)
|
|
1793
|
+
maxHeight: number;
|
|
1794
|
+
maxHeightUnit: YGUnit;
|
|
1795
|
+
// (undocumented)
|
|
1796
|
+
maxWidth: number;
|
|
1797
|
+
maxWidthUnit: YGUnit;
|
|
1798
|
+
// (undocumented)
|
|
1799
|
+
minHeight: number;
|
|
1800
|
+
minHeightUnit: YGUnit;
|
|
1801
|
+
// (undocumented)
|
|
1802
|
+
minWidth: number;
|
|
1803
|
+
minWidthUnit: YGUnit;
|
|
1804
|
+
overflow: YGOverflow;
|
|
1805
|
+
// (undocumented)
|
|
1806
|
+
paddingBottom: number;
|
|
1807
|
+
paddingBottomUnit: YGUnit;
|
|
1808
|
+
// (undocumented)
|
|
1809
|
+
paddingLeft: number;
|
|
1810
|
+
paddingLeftUnit: YGUnit;
|
|
1811
|
+
// (undocumented)
|
|
1812
|
+
paddingRight: number;
|
|
1813
|
+
paddingRightUnit: YGUnit;
|
|
1814
|
+
// (undocumented)
|
|
1815
|
+
paddingTop: number;
|
|
1816
|
+
paddingTopUnit: YGUnit;
|
|
1817
|
+
// (undocumented)
|
|
1818
|
+
parent: number;
|
|
1819
|
+
// (undocumented)
|
|
1820
|
+
positionBottom: number;
|
|
1821
|
+
positionBottomUnit: YGUnit;
|
|
1822
|
+
// (undocumented)
|
|
1823
|
+
positionLeft: number;
|
|
1824
|
+
positionLeftUnit: YGUnit;
|
|
1825
|
+
// (undocumented)
|
|
1826
|
+
positionRight: number;
|
|
1827
|
+
positionRightUnit: YGUnit;
|
|
1828
|
+
// (undocumented)
|
|
1829
|
+
positionTop: number;
|
|
1830
|
+
positionTopUnit: YGUnit;
|
|
1831
|
+
positionType: YGPositionType;
|
|
1832
|
+
// (undocumented)
|
|
1833
|
+
rightOf: number;
|
|
1834
|
+
// (undocumented)
|
|
1835
|
+
width: number;
|
|
1836
|
+
widthUnit: YGUnit;
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
// @public
|
|
1840
|
+
export const PBUiTransform: {
|
|
1841
|
+
encode(message: PBUiTransform, writer?: _m0.Writer): _m0.Writer;
|
|
1842
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBUiTransform;
|
|
1843
|
+
};
|
|
1844
|
+
|
|
1845
|
+
// Warning: (ae-missing-release-tag) "Vector2" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1846
|
+
// Warning: (ae-missing-release-tag) "Vector2" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1847
|
+
//
|
|
1848
|
+
// @public (undocumented)
|
|
1849
|
+
export interface PBVector2 {
|
|
1850
|
+
// (undocumented)
|
|
1851
|
+
x: number;
|
|
1852
|
+
// (undocumented)
|
|
1853
|
+
y: number;
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
// @public
|
|
1857
|
+
export const PBVector2: {
|
|
1858
|
+
encode(message: PBVector2, writer?: _m0.Writer): _m0.Writer;
|
|
1859
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBVector2;
|
|
1860
|
+
};
|
|
1861
|
+
|
|
1862
|
+
// Warning: (ae-missing-release-tag) "Vector3" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1863
|
+
// Warning: (ae-missing-release-tag) "Vector3" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1864
|
+
//
|
|
1865
|
+
// @public (undocumented)
|
|
1866
|
+
export interface PBVector3 {
|
|
1867
|
+
// (undocumented)
|
|
1868
|
+
x: number;
|
|
1869
|
+
// (undocumented)
|
|
1870
|
+
y: number;
|
|
1871
|
+
// (undocumented)
|
|
1872
|
+
z: number;
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
// @public
|
|
1876
|
+
export const PBVector3: {
|
|
1877
|
+
encode(message: PBVector3, writer?: _m0.Writer): _m0.Writer;
|
|
1878
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBVector3;
|
|
1879
|
+
};
|
|
1880
|
+
|
|
1881
|
+
// Warning: (ae-missing-release-tag) "PBVisibilityComponent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1882
|
+
// Warning: (ae-missing-release-tag) "PBVisibilityComponent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1883
|
+
//
|
|
1884
|
+
// @public (undocumented)
|
|
1885
|
+
export interface PBVisibilityComponent {
|
|
1886
|
+
visible?: boolean | undefined;
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
// @public
|
|
1890
|
+
export const PBVisibilityComponent: {
|
|
1891
|
+
encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
|
1892
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBVisibilityComponent;
|
|
1893
|
+
};
|
|
1894
|
+
|
|
1895
|
+
// @public
|
|
1896
|
+
export namespace Plane {
|
|
1897
|
+
// (undocumented)
|
|
1898
|
+
export function asArray(plane: ReadonlyPlane): number[];
|
|
1899
|
+
// (undocumented)
|
|
1900
|
+
export function clone(plane: ReadonlyPlane): MutablePlane;
|
|
1901
|
+
export function copyFromPoints(point1: Vector3.ReadonlyVector3, point2: Vector3.ReadonlyVector3, point3: Vector3.ReadonlyVector3): MutablePlane;
|
|
1902
|
+
export function create(a: number, b: number, c: number, d: number): {
|
|
1903
|
+
normal: Vector3.MutableVector3;
|
|
1904
|
+
d: number;
|
|
1905
|
+
};
|
|
1906
|
+
export function dotCoordinate(plane: ReadonlyPlane, point: Vector3.ReadonlyVector3): number;
|
|
1907
|
+
export function fromArray(array: number[]): MutablePlane;
|
|
1908
|
+
export function fromPoints(_point1: Vector3.ReadonlyVector3, _point2: Vector3.ReadonlyVector3, _point3: Vector3.ReadonlyVector3): MutablePlane;
|
|
1909
|
+
// (undocumented)
|
|
1910
|
+
export function getHashCode(_plane: ReadonlyPlane): number;
|
|
1911
|
+
export function isFrontFacingTo(plane: ReadonlyPlane, direction: Vector3.ReadonlyVector3, epsilon: number): boolean;
|
|
1912
|
+
// (undocumented)
|
|
1913
|
+
export type MutablePlane = {
|
|
1914
|
+
normal: Vector3.MutableVector3;
|
|
1915
|
+
d: number;
|
|
1916
|
+
};
|
|
1917
|
+
export function normalize(plane: ReadonlyPlane): MutablePlane;
|
|
1918
|
+
// (undocumented)
|
|
1919
|
+
export type ReadonlyPlane = {
|
|
1920
|
+
normal: Vector3.ReadonlyVector3;
|
|
1921
|
+
d: number;
|
|
1922
|
+
};
|
|
1923
|
+
export function romPositionAndNormal(origin: Vector3.ReadonlyVector3, normal: Vector3.ReadonlyVector3): MutablePlane;
|
|
1924
|
+
export function signedDistanceTo(plane: ReadonlyPlane, point: Vector3.ReadonlyVector3): number;
|
|
1925
|
+
export function signedDistanceToPlaneFromPositionAndNormal(origin: Vector3.ReadonlyVector3, normal: Vector3.ReadonlyVector3, point: Vector3.ReadonlyVector3): number;
|
|
1926
|
+
export function transform(plane: ReadonlyPlane, transformation: Matrix.ReadonlyMatrix): MutablePlane;
|
|
1927
|
+
}
|
|
1928
|
+
|
|
1929
|
+
// @public (undocumented)
|
|
1930
|
+
export const PointerEventsResult: ComponentDefinition<typeof PointerEventsResultSchema>;
|
|
1931
|
+
|
|
1932
|
+
// Warning: (ae-missing-release-tag) "PointerEventsResultSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1933
|
+
//
|
|
1934
|
+
// @public (undocumented)
|
|
1935
|
+
export const PointerEventsResultSchema: ISchema<PBPointerEventsResult> & {
|
|
1936
|
+
COMPONENT_ID: number;
|
|
1937
|
+
};
|
|
1938
|
+
|
|
1939
|
+
// Warning: (ae-missing-release-tag) "PointerEventsSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1940
|
+
//
|
|
1941
|
+
// @public (undocumented)
|
|
1942
|
+
export type PointerEventsSystem = ReturnType<typeof createPointerEventSystem>;
|
|
1943
|
+
|
|
1944
|
+
// Warning: (ae-missing-release-tag) "pointerEventsSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1945
|
+
//
|
|
1946
|
+
// @public (undocumented)
|
|
1947
|
+
export const pointerEventsSystem: {
|
|
1948
|
+
removeOnClick(entity: unknown): void;
|
|
1949
|
+
removeOnPointerDown(entity: unknown): void;
|
|
1950
|
+
removeOnPointerUp(entity: unknown): void;
|
|
1951
|
+
onClick(entity: unknown, cb: EventSystemCallback, opts?: EventSystemOptions | undefined): void;
|
|
1952
|
+
onPointerDown(entity: unknown, cb: EventSystemCallback, opts?: EventSystemOptions | undefined): void;
|
|
1953
|
+
onPointerUp(entity: unknown, cb: EventSystemCallback, opts?: EventSystemOptions | undefined): void;
|
|
1954
|
+
};
|
|
1955
|
+
|
|
1956
|
+
// Warning: (ae-missing-release-tag) "PointerEventType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1957
|
+
//
|
|
1958
|
+
// @public (undocumented)
|
|
1959
|
+
export const enum PointerEventType {
|
|
1960
|
+
// (undocumented)
|
|
1961
|
+
PET_DOWN = 1,
|
|
1962
|
+
// (undocumented)
|
|
1963
|
+
PET_HOVER_ENTER = 2,
|
|
1964
|
+
// (undocumented)
|
|
1965
|
+
PET_HOVER_LEAVE = 3,
|
|
1966
|
+
// (undocumented)
|
|
1967
|
+
PET_UP = 0
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
// @public (undocumented)
|
|
1971
|
+
export const PointerHoverFeedback: ComponentDefinition<typeof PointerHoverFeedbackSchema>;
|
|
1972
|
+
|
|
1973
|
+
// Warning: (ae-missing-release-tag) "PointerHoverFeedbackSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1974
|
+
//
|
|
1975
|
+
// @public (undocumented)
|
|
1976
|
+
export const PointerHoverFeedbackSchema: ISchema<PBPointerHoverFeedback> & {
|
|
1977
|
+
COMPONENT_ID: number;
|
|
1978
|
+
};
|
|
1979
|
+
|
|
1980
|
+
// @public (undocumented)
|
|
1981
|
+
export const PointerLock: ComponentDefinition<typeof PointerLockSchema>;
|
|
1982
|
+
|
|
1983
|
+
// Warning: (ae-missing-release-tag) "PointerLockSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1984
|
+
//
|
|
1985
|
+
// @public (undocumented)
|
|
1986
|
+
export const PointerLockSchema: ISchema<PBPointerLock> & {
|
|
1987
|
+
COMPONENT_ID: number;
|
|
1988
|
+
};
|
|
1989
|
+
|
|
1990
|
+
// @public (undocumented)
|
|
1991
|
+
export type Position = {
|
|
1992
|
+
top: PositionUnit;
|
|
1993
|
+
right: PositionUnit;
|
|
1994
|
+
bottom: PositionUnit;
|
|
1995
|
+
left: PositionUnit;
|
|
1996
|
+
};
|
|
1997
|
+
|
|
1998
|
+
// Warning: (ae-missing-release-tag) "PositionUnit" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1999
|
+
//
|
|
2000
|
+
// @public (undocumented)
|
|
2001
|
+
export type PositionUnit = `${number}px` | `${number}%` | number;
|
|
2002
|
+
|
|
2003
|
+
// @public
|
|
2004
|
+
export type Quaternion = Quaternion.ReadonlyQuaternion;
|
|
2005
|
+
|
|
2006
|
+
// @public
|
|
2007
|
+
export namespace Quaternion {
|
|
2008
|
+
export function add(q1: ReadonlyQuaternion, q2: ReadonlyQuaternion): MutableQuaternion;
|
|
2009
|
+
export function angle(quat1: ReadonlyQuaternion, quat2: ReadonlyQuaternion): number;
|
|
2010
|
+
export function create(
|
|
2011
|
+
x?: number,
|
|
2012
|
+
y?: number,
|
|
2013
|
+
z?: number,
|
|
2014
|
+
w?: number): MutableQuaternion;
|
|
2015
|
+
export function dot(left: ReadonlyQuaternion, right: ReadonlyQuaternion): number;
|
|
2016
|
+
// (undocumented)
|
|
2017
|
+
export function fromAngleAxis(degrees: number, axis: Vector3.ReadonlyVector3): MutableQuaternion;
|
|
2018
|
+
export function fromAxisToRotationQuaternion(axis1: Vector3.ReadonlyVector3, axis2: Vector3.ReadonlyVector3, axis3: Vector3.ReadonlyVector3): MutableQuaternion;
|
|
2019
|
+
export function fromAxisToRotationQuaternionToRef(axis1: Vector3.ReadonlyVector3, axis2: Vector3.ReadonlyVector3, axis3: Vector3.ReadonlyVector3, ref: MutableQuaternion): void;
|
|
2020
|
+
export function fromEulerDegrees(x: number, y: number, z: number): MutableQuaternion;
|
|
2021
|
+
export function fromLookAt(position: Vector3.ReadonlyVector3, target: Vector3.ReadonlyVector3, worldUp?: Vector3.ReadonlyVector3): MutableQuaternion;
|
|
2022
|
+
export function fromLookAtToRef(position: Vector3.ReadonlyVector3, target: Vector3.ReadonlyVector3, worldUp: Vector3.ReadonlyVector3 | undefined, result: MutableQuaternion): void;
|
|
2023
|
+
export function fromRotationMatrixToRef(matrix: Matrix.ReadonlyMatrix, result: Quaternion.MutableQuaternion): void;
|
|
2024
|
+
export function fromRotationYawPitchRoll(yaw: number, pitch: number, roll: number): MutableQuaternion;
|
|
2025
|
+
export function fromRotationYawPitchRollToRef(yaw: number, pitch: number, roll: number, result: Quaternion.MutableQuaternion): void;
|
|
2026
|
+
export function fromToRotation(from: Vector3.ReadonlyVector3, to: Vector3.ReadonlyVector3, up?: Vector3.ReadonlyVector3): MutableQuaternion;
|
|
2027
|
+
export function Identity(): MutableQuaternion;
|
|
2028
|
+
export function length(q: ReadonlyQuaternion): number;
|
|
2029
|
+
export function lengthSquared(q: ReadonlyQuaternion): number;
|
|
2030
|
+
export function lookRotation(forward: Vector3.ReadonlyVector3, up?: Vector3.ReadonlyVector3): MutableQuaternion;
|
|
2031
|
+
export function multiply(self: ReadonlyQuaternion, q1: ReadonlyQuaternion): MutableQuaternion;
|
|
2032
|
+
export function multiplyToRef(self: ReadonlyQuaternion, q1: ReadonlyQuaternion, result: MutableQuaternion): void;
|
|
2033
|
+
export type Mutable = MutableQuaternion;
|
|
2034
|
+
export type MutableQuaternion = {
|
|
2035
|
+
x: number;
|
|
2036
|
+
y: number;
|
|
2037
|
+
z: number;
|
|
2038
|
+
w: number;
|
|
2039
|
+
};
|
|
2040
|
+
export function normalize(q: ReadonlyQuaternion): MutableQuaternion;
|
|
2041
|
+
export type ReadonlyQuaternion = {
|
|
2042
|
+
readonly x: number;
|
|
2043
|
+
readonly y: number;
|
|
2044
|
+
readonly z: number;
|
|
2045
|
+
readonly w: number;
|
|
2046
|
+
};
|
|
2047
|
+
export function rotateTowards(from: ReadonlyQuaternion, to: ReadonlyQuaternion, maxDegreesDelta: number): MutableQuaternion;
|
|
2048
|
+
export function slerp(left: ReadonlyQuaternion, right: ReadonlyQuaternion, amount: number): MutableQuaternion;
|
|
2049
|
+
export function slerpToRef(left: ReadonlyQuaternion, right: ReadonlyQuaternion, amount: number, result: MutableQuaternion): void;
|
|
2050
|
+
export function toEulerAngles(q: MutableQuaternion): Vector3.Mutable;
|
|
2051
|
+
export function Zero(): MutableQuaternion;
|
|
2052
|
+
}
|
|
2053
|
+
|
|
2054
|
+
// @public (undocumented)
|
|
2055
|
+
export type QuaternionType = {
|
|
2056
|
+
x: number;
|
|
2057
|
+
y: number;
|
|
2058
|
+
z: number;
|
|
2059
|
+
w: number;
|
|
2060
|
+
};
|
|
2061
|
+
|
|
2062
|
+
// @public
|
|
2063
|
+
export const RAD2DEG: number;
|
|
2064
|
+
|
|
2065
|
+
// @public (undocumented)
|
|
2066
|
+
export const Raycast: ComponentDefinition<typeof RaycastSchema>;
|
|
2067
|
+
|
|
2068
|
+
// Warning: (ae-missing-release-tag) "RaycastHit" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2069
|
+
// Warning: (ae-missing-release-tag) "RaycastHit" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2070
|
+
//
|
|
2071
|
+
// @public
|
|
2072
|
+
export interface RaycastHit {
|
|
2073
|
+
// (undocumented)
|
|
2074
|
+
direction: PBVector3 | undefined;
|
|
2075
|
+
// (undocumented)
|
|
2076
|
+
entityId?: number | undefined;
|
|
2077
|
+
// (undocumented)
|
|
2078
|
+
length: number;
|
|
2079
|
+
// (undocumented)
|
|
2080
|
+
meshName?: string | undefined;
|
|
2081
|
+
// (undocumented)
|
|
2082
|
+
normalHit: PBVector3 | undefined;
|
|
2083
|
+
// (undocumented)
|
|
2084
|
+
origin: PBVector3 | undefined;
|
|
2085
|
+
// (undocumented)
|
|
2086
|
+
position: PBVector3 | undefined;
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
// @public
|
|
2090
|
+
export const RaycastHit: {
|
|
2091
|
+
encode(message: RaycastHit, writer?: _m0.Writer): _m0.Writer;
|
|
2092
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RaycastHit;
|
|
2093
|
+
};
|
|
2094
|
+
|
|
2095
|
+
// Warning: (ae-missing-release-tag) "RaycastQueryType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2096
|
+
//
|
|
2097
|
+
// @public (undocumented)
|
|
2098
|
+
export const enum RaycastQueryType {
|
|
2099
|
+
// (undocumented)
|
|
2100
|
+
RQT_HIT_FIRST = 0,
|
|
2101
|
+
// (undocumented)
|
|
2102
|
+
RQT_QUERY_ALL = 1
|
|
2103
|
+
}
|
|
2104
|
+
|
|
2105
|
+
// @public (undocumented)
|
|
2106
|
+
export const RaycastResult: ComponentDefinition<typeof RaycastResultSchema>;
|
|
2107
|
+
|
|
2108
|
+
// Warning: (ae-missing-release-tag) "RaycastResultSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2109
|
+
//
|
|
2110
|
+
// @public (undocumented)
|
|
2111
|
+
export const RaycastResultSchema: ISchema<PBRaycastResult> & {
|
|
2112
|
+
COMPONENT_ID: number;
|
|
2113
|
+
};
|
|
2114
|
+
|
|
2115
|
+
// Warning: (ae-missing-release-tag) "RaycastSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2116
|
+
//
|
|
2117
|
+
// @public (undocumented)
|
|
2118
|
+
export const RaycastSchema: ISchema<PBRaycast> & {
|
|
2119
|
+
COMPONENT_ID: number;
|
|
2120
|
+
};
|
|
2121
|
+
|
|
2122
|
+
// Warning: (ae-missing-release-tag) "ReactBasedUiSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2123
|
+
//
|
|
2124
|
+
// @public (undocumented)
|
|
2125
|
+
export type ReactBasedUiSystem = {
|
|
2126
|
+
destroy(): void;
|
|
2127
|
+
setUiRenderer(ui: UiComponent): void;
|
|
2128
|
+
};
|
|
2129
|
+
|
|
2130
|
+
// Warning: (ae-missing-release-tag) "ReactEcs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2131
|
+
//
|
|
2132
|
+
// @public (undocumented)
|
|
2133
|
+
namespace ReactEcs {
|
|
2134
|
+
// (undocumented)
|
|
2135
|
+
namespace JSX {
|
|
2136
|
+
// (undocumented)
|
|
2137
|
+
interface Component {
|
|
2138
|
+
}
|
|
2139
|
+
// (undocumented)
|
|
2140
|
+
interface Element {
|
|
2141
|
+
}
|
|
2142
|
+
// (undocumented)
|
|
2143
|
+
type IntrinsicElements = EcsElements;
|
|
2144
|
+
}
|
|
2145
|
+
const // (undocumented)
|
|
2146
|
+
createElement: any;
|
|
2147
|
+
}
|
|
2148
|
+
export { ReactEcs }
|
|
2149
|
+
export default ReactEcs;
|
|
2150
|
+
|
|
2151
|
+
// Warning: (ae-missing-release-tag) "ReactEcsRenderer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2152
|
+
//
|
|
2153
|
+
// @public (undocumented)
|
|
2154
|
+
export const ReactEcsRenderer: ReactBasedUiSystem;
|
|
2155
|
+
|
|
2156
|
+
// @public (undocumented)
|
|
2157
|
+
export type ReadonlyComponentSchema<T extends [ComponentDefinition<any, any>, ...ComponentDefinition<any, any>[]]> = {
|
|
2158
|
+
[K in keyof T]: T[K] extends ComponentDefinition<any, any> ? ReturnType<T[K]['get']> : never;
|
|
2159
|
+
};
|
|
2160
|
+
|
|
2161
|
+
// @public (undocumented)
|
|
2162
|
+
export type ReadonlyPrimitive = number | string | number[] | string[] | boolean | boolean[];
|
|
2163
|
+
|
|
2164
|
+
// Warning: (ae-missing-release-tag) "ReceiveMessage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2165
|
+
//
|
|
2166
|
+
// @public (undocumented)
|
|
2167
|
+
export type ReceiveMessage = {
|
|
2168
|
+
type: WireMessage.Enum;
|
|
2169
|
+
entity: Entity;
|
|
2170
|
+
componentId: number;
|
|
2171
|
+
timestamp: number;
|
|
2172
|
+
transportType?: string;
|
|
2173
|
+
data?: Uint8Array;
|
|
2174
|
+
messageBuffer: Uint8Array;
|
|
2175
|
+
};
|
|
2176
|
+
|
|
2177
|
+
// @public (undocumented)
|
|
2178
|
+
export type Result<T extends Spec> = ToOptional<{
|
|
2179
|
+
[K in keyof T]: T[K] extends ISchema ? ReturnType<T[K]['deserialize']> : T[K] extends Spec ? Result<T[K]> : never;
|
|
2180
|
+
}>;
|
|
2181
|
+
|
|
2182
|
+
// @public
|
|
2183
|
+
export namespace Scalar {
|
|
2184
|
+
const TwoPi: number;
|
|
2185
|
+
export function clamp(value: number, min?: number, max?: number): number;
|
|
2186
|
+
export function deltaAngle(current: number, target: number): number;
|
|
2187
|
+
export function denormalize(normalized: number, min: number, max: number): number;
|
|
2188
|
+
export function hermite(value1: number, tangent1: number, value2: number, tangent2: number, amount: number): number;
|
|
2189
|
+
export function inverseLerp(a: number, b: number, value: number): number;
|
|
2190
|
+
export function lerp(start: number, end: number, amount: number): number;
|
|
2191
|
+
export function lerpAngle(start: number, end: number, amount: number): number;
|
|
2192
|
+
export function log2(value: number): number;
|
|
2193
|
+
export function moveTowards(current: number, target: number, maxDelta: number): number;
|
|
2194
|
+
export function moveTowardsAngle(current: number, target: number, maxDelta: number): number;
|
|
2195
|
+
export function normalize(value: number, min: number, max: number): number;
|
|
2196
|
+
export function normalizeRadians(angle: number): number;
|
|
2197
|
+
export function percentToRange(percent: number, min: number, max: number): number;
|
|
2198
|
+
export function pingPong(tx: number, length: number): number;
|
|
2199
|
+
export function randomRange(min: number, max: number): number;
|
|
2200
|
+
export function rangeToPercent(num: number, min: number, max: number): number;
|
|
2201
|
+
export function repeat(value: number, length: number): number;
|
|
2202
|
+
export function sign(value: number): number;
|
|
2203
|
+
export function smoothStep(from: number, to: number, tx: number): number;
|
|
2204
|
+
export function toHex(i: number): string;
|
|
2205
|
+
export function withinEpsilon(a: number, b: number, epsilon?: number): boolean;
|
|
2206
|
+
}
|
|
2207
|
+
|
|
2208
|
+
// @public (undocumented)
|
|
2209
|
+
export namespace Schemas {
|
|
2210
|
+
// (undocumented)
|
|
2211
|
+
export type SchemaType = ISchema;
|
|
2212
|
+
const // (undocumented)
|
|
2213
|
+
Boolean: ISchema<boolean>;
|
|
2214
|
+
const // (undocumented)
|
|
2215
|
+
String: ISchema<string>;
|
|
2216
|
+
const // (undocumented)
|
|
2217
|
+
Float: ISchema<number>;
|
|
2218
|
+
const // (undocumented)
|
|
2219
|
+
Double: ISchema<number>;
|
|
2220
|
+
const // (undocumented)
|
|
2221
|
+
Byte: ISchema<number>;
|
|
2222
|
+
const // (undocumented)
|
|
2223
|
+
Short: ISchema<number>;
|
|
2224
|
+
const // (undocumented)
|
|
2225
|
+
Int: ISchema<number>;
|
|
2226
|
+
const // (undocumented)
|
|
2227
|
+
Int64: ISchema<number>;
|
|
2228
|
+
const // (undocumented)
|
|
2229
|
+
Number: ISchema<number>;
|
|
2230
|
+
const // (undocumented)
|
|
2231
|
+
Vector3: ISchema<Vector3Type>;
|
|
2232
|
+
const // (undocumented)
|
|
2233
|
+
Quaternion: ISchema<QuaternionType>;
|
|
2234
|
+
const // (undocumented)
|
|
2235
|
+
Color3: ISchema<Color3Type>;
|
|
2236
|
+
const // (undocumented)
|
|
2237
|
+
Color4: ISchema<Color4Type>;
|
|
2238
|
+
const // (undocumented)
|
|
2239
|
+
Entity: ISchema<Entity>;
|
|
2240
|
+
const // (undocumented)
|
|
2241
|
+
Enum: typeof IEnum;
|
|
2242
|
+
const // (undocumented)
|
|
2243
|
+
Array: typeof IArray;
|
|
2244
|
+
const // (undocumented)
|
|
2245
|
+
Map: typeof IMap;
|
|
2246
|
+
const // (undocumented)
|
|
2247
|
+
Optional: typeof IOptional;
|
|
2248
|
+
}
|
|
2249
|
+
|
|
2250
|
+
// @public (undocumented)
|
|
2251
|
+
export interface Spec {
|
|
2252
|
+
// (undocumented)
|
|
2253
|
+
[key: string]: ISchema;
|
|
2254
|
+
}
|
|
2255
|
+
|
|
2256
|
+
// @public (undocumented)
|
|
2257
|
+
export type SystemFn = (dt: number) => void;
|
|
2258
|
+
|
|
2259
|
+
// Warning: (ae-missing-release-tag) "Task" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2260
|
+
//
|
|
2261
|
+
// @public (undocumented)
|
|
2262
|
+
export type Task<T = unknown> = () => Promise<T>;
|
|
2263
|
+
|
|
2264
|
+
// Warning: (ae-missing-release-tag) "TextAlignMode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2265
|
+
//
|
|
2266
|
+
// @public (undocumented)
|
|
2267
|
+
export const enum TextAlignMode {
|
|
2268
|
+
// (undocumented)
|
|
2269
|
+
TAM_BOTTOM_CENTER = 7,
|
|
2270
|
+
// (undocumented)
|
|
2271
|
+
TAM_BOTTOM_LEFT = 6,
|
|
2272
|
+
// (undocumented)
|
|
2273
|
+
TAM_BOTTOM_RIGHT = 8,
|
|
2274
|
+
// (undocumented)
|
|
2275
|
+
TAM_MIDDLE_CENTER = 4,
|
|
2276
|
+
// (undocumented)
|
|
2277
|
+
TAM_MIDDLE_LEFT = 3,
|
|
2278
|
+
// (undocumented)
|
|
2279
|
+
TAM_MIDDLE_RIGHT = 5,
|
|
2280
|
+
// (undocumented)
|
|
2281
|
+
TAM_TOP_CENTER = 1,
|
|
2282
|
+
// (undocumented)
|
|
2283
|
+
TAM_TOP_LEFT = 0,
|
|
2284
|
+
// (undocumented)
|
|
2285
|
+
TAM_TOP_RIGHT = 2
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
// @public (undocumented)
|
|
2289
|
+
export const TextShape: ComponentDefinition<typeof TextShapeSchema>;
|
|
2290
|
+
|
|
2291
|
+
// Warning: (ae-missing-release-tag) "TextShapeSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2292
|
+
//
|
|
2293
|
+
// @public (undocumented)
|
|
2294
|
+
export const TextShapeSchema: ISchema<PBTextShape> & {
|
|
2295
|
+
COMPONENT_ID: number;
|
|
2296
|
+
};
|
|
2297
|
+
|
|
2298
|
+
// Warning: (ae-missing-release-tag) "Texture" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2299
|
+
// Warning: (ae-missing-release-tag) "Texture" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2300
|
+
//
|
|
2301
|
+
// @public (undocumented)
|
|
2302
|
+
export interface Texture {
|
|
2303
|
+
filterMode?: TextureFilterMode | undefined;
|
|
2304
|
+
// (undocumented)
|
|
2305
|
+
src: string;
|
|
2306
|
+
wrapMode?: TextureWrapMode | undefined;
|
|
2307
|
+
}
|
|
2308
|
+
|
|
2309
|
+
// @public
|
|
2310
|
+
export const Texture: {
|
|
2311
|
+
encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
|
2312
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Texture;
|
|
2313
|
+
};
|
|
2314
|
+
|
|
2315
|
+
// Warning: (ae-missing-release-tag) "TextureFilterMode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2316
|
+
//
|
|
2317
|
+
// @public (undocumented)
|
|
2318
|
+
export const enum TextureFilterMode {
|
|
2319
|
+
// (undocumented)
|
|
2320
|
+
TFM_BILINEAR = 1,
|
|
2321
|
+
// (undocumented)
|
|
2322
|
+
TFM_POINT = 0,
|
|
2323
|
+
// (undocumented)
|
|
2324
|
+
TFM_TRILINEAR = 2
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
// @public (undocumented)
|
|
2328
|
+
export type TextureHelper = {
|
|
2329
|
+
Common: (texture: Texture) => TextureUnion;
|
|
2330
|
+
Avatar: (avatarTexture: AvatarTexture) => TextureUnion;
|
|
2331
|
+
};
|
|
2332
|
+
|
|
2333
|
+
// Warning: (ae-missing-release-tag) "TextureUnion" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2334
|
+
// Warning: (ae-missing-release-tag) "TextureUnion" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2335
|
+
//
|
|
2336
|
+
// @public (undocumented)
|
|
2337
|
+
export interface TextureUnion {
|
|
2338
|
+
// (undocumented)
|
|
2339
|
+
tex?: {
|
|
2340
|
+
$case: 'texture';
|
|
2341
|
+
texture: Texture;
|
|
2342
|
+
} | {
|
|
2343
|
+
$case: 'avatarTexture';
|
|
2344
|
+
avatarTexture: AvatarTexture;
|
|
2345
|
+
};
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
// @public
|
|
2349
|
+
export const TextureUnion: {
|
|
2350
|
+
encode(message: TextureUnion, writer?: _m0.Writer): _m0.Writer;
|
|
2351
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TextureUnion;
|
|
2352
|
+
};
|
|
2353
|
+
|
|
2354
|
+
// Warning: (ae-missing-release-tag) "TextureWrapMode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2355
|
+
//
|
|
2356
|
+
// @public (undocumented)
|
|
2357
|
+
export const enum TextureWrapMode {
|
|
2358
|
+
// (undocumented)
|
|
2359
|
+
TWM_CLAMP = 1,
|
|
2360
|
+
// (undocumented)
|
|
2361
|
+
TWM_MIRROR = 2,
|
|
2362
|
+
// (undocumented)
|
|
2363
|
+
TWM_MIRROR_ONCE = 3,
|
|
2364
|
+
// (undocumented)
|
|
2365
|
+
TWM_REPEAT = 0
|
|
2366
|
+
}
|
|
2367
|
+
|
|
2368
|
+
// @public
|
|
2369
|
+
export const ToGammaSpace: number;
|
|
2370
|
+
|
|
2371
|
+
// @public
|
|
2372
|
+
export const ToLinearSpace = 2.2;
|
|
2373
|
+
|
|
2374
|
+
// Warning: (ae-missing-release-tag) "ToOptional" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2375
|
+
//
|
|
2376
|
+
// @public (undocumented)
|
|
2377
|
+
export type ToOptional<T> = OnlyOptionalUndefinedTypes<T> & OnlyNonUndefinedTypes<T>;
|
|
2378
|
+
|
|
2379
|
+
// Warning: (ae-missing-release-tag) "Transform" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2380
|
+
//
|
|
2381
|
+
// @public (undocumented)
|
|
2382
|
+
export const Transform: TransformComponent;
|
|
2383
|
+
|
|
2384
|
+
// Warning: (ae-missing-release-tag) "TransformComponent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2385
|
+
//
|
|
2386
|
+
// @public (undocumented)
|
|
2387
|
+
export type TransformComponent = ComponentDefinition<ISchema<TransformType>, Partial<TransformType>>;
|
|
2388
|
+
|
|
2389
|
+
// @public (undocumented)
|
|
2390
|
+
export type TransformType = {
|
|
2391
|
+
position: {
|
|
2392
|
+
x: number;
|
|
2393
|
+
y: number;
|
|
2394
|
+
z: number;
|
|
2395
|
+
};
|
|
2396
|
+
rotation: {
|
|
2397
|
+
x: number;
|
|
2398
|
+
y: number;
|
|
2399
|
+
z: number;
|
|
2400
|
+
w: number;
|
|
2401
|
+
};
|
|
2402
|
+
scale: {
|
|
2403
|
+
x: number;
|
|
2404
|
+
y: number;
|
|
2405
|
+
z: number;
|
|
2406
|
+
};
|
|
2407
|
+
parent?: Entity;
|
|
2408
|
+
};
|
|
2409
|
+
|
|
2410
|
+
// Warning: (ae-missing-release-tag) "Transport" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2411
|
+
//
|
|
2412
|
+
// @public (undocumented)
|
|
2413
|
+
export type Transport = {
|
|
2414
|
+
type: string;
|
|
2415
|
+
send(message: Uint8Array): void;
|
|
2416
|
+
onmessage?(message: Uint8Array): void;
|
|
2417
|
+
filter(message: Omit<TransportMessage, 'messageBuffer'>): boolean;
|
|
2418
|
+
};
|
|
2419
|
+
|
|
2420
|
+
// Warning: (ae-missing-release-tag) "TransportMessage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2421
|
+
//
|
|
2422
|
+
// @public (undocumented)
|
|
2423
|
+
export type TransportMessage = Omit<ReceiveMessage, 'data'>;
|
|
2424
|
+
|
|
2425
|
+
// @public (undocumented)
|
|
2426
|
+
export const UiBackground: ComponentDefinition<typeof UiBackgroundSchema>;
|
|
2427
|
+
|
|
2428
|
+
// Warning: (ae-missing-release-tag) "UiBackgroundSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2429
|
+
//
|
|
2430
|
+
// @public (undocumented)
|
|
2431
|
+
export const UiBackgroundSchema: ISchema<PBUiBackground> & {
|
|
2432
|
+
COMPONENT_ID: number;
|
|
2433
|
+
};
|
|
2434
|
+
|
|
2435
|
+
// Warning: (ae-missing-release-tag) "UiComponent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2436
|
+
//
|
|
2437
|
+
// @public (undocumented)
|
|
2438
|
+
export type UiComponent = () => JSX.Element;
|
|
2439
|
+
|
|
2440
|
+
// @public (undocumented)
|
|
2441
|
+
export function UiEntity(props: EntityPropTypes & Partial<CommonProps>): ReactEcs.JSX.Element;
|
|
2442
|
+
|
|
2443
|
+
// @public (undocumented)
|
|
2444
|
+
export const UiText: ComponentDefinition<typeof UiTextSchema>;
|
|
2445
|
+
|
|
2446
|
+
// Warning: (ae-missing-release-tag) "UiTextSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2447
|
+
//
|
|
2448
|
+
// @public (undocumented)
|
|
2449
|
+
export const UiTextSchema: ISchema<PBUiText> & {
|
|
2450
|
+
COMPONENT_ID: number;
|
|
2451
|
+
};
|
|
2452
|
+
|
|
2453
|
+
// @public (undocumented)
|
|
2454
|
+
export const UiTransform: ComponentDefinition<typeof UiTransformSchema>;
|
|
2455
|
+
|
|
2456
|
+
// @public (undocumented)
|
|
2457
|
+
export interface UiTransformProps {
|
|
2458
|
+
// (undocumented)
|
|
2459
|
+
alignContent?: YGAlign;
|
|
2460
|
+
// (undocumented)
|
|
2461
|
+
alignItems?: YGAlign;
|
|
2462
|
+
// (undocumented)
|
|
2463
|
+
alignSelf?: YGAlign;
|
|
2464
|
+
// (undocumented)
|
|
2465
|
+
display?: YGDisplay;
|
|
2466
|
+
// (undocumented)
|
|
2467
|
+
flex?: number;
|
|
2468
|
+
// (undocumented)
|
|
2469
|
+
flexBasis?: number;
|
|
2470
|
+
// (undocumented)
|
|
2471
|
+
flexDirection?: YGFlexDirection;
|
|
2472
|
+
// (undocumented)
|
|
2473
|
+
flexGrow?: number;
|
|
2474
|
+
// (undocumented)
|
|
2475
|
+
flexShrink?: number;
|
|
2476
|
+
// (undocumented)
|
|
2477
|
+
flexWrap?: YGWrap;
|
|
2478
|
+
// (undocumented)
|
|
2479
|
+
height?: PositionUnit;
|
|
2480
|
+
// (undocumented)
|
|
2481
|
+
justifyContent?: YGJustify;
|
|
2482
|
+
// (undocumented)
|
|
2483
|
+
margin?: Partial<Position>;
|
|
2484
|
+
// (undocumented)
|
|
2485
|
+
maxHeight?: PositionUnit;
|
|
2486
|
+
// (undocumented)
|
|
2487
|
+
maxWidth?: PositionUnit;
|
|
2488
|
+
// (undocumented)
|
|
2489
|
+
minHeight?: PositionUnit;
|
|
2490
|
+
// (undocumented)
|
|
2491
|
+
minWidth?: PositionUnit;
|
|
2492
|
+
// (undocumented)
|
|
2493
|
+
overflow?: YGOverflow;
|
|
2494
|
+
// (undocumented)
|
|
2495
|
+
padding?: Partial<Position>;
|
|
2496
|
+
// (undocumented)
|
|
2497
|
+
position?: Partial<Position>;
|
|
2498
|
+
// (undocumented)
|
|
2499
|
+
positionType?: YGPositionType;
|
|
2500
|
+
// (undocumented)
|
|
2501
|
+
width?: PositionUnit;
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2504
|
+
// Warning: (ae-missing-release-tag) "UiTransformSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2505
|
+
//
|
|
2506
|
+
// @public (undocumented)
|
|
2507
|
+
export const UiTransformSchema: ISchema<PBUiTransform> & {
|
|
2508
|
+
COMPONENT_ID: number;
|
|
2509
|
+
};
|
|
2510
|
+
|
|
2511
|
+
// @public (undocumented)
|
|
2512
|
+
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
2513
|
+
|
|
2514
|
+
// @public
|
|
2515
|
+
export type Vector3 = Vector3.ReadonlyVector3;
|
|
2516
|
+
|
|
2517
|
+
// @public
|
|
2518
|
+
export namespace Vector3 {
|
|
2519
|
+
export function add(vector1: ReadonlyVector3, vector2: ReadonlyVector3): MutableVector3;
|
|
2520
|
+
export function addToRef(vector1: ReadonlyVector3, vector2: ReadonlyVector3, result: MutableVector3): void;
|
|
2521
|
+
export function applyMatrix4(vector: ReadonlyVector3, matrix: Matrix.ReadonlyMatrix): MutableVector3;
|
|
2522
|
+
export function applyMatrix4ToRef(vector: ReadonlyVector3, matrix: Matrix.ReadonlyMatrix, result: MutableVector3): void;
|
|
2523
|
+
export function Backward(): MutableVector3;
|
|
2524
|
+
export function catmullRom(value1: ReadonlyVector3, value2: ReadonlyVector3, value3: ReadonlyVector3, value4: ReadonlyVector3, amount: number): MutableVector3;
|
|
2525
|
+
export function center(value1: ReadonlyVector3, value2: ReadonlyVector3): MutableVector3;
|
|
2526
|
+
export function clamp(value: ReadonlyVector3, min: ReadonlyVector3, max: ReadonlyVector3): MutableVector3;
|
|
2527
|
+
export function clampToRef(value: ReadonlyVector3, min: ReadonlyVector3, max: ReadonlyVector3, result: MutableVector3): void;
|
|
2528
|
+
export function clone(source: ReadonlyVector3): MutableVector3;
|
|
2529
|
+
export function copyFrom(source: ReadonlyVector3, dest: MutableVector3): void;
|
|
2530
|
+
export function copyFromFloats(x: number, y: number, z: number, dest: MutableVector3): void;
|
|
2531
|
+
export function create(
|
|
2532
|
+
x?: number,
|
|
2533
|
+
y?: number,
|
|
2534
|
+
z?: number): MutableVector3;
|
|
2535
|
+
export function cross(left: ReadonlyVector3, right: ReadonlyVector3): MutableVector3;
|
|
2536
|
+
export function crossToRef(left: ReadonlyVector3, right: ReadonlyVector3, result: MutableVector3): void;
|
|
2537
|
+
export function distance(value1: ReadonlyVector3, value2: ReadonlyVector3): number;
|
|
2538
|
+
export function distanceSquared(value1: ReadonlyVector3, value2: ReadonlyVector3): number;
|
|
2539
|
+
export function divide(vector1: ReadonlyVector3, vector2: ReadonlyVector3): MutableVector3;
|
|
2540
|
+
export function divideToRef(vector1: ReadonlyVector3, vector2: ReadonlyVector3, result: MutableVector3): void;
|
|
2541
|
+
export function dot(left: ReadonlyVector3, right: ReadonlyVector3): number;
|
|
2542
|
+
export function Down(): MutableVector3;
|
|
2543
|
+
export function equals(vector1: ReadonlyVector3, vector2: ReadonlyVector3): boolean;
|
|
2544
|
+
export function equalsToFloats(vector: ReadonlyVector3, x: number, y: number, z: number): boolean;
|
|
2545
|
+
export function equalsWithEpsilon(vector1: ReadonlyVector3, vector2: ReadonlyVector3, epsilon?: number): boolean;
|
|
2546
|
+
export function floor(vector1: ReadonlyVector3): MutableVector3;
|
|
2547
|
+
export function Forward(): MutableVector3;
|
|
2548
|
+
export function fract(vector1: ReadonlyVector3): MutableVector3;
|
|
2549
|
+
export function fromArray(array: FloatArray, offset?: number): MutableVector3;
|
|
2550
|
+
export function fromArrayToRef(array: number[], offset: number, result: MutableVector3): void;
|
|
2551
|
+
export function fromFloatArray(array: FloatArray, offset?: number): MutableVector3;
|
|
2552
|
+
export function fromFloatArrayToRef(array: FloatArray, offset: number, result: MutableVector3): void;
|
|
2553
|
+
export function getAngleBetweenVectors(vector0: ReadonlyVector3, vector1: ReadonlyVector3, normal: ReadonlyVector3): number;
|
|
2554
|
+
export function getClipFactor(vector0: ReadonlyVector3, vector1: ReadonlyVector3, axis: ReadonlyVector3, size: number): number;
|
|
2555
|
+
export function getHashCode(vector: ReadonlyVector3): number;
|
|
2556
|
+
export function hermite(value1: ReadonlyVector3, tangent1: ReadonlyVector3, value2: ReadonlyVector3, tangent2: ReadonlyVector3, amount: number): MutableVector3;
|
|
2557
|
+
export function isNonUniform(vector: ReadonlyVector3): boolean;
|
|
2558
|
+
export function Left(): MutableVector3;
|
|
2559
|
+
export function length(vector: ReadonlyVector3): number;
|
|
2560
|
+
export function lengthSquared(vector: ReadonlyVector3): number;
|
|
2561
|
+
export function lerp(start: ReadonlyVector3, end: ReadonlyVector3, amount: number): MutableVector3;
|
|
2562
|
+
export function lerpToRef(start: ReadonlyVector3, end: ReadonlyVector3, amount: number, result: MutableVector3): void;
|
|
2563
|
+
export function maximize(left: MutableVector3, right: MutableVector3): MutableVector3;
|
|
2564
|
+
export function maximizeInPlaceFromFloatsToRef(vector1: ReadonlyVector3, x: number, y: number, z: number, result: MutableVector3): void;
|
|
2565
|
+
export function minimize(left: ReadonlyVector3, right: ReadonlyVector3): MutableVector3;
|
|
2566
|
+
export function minimizeInPlaceFromFloatsToRef(vector1: ReadonlyVector3, x: number, y: number, z: number, result: MutableVector3): void;
|
|
2567
|
+
export function multiply(vector1: ReadonlyVector3, vector2: ReadonlyVector3): MutableVector3;
|
|
2568
|
+
export function multiplyByFloats(vector1: ReadonlyVector3, x: number, y: number, z: number): MutableVector3;
|
|
2569
|
+
export function multiplyByFloatsToRef(vector1: ReadonlyVector3, x: number, y: number, z: number, result: MutableVector3): void;
|
|
2570
|
+
export function multiplyToRef(vector1: ReadonlyVector3, vector2: ReadonlyVector3, result: MutableVector3): void;
|
|
2571
|
+
export type Mutable = MutableVector3;
|
|
2572
|
+
export type MutableVector3 = {
|
|
2573
|
+
x: number;
|
|
2574
|
+
y: number;
|
|
2575
|
+
z: number;
|
|
2576
|
+
};
|
|
2577
|
+
export function negate(value: ReadonlyVector3): MutableVector3;
|
|
2578
|
+
export function normalize(vector: ReadonlyVector3): MutableVector3;
|
|
2579
|
+
export function normalizeFromLength(vector: ReadonlyVector3, len: number): MutableVector3;
|
|
2580
|
+
export function normalizeFromLengthToRef(vector: ReadonlyVector3, len: number, result: MutableVector3): void;
|
|
2581
|
+
export function normalizeToRef(vector: ReadonlyVector3, result: MutableVector3): void;
|
|
2582
|
+
export function One(): MutableVector3;
|
|
2583
|
+
export function Random(): MutableVector3;
|
|
2584
|
+
export type ReadonlyVector3 = {
|
|
2585
|
+
readonly x: number;
|
|
2586
|
+
readonly y: number;
|
|
2587
|
+
readonly z: number;
|
|
2588
|
+
};
|
|
2589
|
+
export function Right(): MutableVector3;
|
|
2590
|
+
export function rotate(vector: ReadonlyVector3, q: Quaternion.ReadonlyQuaternion): MutableVector3;
|
|
2591
|
+
export function rotateToRef(vector: ReadonlyVector3, q: Quaternion.ReadonlyQuaternion, result: MutableVector3): void;
|
|
2592
|
+
export function rotationFromAxis(axis1: MutableVector3, axis2: MutableVector3, axis3: MutableVector3): MutableVector3;
|
|
2593
|
+
export function rotationFromAxisToRef(axis1: MutableVector3, axis2: MutableVector3, axis3: MutableVector3, result: MutableVector3): void;
|
|
2594
|
+
export function scale(vector: ReadonlyVector3, scale: number): MutableVector3;
|
|
2595
|
+
export function scaleToRef(vector: ReadonlyVector3, scale: number, result: MutableVector3): void;
|
|
2596
|
+
export function subtract(vector1: ReadonlyVector3, vector2: ReadonlyVector3): MutableVector3;
|
|
2597
|
+
export function subtractFromFloatsToRef(vector1: ReadonlyVector3, x: number, y: number, z: number, result: MutableVector3): void;
|
|
2598
|
+
export function subtractToRef(vector1: ReadonlyVector3, vector2: ReadonlyVector3, result: MutableVector3): void;
|
|
2599
|
+
export function toString(vector: ReadonlyVector3): string;
|
|
2600
|
+
export function transformCoordinates(vector: ReadonlyVector3, transformation: Matrix.ReadonlyMatrix): MutableVector3;
|
|
2601
|
+
export function transformCoordinatesFromFloatsToRef(x: number, y: number, z: number, transformation: Matrix.ReadonlyMatrix, result: MutableVector3): void;
|
|
2602
|
+
export function transformCoordinatesToRef(vector: ReadonlyVector3, transformation: Matrix.ReadonlyMatrix, result: MutableVector3): void;
|
|
2603
|
+
export function transformNormal(vector: ReadonlyVector3, transformation: Matrix.ReadonlyMatrix): MutableVector3;
|
|
2604
|
+
export function transformNormalFromFloatsToRef(x: number, y: number, z: number, transformation: Matrix.ReadonlyMatrix, result: MutableVector3): void;
|
|
2605
|
+
export function transformNormalToRef(vector: ReadonlyVector3, transformation: Matrix.ReadonlyMatrix, result: MutableVector3): void;
|
|
2606
|
+
export function Up(): MutableVector3;
|
|
2607
|
+
export function Zero(): MutableVector3;
|
|
2608
|
+
}
|
|
2609
|
+
|
|
2610
|
+
// @public (undocumented)
|
|
2611
|
+
export type Vector3Type = {
|
|
2612
|
+
x: number;
|
|
2613
|
+
y: number;
|
|
2614
|
+
z: number;
|
|
2615
|
+
};
|
|
2616
|
+
|
|
2617
|
+
// @public (undocumented)
|
|
2618
|
+
export const VisibilityComponent: ComponentDefinition<typeof VisibilityComponentSchema>;
|
|
2619
|
+
|
|
2620
|
+
// Warning: (ae-missing-release-tag) "VisibilityComponentSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2621
|
+
//
|
|
2622
|
+
// @public (undocumented)
|
|
2623
|
+
export const VisibilityComponentSchema: ISchema<PBVisibilityComponent> & {
|
|
2624
|
+
COMPONENT_ID: number;
|
|
2625
|
+
};
|
|
2626
|
+
|
|
2627
|
+
// Warning: (ae-missing-release-tag) "WireMessage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2628
|
+
//
|
|
2629
|
+
// @public (undocumented)
|
|
2630
|
+
export namespace WireMessage {
|
|
2631
|
+
// (undocumented)
|
|
2632
|
+
export enum Enum {
|
|
2633
|
+
// (undocumented)
|
|
2634
|
+
DELETE_COMPONENT = 2,
|
|
2635
|
+
// (undocumented)
|
|
2636
|
+
MAX_MESSAGE_TYPE = 3,
|
|
2637
|
+
// (undocumented)
|
|
2638
|
+
PUT_COMPONENT = 1,
|
|
2639
|
+
// (undocumented)
|
|
2640
|
+
RESERVED = 0
|
|
2641
|
+
}
|
|
2642
|
+
// (undocumented)
|
|
2643
|
+
export type Header = {
|
|
2644
|
+
length: Uint32;
|
|
2645
|
+
type: Uint32;
|
|
2646
|
+
};
|
|
2647
|
+
// (undocumented)
|
|
2648
|
+
export function readHeader(buf: ByteBuffer): Header | null;
|
|
2649
|
+
const // (undocumented)
|
|
2650
|
+
HEADER_LENGTH = 8;
|
|
2651
|
+
// (undocumented)
|
|
2652
|
+
export type Uint32 = number;
|
|
2653
|
+
export function validate(buf: ByteBuffer): boolean;
|
|
2654
|
+
}
|
|
2655
|
+
|
|
2656
|
+
// Warning: (ae-missing-release-tag) "YGAlign" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2657
|
+
//
|
|
2658
|
+
// @public (undocumented)
|
|
2659
|
+
export const enum YGAlign {
|
|
2660
|
+
// (undocumented)
|
|
2661
|
+
YGA_AUTO = 0,
|
|
2662
|
+
// (undocumented)
|
|
2663
|
+
YGA_BASELINE = 5,
|
|
2664
|
+
// (undocumented)
|
|
2665
|
+
YGA_CENTER = 2,
|
|
2666
|
+
// (undocumented)
|
|
2667
|
+
YGA_FLEX_END = 3,
|
|
2668
|
+
// (undocumented)
|
|
2669
|
+
YGA_FLEX_START = 1,
|
|
2670
|
+
// (undocumented)
|
|
2671
|
+
YGA_SPACE_AROUND = 7,
|
|
2672
|
+
// (undocumented)
|
|
2673
|
+
YGA_SPACE_BETWEEN = 6,
|
|
2674
|
+
// (undocumented)
|
|
2675
|
+
YGA_STRETCH = 4
|
|
2676
|
+
}
|
|
2677
|
+
|
|
2678
|
+
// Warning: (ae-missing-release-tag) "YGDisplay" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2679
|
+
//
|
|
2680
|
+
// @public (undocumented)
|
|
2681
|
+
export const enum YGDisplay {
|
|
2682
|
+
// (undocumented)
|
|
2683
|
+
YGD_FLEX = 0,
|
|
2684
|
+
// (undocumented)
|
|
2685
|
+
YGD_NONE = 1
|
|
2686
|
+
}
|
|
2687
|
+
|
|
2688
|
+
// Warning: (ae-missing-release-tag) "YGEdge" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2689
|
+
//
|
|
2690
|
+
// @public (undocumented)
|
|
2691
|
+
export const enum YGEdge {
|
|
2692
|
+
// (undocumented)
|
|
2693
|
+
YGE_ALL = 8,
|
|
2694
|
+
// (undocumented)
|
|
2695
|
+
YGE_BOTTOM = 3,
|
|
2696
|
+
// (undocumented)
|
|
2697
|
+
YGE_END = 5,
|
|
2698
|
+
// (undocumented)
|
|
2699
|
+
YGE_HORIZONTAL = 6,
|
|
2700
|
+
// (undocumented)
|
|
2701
|
+
YGE_LEFT = 0,
|
|
2702
|
+
// (undocumented)
|
|
2703
|
+
YGE_RIGHT = 2,
|
|
2704
|
+
// (undocumented)
|
|
2705
|
+
YGE_START = 4,
|
|
2706
|
+
// (undocumented)
|
|
2707
|
+
YGE_TOP = 1,
|
|
2708
|
+
// (undocumented)
|
|
2709
|
+
YGE_VERTICAL = 7
|
|
2710
|
+
}
|
|
2711
|
+
|
|
2712
|
+
// Warning: (ae-missing-release-tag) "YGFlexDirection" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2713
|
+
//
|
|
2714
|
+
// @public (undocumented)
|
|
2715
|
+
export const enum YGFlexDirection {
|
|
2716
|
+
// (undocumented)
|
|
2717
|
+
YGFD_COLUMN = 1,
|
|
2718
|
+
// (undocumented)
|
|
2719
|
+
YGFD_COLUMN_REVERSE = 2,
|
|
2720
|
+
// (undocumented)
|
|
2721
|
+
YGFD_ROW = 0,
|
|
2722
|
+
// (undocumented)
|
|
2723
|
+
YGFD_ROW_REVERSE = 3
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2726
|
+
// Warning: (ae-missing-release-tag) "YGJustify" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2727
|
+
//
|
|
2728
|
+
// @public (undocumented)
|
|
2729
|
+
export const enum YGJustify {
|
|
2730
|
+
// (undocumented)
|
|
2731
|
+
YGJ_CENTER = 1,
|
|
2732
|
+
// (undocumented)
|
|
2733
|
+
YGJ_FLEX_END = 2,
|
|
2734
|
+
// (undocumented)
|
|
2735
|
+
YGJ_FLEX_START = 0,
|
|
2736
|
+
// (undocumented)
|
|
2737
|
+
YGJ_SPACE_AROUND = 4,
|
|
2738
|
+
// (undocumented)
|
|
2739
|
+
YGJ_SPACE_BETWEEN = 3,
|
|
2740
|
+
// (undocumented)
|
|
2741
|
+
YGJ_SPACE_EVENLY = 5
|
|
2742
|
+
}
|
|
2743
|
+
|
|
2744
|
+
// Warning: (ae-missing-release-tag) "YGOverflow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2745
|
+
//
|
|
2746
|
+
// @public (undocumented)
|
|
2747
|
+
export const enum YGOverflow {
|
|
2748
|
+
// (undocumented)
|
|
2749
|
+
YGO_HIDDEN = 1,
|
|
2750
|
+
// (undocumented)
|
|
2751
|
+
YGO_SCROLL = 2,
|
|
2752
|
+
// (undocumented)
|
|
2753
|
+
YGO_VISIBLE = 0
|
|
2754
|
+
}
|
|
2755
|
+
|
|
2756
|
+
// Warning: (ae-missing-release-tag) "YGPositionType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2757
|
+
//
|
|
2758
|
+
// @public (undocumented)
|
|
2759
|
+
export const enum YGPositionType {
|
|
2760
|
+
// (undocumented)
|
|
2761
|
+
YGPT_ABSOLUTE = 1,
|
|
2762
|
+
// (undocumented)
|
|
2763
|
+
YGPT_RELATIVE = 0
|
|
2764
|
+
}
|
|
2765
|
+
|
|
2766
|
+
// Warning: (ae-missing-release-tag) "YGUnit" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2767
|
+
//
|
|
2768
|
+
// @public (undocumented)
|
|
2769
|
+
export const enum YGUnit {
|
|
2770
|
+
// (undocumented)
|
|
2771
|
+
YGU_AUTO = 3,
|
|
2772
|
+
// (undocumented)
|
|
2773
|
+
YGU_PERCENT = 2,
|
|
2774
|
+
// (undocumented)
|
|
2775
|
+
YGU_POINT = 1,
|
|
2776
|
+
// (undocumented)
|
|
2777
|
+
YGU_UNDEFINED = 0
|
|
2778
|
+
}
|
|
2779
|
+
|
|
2780
|
+
// Warning: (ae-missing-release-tag) "YGWrap" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2781
|
+
//
|
|
2782
|
+
// @public (undocumented)
|
|
2783
|
+
export const enum YGWrap {
|
|
2784
|
+
// (undocumented)
|
|
2785
|
+
YGW_NO_WRAP = 0,
|
|
2786
|
+
// (undocumented)
|
|
2787
|
+
YGW_WRAP = 1,
|
|
2788
|
+
// (undocumented)
|
|
2789
|
+
YGW_WRAP_REVERSE = 2
|
|
2790
|
+
}
|
|
2791
|
+
|
|
2792
|
+
// (No @packageDocumentation comment for this package)
|
|
2793
|
+
|
|
2794
|
+
```
|