@dcl/playground-assets 7.1.8-4756315995.commit-6d7fbd0 → 7.1.8-4757726595.commit-28cb54f
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 +95 -1
- package/dist/beta.d.ts +95 -1
- package/dist/index.bundled.d.ts +95 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +95 -1
- package/etc/playground-assets.api.json +871 -48
- package/etc/playground-assets.api.md +72 -0
- package/package.json +4 -4
|
@@ -874,6 +874,18 @@ export type GizmoSelectedEvent = {
|
|
|
874
874
|
entities: string[];
|
|
875
875
|
};
|
|
876
876
|
|
|
877
|
+
// Warning: (ae-missing-release-tag) "GlobalDirectionRaycastOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
878
|
+
//
|
|
879
|
+
// @public (undocumented)
|
|
880
|
+
export type GlobalDirectionRaycastOptions = RaycastSystemOptions & GlobalDirectionRaycastSystemOptions;
|
|
881
|
+
|
|
882
|
+
// Warning: (ae-missing-release-tag) "GlobalDirectionRaycastSystemOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
883
|
+
//
|
|
884
|
+
// @public (undocumented)
|
|
885
|
+
export type GlobalDirectionRaycastSystemOptions = {
|
|
886
|
+
direction?: PBVector3;
|
|
887
|
+
};
|
|
888
|
+
|
|
877
889
|
// Warning: (ae-missing-release-tag) "GlobalInputEventResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
878
890
|
//
|
|
879
891
|
// @public (undocumented)
|
|
@@ -881,6 +893,18 @@ export type GlobalInputEventResult = InputEventResult & {
|
|
|
881
893
|
type: 0 | 1;
|
|
882
894
|
};
|
|
883
895
|
|
|
896
|
+
// Warning: (ae-missing-release-tag) "GlobalTargetRaycastOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
897
|
+
//
|
|
898
|
+
// @public (undocumented)
|
|
899
|
+
export type GlobalTargetRaycastOptions = RaycastSystemOptions & GlobalTargetRaycastSystemOptions;
|
|
900
|
+
|
|
901
|
+
// Warning: (ae-missing-release-tag) "GlobalTargetRaycastSystemOptions" 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 type GlobalTargetRaycastSystemOptions = {
|
|
905
|
+
target?: PBVector3;
|
|
906
|
+
};
|
|
907
|
+
|
|
884
908
|
// @public (undocumented)
|
|
885
909
|
export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfContainer>;
|
|
886
910
|
|
|
@@ -1295,6 +1319,18 @@ export type Listeners = {
|
|
|
1295
1319
|
onMouseUp?: Callback;
|
|
1296
1320
|
};
|
|
1297
1321
|
|
|
1322
|
+
// Warning: (ae-missing-release-tag) "LocalDirectionRaycastOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1323
|
+
//
|
|
1324
|
+
// @public (undocumented)
|
|
1325
|
+
export type LocalDirectionRaycastOptions = RaycastSystemOptions & LocalDirectionRaycastSystemOptions;
|
|
1326
|
+
|
|
1327
|
+
// Warning: (ae-missing-release-tag) "LocalDirectionRaycastSystemOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1328
|
+
//
|
|
1329
|
+
// @public (undocumented)
|
|
1330
|
+
export type LocalDirectionRaycastSystemOptions = {
|
|
1331
|
+
direction?: PBVector3;
|
|
1332
|
+
};
|
|
1333
|
+
|
|
1298
1334
|
// Warning: (ae-missing-release-tag) "LwwComponentGetter" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1299
1335
|
//
|
|
1300
1336
|
// @public (undocumented)
|
|
@@ -2494,6 +2530,30 @@ export type RaycastResponsePayload<T> = {
|
|
|
2494
2530
|
// @public (undocumented)
|
|
2495
2531
|
export const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
|
|
2496
2532
|
|
|
2533
|
+
// @public (undocumented)
|
|
2534
|
+
export interface RaycastSystem {
|
|
2535
|
+
registerGlobalDirectionRaycast(entity: Entity, callback: RaycastSystemCallback, options?: Partial<GlobalDirectionRaycastOptions>): void;
|
|
2536
|
+
registerGlobalTargetRaycast(entity: Entity, callback: RaycastSystemCallback, options?: Partial<GlobalTargetRaycastOptions>): void;
|
|
2537
|
+
registerLocalDirectionRaycast(entity: Entity, callback: RaycastSystemCallback, options?: Partial<LocalDirectionRaycastOptions>): void;
|
|
2538
|
+
registerTargetEntityRaycast(entity: Entity, callback: RaycastSystemCallback, options?: Partial<TargetEntityRaycastOptions>): void;
|
|
2539
|
+
removeRaycasterEntity(entity: Entity): void;
|
|
2540
|
+
}
|
|
2541
|
+
|
|
2542
|
+
// @public
|
|
2543
|
+
export const raycastSystem: RaycastSystem;
|
|
2544
|
+
|
|
2545
|
+
// @public (undocumented)
|
|
2546
|
+
export type RaycastSystemCallback = (event: DeepReadonlyObject<PBRaycastResult>) => void;
|
|
2547
|
+
|
|
2548
|
+
// @public (undocumented)
|
|
2549
|
+
export type RaycastSystemOptions = {
|
|
2550
|
+
originOffset?: PBVector3 | undefined;
|
|
2551
|
+
maxDistance: number;
|
|
2552
|
+
queryType: RaycastQueryType;
|
|
2553
|
+
continuous?: boolean | undefined;
|
|
2554
|
+
collisionMask?: number | undefined;
|
|
2555
|
+
};
|
|
2556
|
+
|
|
2497
2557
|
// @public (undocumented)
|
|
2498
2558
|
export interface ReactBasedUiSystem {
|
|
2499
2559
|
// (undocumented)
|
|
@@ -2658,6 +2718,18 @@ export type SystemItem = {
|
|
|
2658
2718
|
name?: string;
|
|
2659
2719
|
};
|
|
2660
2720
|
|
|
2721
|
+
// Warning: (ae-missing-release-tag) "TargetEntityRaycastOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2722
|
+
//
|
|
2723
|
+
// @public (undocumented)
|
|
2724
|
+
export type TargetEntityRaycastOptions = RaycastSystemOptions & TargetEntityRaycastSystemOptions;
|
|
2725
|
+
|
|
2726
|
+
// Warning: (ae-missing-release-tag) "TargetEntityRaycastSystemOptions" 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 type TargetEntityRaycastSystemOptions = {
|
|
2730
|
+
targetEntity?: number;
|
|
2731
|
+
};
|
|
2732
|
+
|
|
2661
2733
|
// 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)
|
|
2662
2734
|
//
|
|
2663
2735
|
// @public (undocumented)
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.1.8-
|
|
4
|
+
"version": "7.1.8-4757726595.commit-28cb54f",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.1.8-
|
|
8
|
-
"@dcl/sdk": "7.1.8-
|
|
7
|
+
"@dcl/js-runtime": "7.1.8-4757726595.commit-28cb54f",
|
|
8
|
+
"@dcl/sdk": "7.1.8-4757726595.commit-28cb54f"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@microsoft/api-extractor": "^7.33.8"
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
},
|
|
29
29
|
"types": "./dist/index.d.ts",
|
|
30
30
|
"typings": "./dist/index.d.ts",
|
|
31
|
-
"commit": "
|
|
31
|
+
"commit": "28cb54f0e017f80c02592ebe17b35faaef720882"
|
|
32
32
|
}
|