@dcl/playground-assets 7.1.18-5157707330.commit-091fce4 → 7.1.18-5158337338.commit-735bf67
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/alpha.d.ts +87 -0
- package/dist/beta.d.ts +87 -0
- package/dist/index.bundled.d.ts +87 -0
- package/dist/index.js +6 -6
- package/dist/index.js.map +3 -3
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground/snippets/cube-spawner.ts +2 -3
- package/dist/playground/snippets/raycast-hit-many.ts +1 -5
- package/dist/playground/snippets/raycast-hit.ts +1 -5
- package/dist/playground-assets.d.ts +87 -0
- package/etc/playground-assets.api.json +1016 -105
- package/etc/playground-assets.api.md +36 -0
- package/package.json +4 -4
@@ -2862,7 +2862,17 @@ export const PointerEventsResult: GrowOnlyValueSetComponentDefinition<PBPointerE
|
|
2862
2862
|
|
2863
2863
|
// @public (undocumented)
|
2864
2864
|
export interface PointerEventsSystem {
|
2865
|
+
onPointerDown(pointerData: {
|
2866
|
+
entity: Entity;
|
2867
|
+
opts?: Partial<EventSystemOptions>;
|
2868
|
+
}, cb: EventSystemCallback): void;
|
2869
|
+
// @deprecated (undocumented)
|
2865
2870
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
2871
|
+
onPointerUp(pointerData: {
|
2872
|
+
entity: Entity;
|
2873
|
+
opts?: Partial<EventSystemOptions>;
|
2874
|
+
}, cb: EventSystemCallback): void;
|
2875
|
+
// @deprecated (undocumented)
|
2866
2876
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
2867
2877
|
removeOnPointerDown(entity: Entity): void;
|
2868
2878
|
removeOnPointerUp(entity: Entity): void;
|
@@ -3062,11 +3072,36 @@ export const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastR
|
|
3062
3072
|
|
3063
3073
|
// @public (undocumented)
|
3064
3074
|
export interface RaycastSystem {
|
3075
|
+
globalDirectionOptions(options?: Partial<GlobalDirectionRaycastOptions>): RaycastSystemOptions;
|
3076
|
+
globalTargetOptions(options?: Partial<GlobalTargetRaycastOptions>): RaycastSystemOptions;
|
3077
|
+
localDirectionOptions(options?: Partial<LocalDirectionRaycastOptions>): RaycastSystemOptions;
|
3078
|
+
registerGlobalDirectionRaycast(raycastData: {
|
3079
|
+
entity: Entity;
|
3080
|
+
opts?: Partial<GlobalDirectionRaycastOptions>;
|
3081
|
+
}, callback: RaycastSystemCallback): void;
|
3082
|
+
// @deprecated (undocumented)
|
3065
3083
|
registerGlobalDirectionRaycast(entity: Entity, callback: RaycastSystemCallback, options?: Partial<GlobalDirectionRaycastOptions>): void;
|
3084
|
+
registerGlobalTargetRaycast(raycastData: {
|
3085
|
+
entity: Entity;
|
3086
|
+
opts?: Partial<GlobalTargetRaycastOptions>;
|
3087
|
+
}, callback: RaycastSystemCallback): void;
|
3088
|
+
// @deprecated (undocumented)
|
3066
3089
|
registerGlobalTargetRaycast(entity: Entity, callback: RaycastSystemCallback, options?: Partial<GlobalTargetRaycastOptions>): void;
|
3090
|
+
registerLocalDirectionRaycast(raycastData: {
|
3091
|
+
entity: Entity;
|
3092
|
+
opts?: Partial<LocalDirectionRaycastOptions>;
|
3093
|
+
}, callback: RaycastSystemCallback): void;
|
3094
|
+
// @deprecated (undocumented)
|
3067
3095
|
registerLocalDirectionRaycast(entity: Entity, callback: RaycastSystemCallback, options?: Partial<LocalDirectionRaycastOptions>): void;
|
3096
|
+
registerRaycast(entity: Entity, options: RaycastSystemOptions): DeepReadonlyObject<PBRaycastResult> | null;
|
3097
|
+
registerTargetEntityRaycast(raycastData: {
|
3098
|
+
entity: Entity;
|
3099
|
+
opts?: Partial<TargetEntityRaycastOptions>;
|
3100
|
+
}, callback: RaycastSystemCallback): void;
|
3101
|
+
// @deprecated (undocumented)
|
3068
3102
|
registerTargetEntityRaycast(entity: Entity, callback: RaycastSystemCallback, options?: Partial<TargetEntityRaycastOptions>): void;
|
3069
3103
|
removeRaycasterEntity(entity: Entity): void;
|
3104
|
+
targetEntitytOptions(options?: Partial<TargetEntityRaycastOptions>): RaycastSystemOptions;
|
3070
3105
|
}
|
3071
3106
|
|
3072
3107
|
// @public
|
@@ -3686,6 +3721,7 @@ export const VideoEvent: GrowOnlyValueSetComponentDefinition<PBVideoEvent>;
|
|
3686
3721
|
|
3687
3722
|
// @public (undocumented)
|
3688
3723
|
export interface VideoEventsSystem {
|
3724
|
+
getVideoState(entity: Entity): DeepReadonlyObject<PBVideoEvent> | undefined;
|
3689
3725
|
// (undocumented)
|
3690
3726
|
hasVideoEventsEntity(entity: Entity): boolean;
|
3691
3727
|
// (undocumented)
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/playground-assets",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.1.18-
|
4
|
+
"version": "7.1.18-5158337338.commit-735bf67",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.1.18-
|
8
|
-
"@dcl/sdk": "7.1.18-
|
7
|
+
"@dcl/js-runtime": "7.1.18-5158337338.commit-735bf67",
|
8
|
+
"@dcl/sdk": "7.1.18-5158337338.commit-735bf67"
|
9
9
|
},
|
10
10
|
"devDependencies": {
|
11
11
|
"@microsoft/api-extractor": "^7.33.8"
|
@@ -32,5 +32,5 @@
|
|
32
32
|
},
|
33
33
|
"types": "./dist/index.d.ts",
|
34
34
|
"typings": "./dist/index.d.ts",
|
35
|
-
"commit": "
|
35
|
+
"commit": "735bf678b8390821dd0fdd6046e78963212bed6c"
|
36
36
|
}
|