@dcl/playground-assets 7.0.6-3808564125.commit-7a2650b → 7.0.6-3808892339.commit-e47ed81
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/dist/alpha.d.ts +56 -21
- package/dist/beta.d.ts +56 -21
- package/dist/index.bundled.d.ts +56 -21
- package/dist/index.js +199 -203
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/playground/sdk/dcl-sdk.package.json +8 -2
- package/dist/playground-assets.d.ts +56 -21
- package/etc/playground-assets.api.json +265 -22
- package/etc/playground-assets.api.md +57 -21
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/sdk",
|
|
3
|
-
"version": "7.0.6-
|
|
3
|
+
"version": "7.0.6-3808892339.commit-e47ed81",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"typings": "./index.d.ts",
|
|
@@ -25,5 +25,11 @@
|
|
|
25
25
|
"@dcl/unity-renderer": "1.0.68557-20221221195847.commit-f743b85"
|
|
26
26
|
},
|
|
27
27
|
"minCliVersion": "3.14.1",
|
|
28
|
-
"
|
|
28
|
+
"typedoc": {
|
|
29
|
+
"entryPoint": "./src/index.ts",
|
|
30
|
+
"readmeFile": "./README.md",
|
|
31
|
+
"displayName": "SDK",
|
|
32
|
+
"tsconfig": "./tsconfig.json"
|
|
33
|
+
},
|
|
34
|
+
"commit": "e47ed813e0b5bd0e5fd6a0fd9e2eeb80783dab27"
|
|
29
35
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import _m0 from 'protobufjs/minimal';
|
|
2
2
|
|
|
3
|
+
export declare const AMOUNT_VERSION_AVAILABLE: number;
|
|
4
|
+
|
|
3
5
|
export declare const Animator: AnimatorComponentDefinitionExtended;
|
|
4
6
|
|
|
5
7
|
/**
|
|
@@ -1182,9 +1184,20 @@ export declare type EngineEvent<T extends IEventNames = IEventNames, V = IEvents
|
|
|
1182
1184
|
};
|
|
1183
1185
|
|
|
1184
1186
|
/**
|
|
1185
|
-
* @public
|
|
1187
|
+
* @public The Entity is a number type, the cast is only for typescript, the final javascript code treat as a number
|
|
1188
|
+
* version number
|
|
1189
|
+
* [31...16][15...0]
|
|
1190
|
+
*
|
|
1191
|
+
* Convertion from entity to its compound numbers:
|
|
1192
|
+
* To get the version => ((entity & MASK_UPPER_16_ON_32) >> 16) & MAX_U16
|
|
1193
|
+
* To get the number => entity & MAX_U16
|
|
1194
|
+
*
|
|
1195
|
+
* Convertion from its compound numbers to entity:
|
|
1196
|
+
* entity = (entityNumber & MAX_U16) | ((entityVersion & MAX_U16) << 16)
|
|
1186
1197
|
*/
|
|
1187
|
-
export declare type Entity =
|
|
1198
|
+
export declare type Entity = uint32 & {
|
|
1199
|
+
__entity_type: '';
|
|
1200
|
+
};
|
|
1188
1201
|
|
|
1189
1202
|
export declare type EntityComponents = {
|
|
1190
1203
|
uiTransform: PBUiTransform;
|
|
@@ -1197,10 +1210,13 @@ export declare type EntityComponents = {
|
|
|
1197
1210
|
};
|
|
1198
1211
|
|
|
1199
1212
|
export declare function EntityContainer(): {
|
|
1200
|
-
generateEntity(
|
|
1213
|
+
generateEntity(): Entity;
|
|
1201
1214
|
removeEntity(entity: Entity): boolean;
|
|
1202
1215
|
entityExists(entity: Entity): boolean;
|
|
1203
1216
|
getExistingEntities(): Set<Entity>;
|
|
1217
|
+
entityVersion: (entity: Entity) => number;
|
|
1218
|
+
entityNumber: (entity: Entity) => number;
|
|
1219
|
+
entityId: (entityNumber: number, entityVersion: number) => Entity;
|
|
1204
1220
|
};
|
|
1205
1221
|
|
|
1206
1222
|
/**
|
|
@@ -1695,6 +1711,8 @@ export declare type MapResult<T extends Spec> = ToOptional<{
|
|
|
1695
1711
|
[K in keyof T]: T[K] extends ISchema ? ReturnType<T[K]['deserialize']> : T[K] extends Spec ? MapResult<T[K]> : never;
|
|
1696
1712
|
}>;
|
|
1697
1713
|
|
|
1714
|
+
export declare const MASK_UPPER_16_ON_32 = 4294901760;
|
|
1715
|
+
|
|
1698
1716
|
export declare const Material: MaterialComponentDefinitionExtended;
|
|
1699
1717
|
|
|
1700
1718
|
/**
|
|
@@ -2463,6 +2481,13 @@ export declare namespace Matrix {
|
|
|
2463
2481
|
export function toggleProjectionMatrixHandInPlace(self: MutableMatrix): void;
|
|
2464
2482
|
}
|
|
2465
2483
|
|
|
2484
|
+
/**
|
|
2485
|
+
* @public
|
|
2486
|
+
*/
|
|
2487
|
+
export declare const MAX_ENTITY_NUMBER = 65535;
|
|
2488
|
+
|
|
2489
|
+
export declare const MAX_U16 = 65535;
|
|
2490
|
+
|
|
2466
2491
|
export declare const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
2467
2492
|
|
|
2468
2493
|
/**
|
|
@@ -2913,10 +2938,10 @@ export declare const PBGltfContainer: {
|
|
|
2913
2938
|
|
|
2914
2939
|
export declare interface PBMaterial {
|
|
2915
2940
|
material?: {
|
|
2916
|
-
$case:
|
|
2941
|
+
$case: "unlit";
|
|
2917
2942
|
unlit: PBMaterial_UnlitMaterial;
|
|
2918
2943
|
} | {
|
|
2919
|
-
$case:
|
|
2944
|
+
$case: "pbr";
|
|
2920
2945
|
pbr: PBMaterial_PbrMaterial;
|
|
2921
2946
|
};
|
|
2922
2947
|
}
|
|
@@ -2993,16 +3018,16 @@ export declare interface PBMeshCollider {
|
|
|
2993
3018
|
/** default = ColliderLayer.Physics | ColliderLayer.Pointer */
|
|
2994
3019
|
collisionMask?: number | undefined;
|
|
2995
3020
|
mesh?: {
|
|
2996
|
-
$case:
|
|
3021
|
+
$case: "box";
|
|
2997
3022
|
box: PBMeshCollider_BoxMesh;
|
|
2998
3023
|
} | {
|
|
2999
|
-
$case:
|
|
3024
|
+
$case: "sphere";
|
|
3000
3025
|
sphere: PBMeshCollider_SphereMesh;
|
|
3001
3026
|
} | {
|
|
3002
|
-
$case:
|
|
3027
|
+
$case: "cylinder";
|
|
3003
3028
|
cylinder: PBMeshCollider_CylinderMesh;
|
|
3004
3029
|
} | {
|
|
3005
|
-
$case:
|
|
3030
|
+
$case: "plane";
|
|
3006
3031
|
plane: PBMeshCollider_PlaneMesh;
|
|
3007
3032
|
};
|
|
3008
3033
|
}
|
|
@@ -3065,16 +3090,16 @@ export declare const PBMeshCollider_SphereMesh: {
|
|
|
3065
3090
|
|
|
3066
3091
|
export declare interface PBMeshRenderer {
|
|
3067
3092
|
mesh?: {
|
|
3068
|
-
$case:
|
|
3093
|
+
$case: "box";
|
|
3069
3094
|
box: PBMeshRenderer_BoxMesh;
|
|
3070
3095
|
} | {
|
|
3071
|
-
$case:
|
|
3096
|
+
$case: "sphere";
|
|
3072
3097
|
sphere: PBMeshRenderer_SphereMesh;
|
|
3073
3098
|
} | {
|
|
3074
|
-
$case:
|
|
3099
|
+
$case: "cylinder";
|
|
3075
3100
|
cylinder: PBMeshRenderer_CylinderMesh;
|
|
3076
3101
|
} | {
|
|
3077
|
-
$case:
|
|
3102
|
+
$case: "plane";
|
|
3078
3103
|
plane: PBMeshRenderer_PlaneMesh;
|
|
3079
3104
|
};
|
|
3080
3105
|
}
|
|
@@ -3699,12 +3724,12 @@ export declare const PointerEventsResult: ComponentDefinition<PBPointerEventsRes
|
|
|
3699
3724
|
export declare type PointerEventsSystem = ReturnType<typeof createPointerEventSystem>;
|
|
3700
3725
|
|
|
3701
3726
|
export declare const pointerEventsSystem: {
|
|
3702
|
-
removeOnClick(entity:
|
|
3703
|
-
removeOnPointerDown(entity:
|
|
3704
|
-
removeOnPointerUp(entity:
|
|
3705
|
-
onClick(entity:
|
|
3706
|
-
onPointerDown(entity:
|
|
3707
|
-
onPointerUp(entity:
|
|
3727
|
+
removeOnClick(entity: Entity): void;
|
|
3728
|
+
removeOnPointerDown(entity: Entity): void;
|
|
3729
|
+
removeOnPointerUp(entity: Entity): void;
|
|
3730
|
+
onClick(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
|
|
3731
|
+
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
|
|
3732
|
+
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
|
|
3708
3733
|
};
|
|
3709
3734
|
|
|
3710
3735
|
export declare const enum PointerEventType {
|
|
@@ -4067,6 +4092,11 @@ export declare type ReceiveMessage = {
|
|
|
4067
4092
|
messageBuffer: Uint8Array;
|
|
4068
4093
|
};
|
|
4069
4094
|
|
|
4095
|
+
/**
|
|
4096
|
+
* @public This first 512 entities are reserved by the renderer
|
|
4097
|
+
*/
|
|
4098
|
+
export declare const RESERVED_STATIC_ENTITIES = 512;
|
|
4099
|
+
|
|
4070
4100
|
export declare type RPCSendableMessage = {
|
|
4071
4101
|
jsonrpc: '2.0';
|
|
4072
4102
|
id: number;
|
|
@@ -4364,10 +4394,10 @@ export declare type TextureHelper = {
|
|
|
4364
4394
|
|
|
4365
4395
|
export declare interface TextureUnion {
|
|
4366
4396
|
tex?: {
|
|
4367
|
-
$case:
|
|
4397
|
+
$case: "texture";
|
|
4368
4398
|
texture: Texture;
|
|
4369
4399
|
} | {
|
|
4370
|
-
$case:
|
|
4400
|
+
$case: "avatarTexture";
|
|
4371
4401
|
avatarTexture: AvatarTexture;
|
|
4372
4402
|
};
|
|
4373
4403
|
}
|
|
@@ -4507,6 +4537,11 @@ export declare type UiInputProps = PBUiInput & {
|
|
|
4507
4537
|
/** @public */
|
|
4508
4538
|
export declare const UiInputResult: ComponentDefinition<PBUiInputResult>;
|
|
4509
4539
|
|
|
4540
|
+
/**
|
|
4541
|
+
* @public It only defines the type explicitly, no effects.
|
|
4542
|
+
*/
|
|
4543
|
+
export declare type uint32 = number;
|
|
4544
|
+
|
|
4510
4545
|
/** @public */
|
|
4511
4546
|
export declare const UiText: ComponentDefinition<PBUiText>;
|
|
4512
4547
|
|
|
@@ -172,6 +172,29 @@
|
|
|
172
172
|
"name": "",
|
|
173
173
|
"preserveMemberOrder": false,
|
|
174
174
|
"members": [
|
|
175
|
+
{
|
|
176
|
+
"kind": "Variable",
|
|
177
|
+
"canonicalReference": "@dcl/playground-assets!AMOUNT_VERSION_AVAILABLE:var",
|
|
178
|
+
"docComment": "",
|
|
179
|
+
"excerptTokens": [
|
|
180
|
+
{
|
|
181
|
+
"kind": "Content",
|
|
182
|
+
"text": "AMOUNT_VERSION_AVAILABLE: "
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"kind": "Content",
|
|
186
|
+
"text": "number"
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
"fileUrlPath": "../ecs/dist/engine/entity.d.ts",
|
|
190
|
+
"isReadonly": true,
|
|
191
|
+
"releaseTag": "Public",
|
|
192
|
+
"name": "AMOUNT_VERSION_AVAILABLE",
|
|
193
|
+
"variableTypeTokenRange": {
|
|
194
|
+
"startIndex": 1,
|
|
195
|
+
"endIndex": 2
|
|
196
|
+
}
|
|
197
|
+
},
|
|
175
198
|
{
|
|
176
199
|
"kind": "Variable",
|
|
177
200
|
"canonicalReference": "@dcl/playground-assets!Animator:var",
|
|
@@ -8511,15 +8534,20 @@
|
|
|
8511
8534
|
{
|
|
8512
8535
|
"kind": "TypeAlias",
|
|
8513
8536
|
"canonicalReference": "@dcl/playground-assets!Entity:type",
|
|
8514
|
-
"docComment": "/**\n * @public\n */\n",
|
|
8537
|
+
"docComment": "/**\n * The Entity is a number type, the cast is only for typescript, the final javascript code treat as a number version number [31...16][15...0]\n *\n * Convertion from entity to its compound numbers: To get the version => ((entity & MASK_UPPER_16_ON_32) >> 16) & MAX_U16 To get the number => entity & MAX_U16\n *\n * Convertion from its compound numbers to entity: entity = (entityNumber & MAX_U16) | ((entityVersion & MAX_U16) << 16)\n *\n * @public\n */\n",
|
|
8515
8538
|
"excerptTokens": [
|
|
8516
8539
|
{
|
|
8517
8540
|
"kind": "Content",
|
|
8518
8541
|
"text": "export declare type Entity = "
|
|
8519
8542
|
},
|
|
8543
|
+
{
|
|
8544
|
+
"kind": "Reference",
|
|
8545
|
+
"text": "uint32",
|
|
8546
|
+
"canonicalReference": "@dcl/playground-assets!uint32:type"
|
|
8547
|
+
},
|
|
8520
8548
|
{
|
|
8521
8549
|
"kind": "Content",
|
|
8522
|
-
"text": "
|
|
8550
|
+
"text": " & {\n __entity_type: '';\n}"
|
|
8523
8551
|
},
|
|
8524
8552
|
{
|
|
8525
8553
|
"kind": "Content",
|
|
@@ -8531,7 +8559,7 @@
|
|
|
8531
8559
|
"name": "Entity",
|
|
8532
8560
|
"typeTokenRange": {
|
|
8533
8561
|
"startIndex": 1,
|
|
8534
|
-
"endIndex":
|
|
8562
|
+
"endIndex": 3
|
|
8535
8563
|
}
|
|
8536
8564
|
},
|
|
8537
8565
|
{
|
|
@@ -8634,7 +8662,7 @@
|
|
|
8634
8662
|
},
|
|
8635
8663
|
{
|
|
8636
8664
|
"kind": "Content",
|
|
8637
|
-
"text": "{\n generateEntity(
|
|
8665
|
+
"text": "{\n generateEntity(): "
|
|
8638
8666
|
},
|
|
8639
8667
|
{
|
|
8640
8668
|
"kind": "Reference",
|
|
@@ -8679,7 +8707,34 @@
|
|
|
8679
8707
|
},
|
|
8680
8708
|
{
|
|
8681
8709
|
"kind": "Content",
|
|
8682
|
-
"text": ">;\n
|
|
8710
|
+
"text": ">;\n entityVersion: (entity: "
|
|
8711
|
+
},
|
|
8712
|
+
{
|
|
8713
|
+
"kind": "Reference",
|
|
8714
|
+
"text": "Entity",
|
|
8715
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
8716
|
+
},
|
|
8717
|
+
{
|
|
8718
|
+
"kind": "Content",
|
|
8719
|
+
"text": ") => number;\n entityNumber: (entity: "
|
|
8720
|
+
},
|
|
8721
|
+
{
|
|
8722
|
+
"kind": "Reference",
|
|
8723
|
+
"text": "Entity",
|
|
8724
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
8725
|
+
},
|
|
8726
|
+
{
|
|
8727
|
+
"kind": "Content",
|
|
8728
|
+
"text": ") => number;\n entityId: (entityNumber: number, entityVersion: number) => "
|
|
8729
|
+
},
|
|
8730
|
+
{
|
|
8731
|
+
"kind": "Reference",
|
|
8732
|
+
"text": "Entity",
|
|
8733
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
8734
|
+
},
|
|
8735
|
+
{
|
|
8736
|
+
"kind": "Content",
|
|
8737
|
+
"text": ";\n}"
|
|
8683
8738
|
},
|
|
8684
8739
|
{
|
|
8685
8740
|
"kind": "Content",
|
|
@@ -8689,7 +8744,7 @@
|
|
|
8689
8744
|
"fileUrlPath": "../ecs/dist/engine/entity.d.ts",
|
|
8690
8745
|
"returnTypeTokenRange": {
|
|
8691
8746
|
"startIndex": 1,
|
|
8692
|
-
"endIndex":
|
|
8747
|
+
"endIndex": 18
|
|
8693
8748
|
},
|
|
8694
8749
|
"releaseTag": "Public",
|
|
8695
8750
|
"overloadIndex": 1,
|
|
@@ -12260,6 +12315,33 @@
|
|
|
12260
12315
|
"endIndex": 13
|
|
12261
12316
|
}
|
|
12262
12317
|
},
|
|
12318
|
+
{
|
|
12319
|
+
"kind": "Variable",
|
|
12320
|
+
"canonicalReference": "@dcl/playground-assets!MASK_UPPER_16_ON_32:var",
|
|
12321
|
+
"docComment": "",
|
|
12322
|
+
"excerptTokens": [
|
|
12323
|
+
{
|
|
12324
|
+
"kind": "Content",
|
|
12325
|
+
"text": "MASK_UPPER_16_ON_32 = "
|
|
12326
|
+
},
|
|
12327
|
+
{
|
|
12328
|
+
"kind": "Content",
|
|
12329
|
+
"text": "4294901760"
|
|
12330
|
+
}
|
|
12331
|
+
],
|
|
12332
|
+
"fileUrlPath": "../ecs/dist/engine/entity.d.ts",
|
|
12333
|
+
"initializerTokenRange": {
|
|
12334
|
+
"startIndex": 1,
|
|
12335
|
+
"endIndex": 2
|
|
12336
|
+
},
|
|
12337
|
+
"isReadonly": true,
|
|
12338
|
+
"releaseTag": "Public",
|
|
12339
|
+
"name": "MASK_UPPER_16_ON_32",
|
|
12340
|
+
"variableTypeTokenRange": {
|
|
12341
|
+
"startIndex": 0,
|
|
12342
|
+
"endIndex": 0
|
|
12343
|
+
}
|
|
12344
|
+
},
|
|
12263
12345
|
{
|
|
12264
12346
|
"kind": "Variable",
|
|
12265
12347
|
"canonicalReference": "@dcl/playground-assets!Material:var",
|
|
@@ -19692,6 +19774,60 @@
|
|
|
19692
19774
|
}
|
|
19693
19775
|
]
|
|
19694
19776
|
},
|
|
19777
|
+
{
|
|
19778
|
+
"kind": "Variable",
|
|
19779
|
+
"canonicalReference": "@dcl/playground-assets!MAX_ENTITY_NUMBER:var",
|
|
19780
|
+
"docComment": "/**\n * @public\n */\n",
|
|
19781
|
+
"excerptTokens": [
|
|
19782
|
+
{
|
|
19783
|
+
"kind": "Content",
|
|
19784
|
+
"text": "MAX_ENTITY_NUMBER = "
|
|
19785
|
+
},
|
|
19786
|
+
{
|
|
19787
|
+
"kind": "Content",
|
|
19788
|
+
"text": "65535"
|
|
19789
|
+
}
|
|
19790
|
+
],
|
|
19791
|
+
"fileUrlPath": "../ecs/dist/engine/entity.d.ts",
|
|
19792
|
+
"initializerTokenRange": {
|
|
19793
|
+
"startIndex": 1,
|
|
19794
|
+
"endIndex": 2
|
|
19795
|
+
},
|
|
19796
|
+
"isReadonly": true,
|
|
19797
|
+
"releaseTag": "Public",
|
|
19798
|
+
"name": "MAX_ENTITY_NUMBER",
|
|
19799
|
+
"variableTypeTokenRange": {
|
|
19800
|
+
"startIndex": 0,
|
|
19801
|
+
"endIndex": 0
|
|
19802
|
+
}
|
|
19803
|
+
},
|
|
19804
|
+
{
|
|
19805
|
+
"kind": "Variable",
|
|
19806
|
+
"canonicalReference": "@dcl/playground-assets!MAX_U16:var",
|
|
19807
|
+
"docComment": "",
|
|
19808
|
+
"excerptTokens": [
|
|
19809
|
+
{
|
|
19810
|
+
"kind": "Content",
|
|
19811
|
+
"text": "MAX_U16 = "
|
|
19812
|
+
},
|
|
19813
|
+
{
|
|
19814
|
+
"kind": "Content",
|
|
19815
|
+
"text": "65535"
|
|
19816
|
+
}
|
|
19817
|
+
],
|
|
19818
|
+
"fileUrlPath": "../ecs/dist/engine/entity.d.ts",
|
|
19819
|
+
"initializerTokenRange": {
|
|
19820
|
+
"startIndex": 1,
|
|
19821
|
+
"endIndex": 2
|
|
19822
|
+
},
|
|
19823
|
+
"isReadonly": true,
|
|
19824
|
+
"releaseTag": "Public",
|
|
19825
|
+
"name": "MAX_U16",
|
|
19826
|
+
"variableTypeTokenRange": {
|
|
19827
|
+
"startIndex": 0,
|
|
19828
|
+
"endIndex": 0
|
|
19829
|
+
}
|
|
19830
|
+
},
|
|
19695
19831
|
{
|
|
19696
19832
|
"kind": "Variable",
|
|
19697
19833
|
"canonicalReference": "@dcl/playground-assets!MeshCollider:var",
|
|
@@ -26398,7 +26534,7 @@
|
|
|
26398
26534
|
},
|
|
26399
26535
|
{
|
|
26400
26536
|
"kind": "Content",
|
|
26401
|
-
"text": "{\n $case:
|
|
26537
|
+
"text": "{\n $case: \"unlit\";\n unlit: "
|
|
26402
26538
|
},
|
|
26403
26539
|
{
|
|
26404
26540
|
"kind": "Reference",
|
|
@@ -26407,7 +26543,7 @@
|
|
|
26407
26543
|
},
|
|
26408
26544
|
{
|
|
26409
26545
|
"kind": "Content",
|
|
26410
|
-
"text": ";\n } | {\n $case:
|
|
26546
|
+
"text": ";\n } | {\n $case: \"pbr\";\n pbr: "
|
|
26411
26547
|
},
|
|
26412
26548
|
{
|
|
26413
26549
|
"kind": "Reference",
|
|
@@ -26996,7 +27132,7 @@
|
|
|
26996
27132
|
},
|
|
26997
27133
|
{
|
|
26998
27134
|
"kind": "Content",
|
|
26999
|
-
"text": "{\n $case:
|
|
27135
|
+
"text": "{\n $case: \"box\";\n box: "
|
|
27000
27136
|
},
|
|
27001
27137
|
{
|
|
27002
27138
|
"kind": "Reference",
|
|
@@ -27005,7 +27141,7 @@
|
|
|
27005
27141
|
},
|
|
27006
27142
|
{
|
|
27007
27143
|
"kind": "Content",
|
|
27008
|
-
"text": ";\n } | {\n $case:
|
|
27144
|
+
"text": ";\n } | {\n $case: \"sphere\";\n sphere: "
|
|
27009
27145
|
},
|
|
27010
27146
|
{
|
|
27011
27147
|
"kind": "Reference",
|
|
@@ -27014,7 +27150,7 @@
|
|
|
27014
27150
|
},
|
|
27015
27151
|
{
|
|
27016
27152
|
"kind": "Content",
|
|
27017
|
-
"text": ";\n } | {\n $case:
|
|
27153
|
+
"text": ";\n } | {\n $case: \"cylinder\";\n cylinder: "
|
|
27018
27154
|
},
|
|
27019
27155
|
{
|
|
27020
27156
|
"kind": "Reference",
|
|
@@ -27023,7 +27159,7 @@
|
|
|
27023
27159
|
},
|
|
27024
27160
|
{
|
|
27025
27161
|
"kind": "Content",
|
|
27026
|
-
"text": ";\n } | {\n $case:
|
|
27162
|
+
"text": ";\n } | {\n $case: \"plane\";\n plane: "
|
|
27027
27163
|
},
|
|
27028
27164
|
{
|
|
27029
27165
|
"kind": "Reference",
|
|
@@ -27641,7 +27777,7 @@
|
|
|
27641
27777
|
},
|
|
27642
27778
|
{
|
|
27643
27779
|
"kind": "Content",
|
|
27644
|
-
"text": "{\n $case:
|
|
27780
|
+
"text": "{\n $case: \"box\";\n box: "
|
|
27645
27781
|
},
|
|
27646
27782
|
{
|
|
27647
27783
|
"kind": "Reference",
|
|
@@ -27650,7 +27786,7 @@
|
|
|
27650
27786
|
},
|
|
27651
27787
|
{
|
|
27652
27788
|
"kind": "Content",
|
|
27653
|
-
"text": ";\n } | {\n $case:
|
|
27789
|
+
"text": ";\n } | {\n $case: \"sphere\";\n sphere: "
|
|
27654
27790
|
},
|
|
27655
27791
|
{
|
|
27656
27792
|
"kind": "Reference",
|
|
@@ -27659,7 +27795,7 @@
|
|
|
27659
27795
|
},
|
|
27660
27796
|
{
|
|
27661
27797
|
"kind": "Content",
|
|
27662
|
-
"text": ";\n } | {\n $case:
|
|
27798
|
+
"text": ";\n } | {\n $case: \"cylinder\";\n cylinder: "
|
|
27663
27799
|
},
|
|
27664
27800
|
{
|
|
27665
27801
|
"kind": "Reference",
|
|
@@ -27668,7 +27804,7 @@
|
|
|
27668
27804
|
},
|
|
27669
27805
|
{
|
|
27670
27806
|
"kind": "Content",
|
|
27671
|
-
"text": ";\n } | {\n $case:
|
|
27807
|
+
"text": ";\n } | {\n $case: \"plane\";\n plane: "
|
|
27672
27808
|
},
|
|
27673
27809
|
{
|
|
27674
27810
|
"kind": "Reference",
|
|
@@ -34686,7 +34822,43 @@
|
|
|
34686
34822
|
},
|
|
34687
34823
|
{
|
|
34688
34824
|
"kind": "Content",
|
|
34689
|
-
"text": "{\n removeOnClick(entity:
|
|
34825
|
+
"text": "{\n removeOnClick(entity: import(\"../../engine\")."
|
|
34826
|
+
},
|
|
34827
|
+
{
|
|
34828
|
+
"kind": "Reference",
|
|
34829
|
+
"text": "Entity",
|
|
34830
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
34831
|
+
},
|
|
34832
|
+
{
|
|
34833
|
+
"kind": "Content",
|
|
34834
|
+
"text": "): void;\n removeOnPointerDown(entity: import(\"../../engine\")."
|
|
34835
|
+
},
|
|
34836
|
+
{
|
|
34837
|
+
"kind": "Reference",
|
|
34838
|
+
"text": "Entity",
|
|
34839
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
34840
|
+
},
|
|
34841
|
+
{
|
|
34842
|
+
"kind": "Content",
|
|
34843
|
+
"text": "): void;\n removeOnPointerUp(entity: import(\"../../engine\")."
|
|
34844
|
+
},
|
|
34845
|
+
{
|
|
34846
|
+
"kind": "Reference",
|
|
34847
|
+
"text": "Entity",
|
|
34848
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
34849
|
+
},
|
|
34850
|
+
{
|
|
34851
|
+
"kind": "Content",
|
|
34852
|
+
"text": "): void;\n onClick(entity: import(\"../../engine\")."
|
|
34853
|
+
},
|
|
34854
|
+
{
|
|
34855
|
+
"kind": "Reference",
|
|
34856
|
+
"text": "Entity",
|
|
34857
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
34858
|
+
},
|
|
34859
|
+
{
|
|
34860
|
+
"kind": "Content",
|
|
34861
|
+
"text": ", cb: import(\"../../systems/events\")."
|
|
34690
34862
|
},
|
|
34691
34863
|
{
|
|
34692
34864
|
"kind": "Reference",
|
|
@@ -34713,7 +34885,16 @@
|
|
|
34713
34885
|
},
|
|
34714
34886
|
{
|
|
34715
34887
|
"kind": "Content",
|
|
34716
|
-
"text": "> | undefined): void;\n onPointerDown(entity:
|
|
34888
|
+
"text": "> | undefined): void;\n onPointerDown(entity: import(\"../../engine\")."
|
|
34889
|
+
},
|
|
34890
|
+
{
|
|
34891
|
+
"kind": "Reference",
|
|
34892
|
+
"text": "Entity",
|
|
34893
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
34894
|
+
},
|
|
34895
|
+
{
|
|
34896
|
+
"kind": "Content",
|
|
34897
|
+
"text": ", cb: import(\"../../systems/events\")."
|
|
34717
34898
|
},
|
|
34718
34899
|
{
|
|
34719
34900
|
"kind": "Reference",
|
|
@@ -34740,7 +34921,16 @@
|
|
|
34740
34921
|
},
|
|
34741
34922
|
{
|
|
34742
34923
|
"kind": "Content",
|
|
34743
|
-
"text": "> | undefined): void;\n onPointerUp(entity:
|
|
34924
|
+
"text": "> | undefined): void;\n onPointerUp(entity: import(\"../../engine\")."
|
|
34925
|
+
},
|
|
34926
|
+
{
|
|
34927
|
+
"kind": "Reference",
|
|
34928
|
+
"text": "Entity",
|
|
34929
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
34930
|
+
},
|
|
34931
|
+
{
|
|
34932
|
+
"kind": "Content",
|
|
34933
|
+
"text": ", cb: import(\"../../systems/events\")."
|
|
34744
34934
|
},
|
|
34745
34935
|
{
|
|
34746
34936
|
"kind": "Reference",
|
|
@@ -34776,7 +34966,7 @@
|
|
|
34776
34966
|
"name": "pointerEventsSystem",
|
|
34777
34967
|
"variableTypeTokenRange": {
|
|
34778
34968
|
"startIndex": 1,
|
|
34779
|
-
"endIndex":
|
|
34969
|
+
"endIndex": 32
|
|
34780
34970
|
}
|
|
34781
34971
|
},
|
|
34782
34972
|
{
|
|
@@ -37789,6 +37979,33 @@
|
|
|
37789
37979
|
"endIndex": 10
|
|
37790
37980
|
}
|
|
37791
37981
|
},
|
|
37982
|
+
{
|
|
37983
|
+
"kind": "Variable",
|
|
37984
|
+
"canonicalReference": "@dcl/playground-assets!RESERVED_STATIC_ENTITIES:var",
|
|
37985
|
+
"docComment": "/**\n * This first 512 entities are reserved by the renderer\n *\n * @public\n */\n",
|
|
37986
|
+
"excerptTokens": [
|
|
37987
|
+
{
|
|
37988
|
+
"kind": "Content",
|
|
37989
|
+
"text": "RESERVED_STATIC_ENTITIES = "
|
|
37990
|
+
},
|
|
37991
|
+
{
|
|
37992
|
+
"kind": "Content",
|
|
37993
|
+
"text": "512"
|
|
37994
|
+
}
|
|
37995
|
+
],
|
|
37996
|
+
"fileUrlPath": "../ecs/dist/engine/entity.d.ts",
|
|
37997
|
+
"initializerTokenRange": {
|
|
37998
|
+
"startIndex": 1,
|
|
37999
|
+
"endIndex": 2
|
|
38000
|
+
},
|
|
38001
|
+
"isReadonly": true,
|
|
38002
|
+
"releaseTag": "Public",
|
|
38003
|
+
"name": "RESERVED_STATIC_ENTITIES",
|
|
38004
|
+
"variableTypeTokenRange": {
|
|
38005
|
+
"startIndex": 0,
|
|
38006
|
+
"endIndex": 0
|
|
38007
|
+
}
|
|
38008
|
+
},
|
|
37792
38009
|
{
|
|
37793
38010
|
"kind": "TypeAlias",
|
|
37794
38011
|
"canonicalReference": "@dcl/playground-assets!RPCSendableMessage:type",
|
|
@@ -40641,7 +40858,7 @@
|
|
|
40641
40858
|
},
|
|
40642
40859
|
{
|
|
40643
40860
|
"kind": "Content",
|
|
40644
|
-
"text": "{\n $case:
|
|
40861
|
+
"text": "{\n $case: \"texture\";\n texture: "
|
|
40645
40862
|
},
|
|
40646
40863
|
{
|
|
40647
40864
|
"kind": "Reference",
|
|
@@ -40650,7 +40867,7 @@
|
|
|
40650
40867
|
},
|
|
40651
40868
|
{
|
|
40652
40869
|
"kind": "Content",
|
|
40653
|
-
"text": ";\n } | {\n $case:
|
|
40870
|
+
"text": ";\n } | {\n $case: \"avatarTexture\";\n avatarTexture: "
|
|
40654
40871
|
},
|
|
40655
40872
|
{
|
|
40656
40873
|
"kind": "Reference",
|
|
@@ -41849,6 +42066,32 @@
|
|
|
41849
42066
|
"endIndex": 5
|
|
41850
42067
|
}
|
|
41851
42068
|
},
|
|
42069
|
+
{
|
|
42070
|
+
"kind": "TypeAlias",
|
|
42071
|
+
"canonicalReference": "@dcl/playground-assets!uint32:type",
|
|
42072
|
+
"docComment": "/**\n * It only defines the type explicitly, no effects.\n *\n * @public\n */\n",
|
|
42073
|
+
"excerptTokens": [
|
|
42074
|
+
{
|
|
42075
|
+
"kind": "Content",
|
|
42076
|
+
"text": "export declare type uint32 = "
|
|
42077
|
+
},
|
|
42078
|
+
{
|
|
42079
|
+
"kind": "Content",
|
|
42080
|
+
"text": "number"
|
|
42081
|
+
},
|
|
42082
|
+
{
|
|
42083
|
+
"kind": "Content",
|
|
42084
|
+
"text": ";"
|
|
42085
|
+
}
|
|
42086
|
+
],
|
|
42087
|
+
"fileUrlPath": "../ecs/dist/engine/entity.d.ts",
|
|
42088
|
+
"releaseTag": "Public",
|
|
42089
|
+
"name": "uint32",
|
|
42090
|
+
"typeTokenRange": {
|
|
42091
|
+
"startIndex": 1,
|
|
42092
|
+
"endIndex": 2
|
|
42093
|
+
}
|
|
42094
|
+
},
|
|
41852
42095
|
{
|
|
41853
42096
|
"kind": "Variable",
|
|
41854
42097
|
"canonicalReference": "@dcl/playground-assets!UiText:var",
|