@dcl/playground-assets 7.22.3-23911510253.commit-490338c → 7.22.3-24081083817.commit-714809b
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 +305 -0
- package/dist/beta.d.ts +305 -0
- package/dist/index.bundled.d.ts +305 -0
- package/dist/index.js +6 -6
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/apis.d.ts +5 -0
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +305 -0
- package/dist/tsdoc-metadata.json +1 -1
- package/etc/playground-assets.api.json +3569 -52
- package/etc/playground-assets.api.md +229 -0
- package/package.json +4 -4
|
@@ -610,6 +610,22 @@ export type Color4Type = {
|
|
|
610
610
|
a: number;
|
|
611
611
|
};
|
|
612
612
|
|
|
613
|
+
// @public (undocumented)
|
|
614
|
+
export interface ColorRange {
|
|
615
|
+
// (undocumented)
|
|
616
|
+
end: PBColor4 | undefined;
|
|
617
|
+
// (undocumented)
|
|
618
|
+
start: PBColor4 | undefined;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
// @public (undocumented)
|
|
622
|
+
export namespace ColorRange {
|
|
623
|
+
// (undocumented)
|
|
624
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ColorRange;
|
|
625
|
+
// (undocumented)
|
|
626
|
+
export function encode(message: ColorRange, writer?: _m0.Writer): _m0.Writer;
|
|
627
|
+
}
|
|
628
|
+
|
|
613
629
|
// @public (undocumented)
|
|
614
630
|
export interface ComponentData {
|
|
615
631
|
// (undocumented)
|
|
@@ -667,6 +683,7 @@ export const componentDefinitionByName: {
|
|
|
667
683
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
668
684
|
"core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
|
|
669
685
|
"core::NftShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
|
|
686
|
+
"core::ParticleSystem": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBParticleSystem>>;
|
|
670
687
|
"core::PhysicsCombinedForce": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedForce>>;
|
|
671
688
|
"core::PhysicsCombinedImpulse": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>>;
|
|
672
689
|
"core::PlayerIdentityData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>>;
|
|
@@ -1228,6 +1245,22 @@ export type FlexWrapType = 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
|
1228
1245
|
// @public (undocumented)
|
|
1229
1246
|
export type FloatArray = number[];
|
|
1230
1247
|
|
|
1248
|
+
// @public (undocumented)
|
|
1249
|
+
export interface FloatRange {
|
|
1250
|
+
// (undocumented)
|
|
1251
|
+
end: number;
|
|
1252
|
+
// (undocumented)
|
|
1253
|
+
start: number;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
// @public (undocumented)
|
|
1257
|
+
export namespace FloatRange {
|
|
1258
|
+
// (undocumented)
|
|
1259
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): FloatRange;
|
|
1260
|
+
// (undocumented)
|
|
1261
|
+
export function encode(message: FloatRange, writer?: _m0.Writer): _m0.Writer;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1231
1264
|
// @public (undocumented)
|
|
1232
1265
|
export const enum Font {
|
|
1233
1266
|
// (undocumented)
|
|
@@ -2240,6 +2273,24 @@ export const onVideoEvent: Observable<{
|
|
|
2240
2273
|
// @public
|
|
2241
2274
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
2242
2275
|
|
|
2276
|
+
// Warning: (ae-missing-release-tag) "ParticleSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2277
|
+
//
|
|
2278
|
+
// @public (undocumented)
|
|
2279
|
+
export const ParticleSystem: ParticleSystemComponentDefinitionExtended;
|
|
2280
|
+
|
|
2281
|
+
// @public (undocumented)
|
|
2282
|
+
export interface ParticleSystemComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBParticleSystem> {
|
|
2283
|
+
Shape: ParticleSystemHelper;
|
|
2284
|
+
}
|
|
2285
|
+
|
|
2286
|
+
// @public (undocumented)
|
|
2287
|
+
export interface ParticleSystemHelper {
|
|
2288
|
+
Box: (box?: PBParticleSystem_Box) => PBParticleSystem['shape'];
|
|
2289
|
+
Cone: (cone?: PBParticleSystem_Cone) => PBParticleSystem['shape'];
|
|
2290
|
+
Point: (point?: PBParticleSystem_Point) => PBParticleSystem['shape'];
|
|
2291
|
+
Sphere: (sphere?: PBParticleSystem_Sphere) => PBParticleSystem['shape'];
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2243
2294
|
// @public (undocumented)
|
|
2244
2295
|
export interface PBAnimationState {
|
|
2245
2296
|
clip: string;
|
|
@@ -2956,6 +3007,184 @@ export namespace PBNftShape {
|
|
|
2956
3007
|
export function encode(message: PBNftShape, writer?: _m0.Writer): _m0.Writer;
|
|
2957
3008
|
}
|
|
2958
3009
|
|
|
3010
|
+
// @public (undocumented)
|
|
3011
|
+
export interface PBParticleSystem {
|
|
3012
|
+
active?: boolean | undefined;
|
|
3013
|
+
additionalForce?: PBVector3 | undefined;
|
|
3014
|
+
billboard?: boolean | undefined;
|
|
3015
|
+
blendMode?: PBParticleSystem_BlendMode | undefined;
|
|
3016
|
+
bursts: PBParticleSystem_Burst[];
|
|
3017
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
3018
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
3019
|
+
colorOverTime?: ColorRange | undefined;
|
|
3020
|
+
faceTravelDirection?: boolean | undefined;
|
|
3021
|
+
gravity?: number | undefined;
|
|
3022
|
+
initialColor?: ColorRange | undefined;
|
|
3023
|
+
initialRotation?: PBQuaternion | undefined;
|
|
3024
|
+
initialSize?: FloatRange | undefined;
|
|
3025
|
+
initialVelocitySpeed?: FloatRange | undefined;
|
|
3026
|
+
lifetime?: number | undefined;
|
|
3027
|
+
limitVelocity?: PBParticleSystem_LimitVelocity | undefined;
|
|
3028
|
+
loop?: boolean | undefined;
|
|
3029
|
+
maxParticles?: number | undefined;
|
|
3030
|
+
playbackState?: PBParticleSystem_PlaybackState | undefined;
|
|
3031
|
+
prewarm?: boolean | undefined;
|
|
3032
|
+
rate?: number | undefined;
|
|
3033
|
+
rotationOverTime?: PBQuaternion | undefined;
|
|
3034
|
+
// (undocumented)
|
|
3035
|
+
shape?: {
|
|
3036
|
+
$case: "point";
|
|
3037
|
+
point: PBParticleSystem_Point;
|
|
3038
|
+
} | {
|
|
3039
|
+
$case: "sphere";
|
|
3040
|
+
sphere: PBParticleSystem_Sphere;
|
|
3041
|
+
} | {
|
|
3042
|
+
$case: "cone";
|
|
3043
|
+
cone: PBParticleSystem_Cone;
|
|
3044
|
+
} | {
|
|
3045
|
+
$case: "box";
|
|
3046
|
+
box: PBParticleSystem_Box;
|
|
3047
|
+
} | undefined;
|
|
3048
|
+
simulationSpace?: PBParticleSystem_SimulationSpace | undefined;
|
|
3049
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
3050
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
3051
|
+
sizeOverTime?: FloatRange | undefined;
|
|
3052
|
+
spriteSheet?: PBParticleSystem_SpriteSheetAnimation | undefined;
|
|
3053
|
+
texture?: Texture | undefined;
|
|
3054
|
+
}
|
|
3055
|
+
|
|
3056
|
+
// @public (undocumented)
|
|
3057
|
+
export namespace PBParticleSystem {
|
|
3058
|
+
// (undocumented)
|
|
3059
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem;
|
|
3060
|
+
// (undocumented)
|
|
3061
|
+
export function encode(message: PBParticleSystem, writer?: _m0.Writer): _m0.Writer;
|
|
3062
|
+
}
|
|
3063
|
+
|
|
3064
|
+
// @public (undocumented)
|
|
3065
|
+
const enum PBParticleSystem_BlendMode {
|
|
3066
|
+
PSB_ADD = 1,
|
|
3067
|
+
PSB_ALPHA = 0,
|
|
3068
|
+
PSB_MULTIPLY = 2
|
|
3069
|
+
}
|
|
3070
|
+
export { PBParticleSystem_BlendMode }
|
|
3071
|
+
export { PBParticleSystem_BlendMode as ParticleSystemBlendMode }
|
|
3072
|
+
|
|
3073
|
+
// @public (undocumented)
|
|
3074
|
+
export interface PBParticleSystem_Box {
|
|
3075
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
3076
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
3077
|
+
size?: PBVector3 | undefined;
|
|
3078
|
+
}
|
|
3079
|
+
|
|
3080
|
+
// @public (undocumented)
|
|
3081
|
+
export namespace PBParticleSystem_Box {
|
|
3082
|
+
// (undocumented)
|
|
3083
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Box;
|
|
3084
|
+
// (undocumented)
|
|
3085
|
+
export function encode(message: PBParticleSystem_Box, writer?: _m0.Writer): _m0.Writer;
|
|
3086
|
+
}
|
|
3087
|
+
|
|
3088
|
+
// @public (undocumented)
|
|
3089
|
+
export interface PBParticleSystem_Burst {
|
|
3090
|
+
count: number;
|
|
3091
|
+
cycles?: number | undefined;
|
|
3092
|
+
interval?: number | undefined;
|
|
3093
|
+
probability?: number | undefined;
|
|
3094
|
+
time: number;
|
|
3095
|
+
}
|
|
3096
|
+
|
|
3097
|
+
// @public (undocumented)
|
|
3098
|
+
export namespace PBParticleSystem_Burst {
|
|
3099
|
+
// (undocumented)
|
|
3100
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Burst;
|
|
3101
|
+
// (undocumented)
|
|
3102
|
+
export function encode(message: PBParticleSystem_Burst, writer?: _m0.Writer): _m0.Writer;
|
|
3103
|
+
}
|
|
3104
|
+
|
|
3105
|
+
// @public (undocumented)
|
|
3106
|
+
export interface PBParticleSystem_Cone {
|
|
3107
|
+
angle?: number | undefined;
|
|
3108
|
+
radius?: number | undefined;
|
|
3109
|
+
}
|
|
3110
|
+
|
|
3111
|
+
// @public (undocumented)
|
|
3112
|
+
export namespace PBParticleSystem_Cone {
|
|
3113
|
+
// (undocumented)
|
|
3114
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Cone;
|
|
3115
|
+
// (undocumented)
|
|
3116
|
+
export function encode(message: PBParticleSystem_Cone, writer?: _m0.Writer): _m0.Writer;
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3119
|
+
// @public (undocumented)
|
|
3120
|
+
export interface PBParticleSystem_LimitVelocity {
|
|
3121
|
+
dampen?: number | undefined;
|
|
3122
|
+
speed: number;
|
|
3123
|
+
}
|
|
3124
|
+
|
|
3125
|
+
// @public (undocumented)
|
|
3126
|
+
export namespace PBParticleSystem_LimitVelocity {
|
|
3127
|
+
// (undocumented)
|
|
3128
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_LimitVelocity;
|
|
3129
|
+
// (undocumented)
|
|
3130
|
+
export function encode(message: PBParticleSystem_LimitVelocity, writer?: _m0.Writer): _m0.Writer;
|
|
3131
|
+
}
|
|
3132
|
+
|
|
3133
|
+
// @public (undocumented)
|
|
3134
|
+
const enum PBParticleSystem_PlaybackState {
|
|
3135
|
+
PS_PAUSED = 1,
|
|
3136
|
+
PS_PLAYING = 0,
|
|
3137
|
+
PS_STOPPED = 2
|
|
3138
|
+
}
|
|
3139
|
+
export { PBParticleSystem_PlaybackState }
|
|
3140
|
+
export { PBParticleSystem_PlaybackState as ParticleSystemPlaybackState }
|
|
3141
|
+
|
|
3142
|
+
// @public (undocumented)
|
|
3143
|
+
export interface PBParticleSystem_Point {
|
|
3144
|
+
}
|
|
3145
|
+
|
|
3146
|
+
// @public (undocumented)
|
|
3147
|
+
export namespace PBParticleSystem_Point {
|
|
3148
|
+
// (undocumented)
|
|
3149
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Point;
|
|
3150
|
+
// (undocumented)
|
|
3151
|
+
export function encode(_: PBParticleSystem_Point, writer?: _m0.Writer): _m0.Writer;
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3154
|
+
// @public (undocumented)
|
|
3155
|
+
export const enum PBParticleSystem_SimulationSpace {
|
|
3156
|
+
PSS_LOCAL = 0,
|
|
3157
|
+
PSS_WORLD = 1
|
|
3158
|
+
}
|
|
3159
|
+
|
|
3160
|
+
// @public (undocumented)
|
|
3161
|
+
export interface PBParticleSystem_Sphere {
|
|
3162
|
+
radius?: number | undefined;
|
|
3163
|
+
}
|
|
3164
|
+
|
|
3165
|
+
// @public (undocumented)
|
|
3166
|
+
export namespace PBParticleSystem_Sphere {
|
|
3167
|
+
// (undocumented)
|
|
3168
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Sphere;
|
|
3169
|
+
// (undocumented)
|
|
3170
|
+
export function encode(message: PBParticleSystem_Sphere, writer?: _m0.Writer): _m0.Writer;
|
|
3171
|
+
}
|
|
3172
|
+
|
|
3173
|
+
// @public (undocumented)
|
|
3174
|
+
export interface PBParticleSystem_SpriteSheetAnimation {
|
|
3175
|
+
framesPerSecond?: number | undefined;
|
|
3176
|
+
tilesX: number;
|
|
3177
|
+
tilesY: number;
|
|
3178
|
+
}
|
|
3179
|
+
|
|
3180
|
+
// @public (undocumented)
|
|
3181
|
+
export namespace PBParticleSystem_SpriteSheetAnimation {
|
|
3182
|
+
// (undocumented)
|
|
3183
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_SpriteSheetAnimation;
|
|
3184
|
+
// (undocumented)
|
|
3185
|
+
export function encode(message: PBParticleSystem_SpriteSheetAnimation, writer?: _m0.Writer): _m0.Writer;
|
|
3186
|
+
}
|
|
3187
|
+
|
|
2959
3188
|
// @public (undocumented)
|
|
2960
3189
|
export interface PBPhysicsCombinedForce {
|
|
2961
3190
|
vector: PBVector3 | undefined;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.22.3-
|
|
4
|
+
"version": "7.22.3-24081083817.commit-714809b",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.22.3-
|
|
8
|
-
"@dcl/sdk": "7.22.3-
|
|
7
|
+
"@dcl/js-runtime": "7.22.3-24081083817.commit-714809b",
|
|
8
|
+
"@dcl/sdk": "7.22.3-24081083817.commit-714809b"
|
|
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": "714809b7ad5b319d9966ba167c549d96e058efe5"
|
|
36
36
|
}
|