@dcl/playground-assets 7.3.24-6551297996.commit-7436455 → 7.3.24-6613468311.commit-887e14c
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 +19 -115
- package/dist/beta.d.ts +19 -115
- package/dist/index.bundled.d.ts +19 -115
- 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 +19 -115
- package/etc/playground-assets.api.json +584 -1884
- package/etc/playground-assets.api.md +13 -99
- package/package.json +4 -4
package/dist/alpha.d.ts
CHANGED
@@ -110,15 +110,6 @@ export declare const enum AvatarAnchorPointType {
|
|
110
110
|
/** @public */
|
111
111
|
export declare const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAttach>;
|
112
112
|
|
113
|
-
/** @public */
|
114
|
-
export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
115
|
-
|
116
|
-
/** @public */
|
117
|
-
export declare const AvatarEmoteCommand: LastWriteWinElementSetComponentDefinition<PBAvatarEmoteCommand>;
|
118
|
-
|
119
|
-
/** @public */
|
120
|
-
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
121
|
-
|
122
113
|
/** @public */
|
123
114
|
export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
124
115
|
|
@@ -1175,9 +1166,6 @@ export declare const componentDefinitionByName: {
|
|
1175
1166
|
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
1176
1167
|
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
1177
1168
|
"core::AvatarAttach": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarAttach>>;
|
1178
|
-
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
1179
|
-
"core::AvatarEmoteCommand": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEmoteCommand>>;
|
1180
|
-
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
1181
1169
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
1182
1170
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
1183
1171
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
@@ -1190,7 +1178,6 @@ export declare const componentDefinitionByName: {
|
|
1190
1178
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
1191
1179
|
"core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
|
1192
1180
|
"core::NftShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
|
1193
|
-
"core::PlayerIdentityData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>>;
|
1194
1181
|
"core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
|
1195
1182
|
"core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
|
1196
1183
|
"core::PointerLock": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerLock>>;
|
@@ -3573,7 +3560,7 @@ export declare const onVideoEvent: Observable<{
|
|
3573
3560
|
|
3574
3561
|
/**
|
3575
3562
|
* @public
|
3576
|
-
* The overflow property controls what happens to content that is too big to fit into an area
|
3563
|
+
* The overflow property controls what happens to content that is too big to fit into an area
|
3577
3564
|
*/
|
3578
3565
|
export declare type OverflowType = 'hidden' | 'scroll' | 'visible';
|
3579
3566
|
|
@@ -3716,82 +3703,6 @@ export declare namespace PBAvatarAttach {
|
|
3716
3703
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarAttach;
|
3717
3704
|
}
|
3718
3705
|
|
3719
|
-
/** AvatarBase sets all modifiers over the avatar's apparence. */
|
3720
|
-
/**
|
3721
|
-
* @public
|
3722
|
-
*/
|
3723
|
-
export declare interface PBAvatarBase {
|
3724
|
-
skinColor: PBColor3 | undefined;
|
3725
|
-
eyesColor: PBColor3 | undefined;
|
3726
|
-
hairColor: PBColor3 | undefined;
|
3727
|
-
bodyShapeUrn: string;
|
3728
|
-
name: string;
|
3729
|
-
}
|
3730
|
-
|
3731
|
-
/**
|
3732
|
-
* @public
|
3733
|
-
*/
|
3734
|
-
export declare namespace PBAvatarBase {
|
3735
|
-
export function encode(message: PBAvatarBase, writer?: _m0.Writer): _m0.Writer;
|
3736
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarBase;
|
3737
|
-
}
|
3738
|
-
|
3739
|
-
/**
|
3740
|
-
* AvatarEmoteCommand is a grow only value set, used to signal the renderer about
|
3741
|
-
* avatar emotes playback.
|
3742
|
-
*/
|
3743
|
-
/**
|
3744
|
-
* @public
|
3745
|
-
*/
|
3746
|
-
export declare interface PBAvatarEmoteCommand {
|
3747
|
-
emoteCommand: PBAvatarEmoteCommand_EmoteCommand | undefined;
|
3748
|
-
}
|
3749
|
-
|
3750
|
-
/**
|
3751
|
-
* @public
|
3752
|
-
*/
|
3753
|
-
export declare namespace PBAvatarEmoteCommand {
|
3754
|
-
export function encode(message: PBAvatarEmoteCommand, writer?: _m0.Writer): _m0.Writer;
|
3755
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEmoteCommand;
|
3756
|
-
}
|
3757
|
-
|
3758
|
-
/**
|
3759
|
-
* @public
|
3760
|
-
*/
|
3761
|
-
export declare interface PBAvatarEmoteCommand_EmoteCommand {
|
3762
|
-
emoteUrn: string;
|
3763
|
-
loop: boolean;
|
3764
|
-
}
|
3765
|
-
|
3766
|
-
/**
|
3767
|
-
* @public
|
3768
|
-
*/
|
3769
|
-
export declare namespace PBAvatarEmoteCommand_EmoteCommand {
|
3770
|
-
export function encode(message: PBAvatarEmoteCommand_EmoteCommand, writer?: _m0.Writer): _m0.Writer;
|
3771
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEmoteCommand_EmoteCommand;
|
3772
|
-
}
|
3773
|
-
|
3774
|
-
/**
|
3775
|
-
* AvatarEquipData is used to read the information about the avatar's owneables.
|
3776
|
-
* this component is written by the engine using the communications transports'
|
3777
|
-
* data.
|
3778
|
-
*/
|
3779
|
-
/**
|
3780
|
-
* @public
|
3781
|
-
*/
|
3782
|
-
export declare interface PBAvatarEquippedData {
|
3783
|
-
wearableUrns: string[];
|
3784
|
-
emotesUrns: string[];
|
3785
|
-
}
|
3786
|
-
|
3787
|
-
/**
|
3788
|
-
* @public
|
3789
|
-
*/
|
3790
|
-
export declare namespace PBAvatarEquippedData {
|
3791
|
-
export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
3792
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEquippedData;
|
3793
|
-
}
|
3794
|
-
|
3795
3706
|
/**
|
3796
3707
|
* The AvatarModifierArea component can be attached to an Entity to define a region of space where
|
3797
3708
|
* avatar behavior changes.
|
@@ -4387,28 +4298,6 @@ export declare namespace PBNftShape {
|
|
4387
4298
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBNftShape;
|
4388
4299
|
}
|
4389
4300
|
|
4390
|
-
/**
|
4391
|
-
* PlayerIdentityData is used to read the information about the avatar's
|
4392
|
-
* identity. this component is written by the engine using the communications
|
4393
|
-
* transports' data.
|
4394
|
-
*/
|
4395
|
-
/**
|
4396
|
-
* @public
|
4397
|
-
*/
|
4398
|
-
export declare interface PBPlayerIdentityData {
|
4399
|
-
/** ethereum address of this player */
|
4400
|
-
address: string;
|
4401
|
-
isGuest: boolean;
|
4402
|
-
}
|
4403
|
-
|
4404
|
-
/**
|
4405
|
-
* @public
|
4406
|
-
*/
|
4407
|
-
export declare namespace PBPlayerIdentityData {
|
4408
|
-
export function encode(message: PBPlayerIdentityData, writer?: _m0.Writer): _m0.Writer;
|
4409
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPlayerIdentityData;
|
4410
|
-
}
|
4411
|
-
|
4412
4301
|
/**
|
4413
4302
|
* PointerEvents adds configurable pointer-based interactions to the attached Entity.
|
4414
4303
|
*
|
@@ -5014,6 +4903,8 @@ export declare interface PBUiTransform {
|
|
5014
4903
|
/** YGUnit.YGU_UNDEFINED */
|
5015
4904
|
paddingBottomUnit: YGUnit;
|
5016
4905
|
paddingBottom: number;
|
4906
|
+
/** default: PointerFilterMode.PFM_NONE */
|
4907
|
+
pointerFilter?: PointerFilterMode | undefined;
|
5017
4908
|
}
|
5018
4909
|
|
5019
4910
|
/**
|
@@ -5238,9 +5129,6 @@ export declare namespace Plane {
|
|
5238
5129
|
export function signedDistanceTo(plane: ReadonlyPlane, point: Vector3.ReadonlyVector3): number;
|
5239
5130
|
}
|
5240
5131
|
|
5241
|
-
/** @public */
|
5242
|
-
export declare const PlayerIdentityData: LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>;
|
5243
|
-
|
5244
5132
|
/** @public */
|
5245
5133
|
export declare const PointerEvents: LastWriteWinElementSetComponentDefinition<PBPointerEvents>;
|
5246
5134
|
|
@@ -5316,6 +5204,20 @@ export declare const enum PointerEventType {
|
|
5316
5204
|
PET_HOVER_LEAVE = 3
|
5317
5205
|
}
|
5318
5206
|
|
5207
|
+
/**
|
5208
|
+
* @public
|
5209
|
+
*/
|
5210
|
+
export declare const enum PointerFilterMode {
|
5211
|
+
PFM_NONE = 0,
|
5212
|
+
PFM_BLOCK = 1
|
5213
|
+
}
|
5214
|
+
|
5215
|
+
/**
|
5216
|
+
* @public
|
5217
|
+
* The pointer filter property determines if the ui element blocks the pointer or not (elements with pointer events always block the pointer regardless of this property)
|
5218
|
+
*/
|
5219
|
+
export declare type PointerFilterType = 'none' | 'block';
|
5220
|
+
|
5319
5221
|
/** @public */
|
5320
5222
|
export declare const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLock>;
|
5321
5223
|
|
@@ -6784,6 +6686,8 @@ export declare interface UiTransformProps {
|
|
6784
6686
|
flexShrink?: number;
|
6785
6687
|
/** The overflow property controls what happens to content that is too big to fit into an area */
|
6786
6688
|
overflow?: OverflowType;
|
6689
|
+
/** The pointer filter property determines if the ui element blocks the pointer or not (elements with pointer events always block the pointer regardless of this property) **/
|
6690
|
+
pointerFilter?: PointerFilterType;
|
6787
6691
|
}
|
6788
6692
|
|
6789
6693
|
/**
|
package/dist/beta.d.ts
CHANGED
@@ -110,15 +110,6 @@ export declare const enum AvatarAnchorPointType {
|
|
110
110
|
/** @public */
|
111
111
|
export declare const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAttach>;
|
112
112
|
|
113
|
-
/** @public */
|
114
|
-
export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
115
|
-
|
116
|
-
/** @public */
|
117
|
-
export declare const AvatarEmoteCommand: LastWriteWinElementSetComponentDefinition<PBAvatarEmoteCommand>;
|
118
|
-
|
119
|
-
/** @public */
|
120
|
-
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
121
|
-
|
122
113
|
/** @public */
|
123
114
|
export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
124
115
|
|
@@ -1175,9 +1166,6 @@ export declare const componentDefinitionByName: {
|
|
1175
1166
|
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
1176
1167
|
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
1177
1168
|
"core::AvatarAttach": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarAttach>>;
|
1178
|
-
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
1179
|
-
"core::AvatarEmoteCommand": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEmoteCommand>>;
|
1180
|
-
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
1181
1169
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
1182
1170
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
1183
1171
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
@@ -1190,7 +1178,6 @@ export declare const componentDefinitionByName: {
|
|
1190
1178
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
1191
1179
|
"core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
|
1192
1180
|
"core::NftShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
|
1193
|
-
"core::PlayerIdentityData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>>;
|
1194
1181
|
"core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
|
1195
1182
|
"core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
|
1196
1183
|
"core::PointerLock": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerLock>>;
|
@@ -3554,7 +3541,7 @@ export declare const onVideoEvent: Observable<{
|
|
3554
3541
|
|
3555
3542
|
/**
|
3556
3543
|
* @public
|
3557
|
-
* The overflow property controls what happens to content that is too big to fit into an area
|
3544
|
+
* The overflow property controls what happens to content that is too big to fit into an area
|
3558
3545
|
*/
|
3559
3546
|
export declare type OverflowType = 'hidden' | 'scroll' | 'visible';
|
3560
3547
|
|
@@ -3697,82 +3684,6 @@ export declare namespace PBAvatarAttach {
|
|
3697
3684
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarAttach;
|
3698
3685
|
}
|
3699
3686
|
|
3700
|
-
/** AvatarBase sets all modifiers over the avatar's apparence. */
|
3701
|
-
/**
|
3702
|
-
* @public
|
3703
|
-
*/
|
3704
|
-
export declare interface PBAvatarBase {
|
3705
|
-
skinColor: PBColor3 | undefined;
|
3706
|
-
eyesColor: PBColor3 | undefined;
|
3707
|
-
hairColor: PBColor3 | undefined;
|
3708
|
-
bodyShapeUrn: string;
|
3709
|
-
name: string;
|
3710
|
-
}
|
3711
|
-
|
3712
|
-
/**
|
3713
|
-
* @public
|
3714
|
-
*/
|
3715
|
-
export declare namespace PBAvatarBase {
|
3716
|
-
export function encode(message: PBAvatarBase, writer?: _m0.Writer): _m0.Writer;
|
3717
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarBase;
|
3718
|
-
}
|
3719
|
-
|
3720
|
-
/**
|
3721
|
-
* AvatarEmoteCommand is a grow only value set, used to signal the renderer about
|
3722
|
-
* avatar emotes playback.
|
3723
|
-
*/
|
3724
|
-
/**
|
3725
|
-
* @public
|
3726
|
-
*/
|
3727
|
-
export declare interface PBAvatarEmoteCommand {
|
3728
|
-
emoteCommand: PBAvatarEmoteCommand_EmoteCommand | undefined;
|
3729
|
-
}
|
3730
|
-
|
3731
|
-
/**
|
3732
|
-
* @public
|
3733
|
-
*/
|
3734
|
-
export declare namespace PBAvatarEmoteCommand {
|
3735
|
-
export function encode(message: PBAvatarEmoteCommand, writer?: _m0.Writer): _m0.Writer;
|
3736
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEmoteCommand;
|
3737
|
-
}
|
3738
|
-
|
3739
|
-
/**
|
3740
|
-
* @public
|
3741
|
-
*/
|
3742
|
-
export declare interface PBAvatarEmoteCommand_EmoteCommand {
|
3743
|
-
emoteUrn: string;
|
3744
|
-
loop: boolean;
|
3745
|
-
}
|
3746
|
-
|
3747
|
-
/**
|
3748
|
-
* @public
|
3749
|
-
*/
|
3750
|
-
export declare namespace PBAvatarEmoteCommand_EmoteCommand {
|
3751
|
-
export function encode(message: PBAvatarEmoteCommand_EmoteCommand, writer?: _m0.Writer): _m0.Writer;
|
3752
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEmoteCommand_EmoteCommand;
|
3753
|
-
}
|
3754
|
-
|
3755
|
-
/**
|
3756
|
-
* AvatarEquipData is used to read the information about the avatar's owneables.
|
3757
|
-
* this component is written by the engine using the communications transports'
|
3758
|
-
* data.
|
3759
|
-
*/
|
3760
|
-
/**
|
3761
|
-
* @public
|
3762
|
-
*/
|
3763
|
-
export declare interface PBAvatarEquippedData {
|
3764
|
-
wearableUrns: string[];
|
3765
|
-
emotesUrns: string[];
|
3766
|
-
}
|
3767
|
-
|
3768
|
-
/**
|
3769
|
-
* @public
|
3770
|
-
*/
|
3771
|
-
export declare namespace PBAvatarEquippedData {
|
3772
|
-
export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
3773
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEquippedData;
|
3774
|
-
}
|
3775
|
-
|
3776
3687
|
/**
|
3777
3688
|
* The AvatarModifierArea component can be attached to an Entity to define a region of space where
|
3778
3689
|
* avatar behavior changes.
|
@@ -4368,28 +4279,6 @@ export declare namespace PBNftShape {
|
|
4368
4279
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBNftShape;
|
4369
4280
|
}
|
4370
4281
|
|
4371
|
-
/**
|
4372
|
-
* PlayerIdentityData is used to read the information about the avatar's
|
4373
|
-
* identity. this component is written by the engine using the communications
|
4374
|
-
* transports' data.
|
4375
|
-
*/
|
4376
|
-
/**
|
4377
|
-
* @public
|
4378
|
-
*/
|
4379
|
-
export declare interface PBPlayerIdentityData {
|
4380
|
-
/** ethereum address of this player */
|
4381
|
-
address: string;
|
4382
|
-
isGuest: boolean;
|
4383
|
-
}
|
4384
|
-
|
4385
|
-
/**
|
4386
|
-
* @public
|
4387
|
-
*/
|
4388
|
-
export declare namespace PBPlayerIdentityData {
|
4389
|
-
export function encode(message: PBPlayerIdentityData, writer?: _m0.Writer): _m0.Writer;
|
4390
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPlayerIdentityData;
|
4391
|
-
}
|
4392
|
-
|
4393
4282
|
/**
|
4394
4283
|
* PointerEvents adds configurable pointer-based interactions to the attached Entity.
|
4395
4284
|
*
|
@@ -4995,6 +4884,8 @@ export declare interface PBUiTransform {
|
|
4995
4884
|
/** YGUnit.YGU_UNDEFINED */
|
4996
4885
|
paddingBottomUnit: YGUnit;
|
4997
4886
|
paddingBottom: number;
|
4887
|
+
/** default: PointerFilterMode.PFM_NONE */
|
4888
|
+
pointerFilter?: PointerFilterMode | undefined;
|
4998
4889
|
}
|
4999
4890
|
|
5000
4891
|
/**
|
@@ -5219,9 +5110,6 @@ export declare namespace Plane {
|
|
5219
5110
|
export function signedDistanceTo(plane: ReadonlyPlane, point: Vector3.ReadonlyVector3): number;
|
5220
5111
|
}
|
5221
5112
|
|
5222
|
-
/** @public */
|
5223
|
-
export declare const PlayerIdentityData: LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>;
|
5224
|
-
|
5225
5113
|
/** @public */
|
5226
5114
|
export declare const PointerEvents: LastWriteWinElementSetComponentDefinition<PBPointerEvents>;
|
5227
5115
|
|
@@ -5297,6 +5185,20 @@ export declare const enum PointerEventType {
|
|
5297
5185
|
PET_HOVER_LEAVE = 3
|
5298
5186
|
}
|
5299
5187
|
|
5188
|
+
/**
|
5189
|
+
* @public
|
5190
|
+
*/
|
5191
|
+
export declare const enum PointerFilterMode {
|
5192
|
+
PFM_NONE = 0,
|
5193
|
+
PFM_BLOCK = 1
|
5194
|
+
}
|
5195
|
+
|
5196
|
+
/**
|
5197
|
+
* @public
|
5198
|
+
* The pointer filter property determines if the ui element blocks the pointer or not (elements with pointer events always block the pointer regardless of this property)
|
5199
|
+
*/
|
5200
|
+
export declare type PointerFilterType = 'none' | 'block';
|
5201
|
+
|
5300
5202
|
/** @public */
|
5301
5203
|
export declare const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLock>;
|
5302
5204
|
|
@@ -6760,6 +6662,8 @@ export declare interface UiTransformProps {
|
|
6760
6662
|
flexShrink?: number;
|
6761
6663
|
/** The overflow property controls what happens to content that is too big to fit into an area */
|
6762
6664
|
overflow?: OverflowType;
|
6665
|
+
/** The pointer filter property determines if the ui element blocks the pointer or not (elements with pointer events always block the pointer regardless of this property) **/
|
6666
|
+
pointerFilter?: PointerFilterType;
|
6763
6667
|
}
|
6764
6668
|
|
6765
6669
|
/**
|
package/dist/index.bundled.d.ts
CHANGED
@@ -110,15 +110,6 @@ export declare const enum AvatarAnchorPointType {
|
|
110
110
|
/** @public */
|
111
111
|
export declare const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAttach>;
|
112
112
|
|
113
|
-
/** @public */
|
114
|
-
export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
115
|
-
|
116
|
-
/** @public */
|
117
|
-
export declare const AvatarEmoteCommand: LastWriteWinElementSetComponentDefinition<PBAvatarEmoteCommand>;
|
118
|
-
|
119
|
-
/** @public */
|
120
|
-
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
121
|
-
|
122
113
|
/** @public */
|
123
114
|
export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
124
115
|
|
@@ -1175,9 +1166,6 @@ export declare const componentDefinitionByName: {
|
|
1175
1166
|
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
1176
1167
|
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
1177
1168
|
"core::AvatarAttach": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarAttach>>;
|
1178
|
-
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
1179
|
-
"core::AvatarEmoteCommand": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEmoteCommand>>;
|
1180
|
-
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
1181
1169
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
1182
1170
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
1183
1171
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
@@ -1190,7 +1178,6 @@ export declare const componentDefinitionByName: {
|
|
1190
1178
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
1191
1179
|
"core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
|
1192
1180
|
"core::NftShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
|
1193
|
-
"core::PlayerIdentityData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>>;
|
1194
1181
|
"core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
|
1195
1182
|
"core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
|
1196
1183
|
"core::PointerLock": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerLock>>;
|
@@ -3554,7 +3541,7 @@ export declare const onVideoEvent: Observable<{
|
|
3554
3541
|
|
3555
3542
|
/**
|
3556
3543
|
* @public
|
3557
|
-
* The overflow property controls what happens to content that is too big to fit into an area
|
3544
|
+
* The overflow property controls what happens to content that is too big to fit into an area
|
3558
3545
|
*/
|
3559
3546
|
export declare type OverflowType = 'hidden' | 'scroll' | 'visible';
|
3560
3547
|
|
@@ -3697,82 +3684,6 @@ export declare namespace PBAvatarAttach {
|
|
3697
3684
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarAttach;
|
3698
3685
|
}
|
3699
3686
|
|
3700
|
-
/** AvatarBase sets all modifiers over the avatar's apparence. */
|
3701
|
-
/**
|
3702
|
-
* @public
|
3703
|
-
*/
|
3704
|
-
export declare interface PBAvatarBase {
|
3705
|
-
skinColor: PBColor3 | undefined;
|
3706
|
-
eyesColor: PBColor3 | undefined;
|
3707
|
-
hairColor: PBColor3 | undefined;
|
3708
|
-
bodyShapeUrn: string;
|
3709
|
-
name: string;
|
3710
|
-
}
|
3711
|
-
|
3712
|
-
/**
|
3713
|
-
* @public
|
3714
|
-
*/
|
3715
|
-
export declare namespace PBAvatarBase {
|
3716
|
-
export function encode(message: PBAvatarBase, writer?: _m0.Writer): _m0.Writer;
|
3717
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarBase;
|
3718
|
-
}
|
3719
|
-
|
3720
|
-
/**
|
3721
|
-
* AvatarEmoteCommand is a grow only value set, used to signal the renderer about
|
3722
|
-
* avatar emotes playback.
|
3723
|
-
*/
|
3724
|
-
/**
|
3725
|
-
* @public
|
3726
|
-
*/
|
3727
|
-
export declare interface PBAvatarEmoteCommand {
|
3728
|
-
emoteCommand: PBAvatarEmoteCommand_EmoteCommand | undefined;
|
3729
|
-
}
|
3730
|
-
|
3731
|
-
/**
|
3732
|
-
* @public
|
3733
|
-
*/
|
3734
|
-
export declare namespace PBAvatarEmoteCommand {
|
3735
|
-
export function encode(message: PBAvatarEmoteCommand, writer?: _m0.Writer): _m0.Writer;
|
3736
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEmoteCommand;
|
3737
|
-
}
|
3738
|
-
|
3739
|
-
/**
|
3740
|
-
* @public
|
3741
|
-
*/
|
3742
|
-
export declare interface PBAvatarEmoteCommand_EmoteCommand {
|
3743
|
-
emoteUrn: string;
|
3744
|
-
loop: boolean;
|
3745
|
-
}
|
3746
|
-
|
3747
|
-
/**
|
3748
|
-
* @public
|
3749
|
-
*/
|
3750
|
-
export declare namespace PBAvatarEmoteCommand_EmoteCommand {
|
3751
|
-
export function encode(message: PBAvatarEmoteCommand_EmoteCommand, writer?: _m0.Writer): _m0.Writer;
|
3752
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEmoteCommand_EmoteCommand;
|
3753
|
-
}
|
3754
|
-
|
3755
|
-
/**
|
3756
|
-
* AvatarEquipData is used to read the information about the avatar's owneables.
|
3757
|
-
* this component is written by the engine using the communications transports'
|
3758
|
-
* data.
|
3759
|
-
*/
|
3760
|
-
/**
|
3761
|
-
* @public
|
3762
|
-
*/
|
3763
|
-
export declare interface PBAvatarEquippedData {
|
3764
|
-
wearableUrns: string[];
|
3765
|
-
emotesUrns: string[];
|
3766
|
-
}
|
3767
|
-
|
3768
|
-
/**
|
3769
|
-
* @public
|
3770
|
-
*/
|
3771
|
-
export declare namespace PBAvatarEquippedData {
|
3772
|
-
export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
3773
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEquippedData;
|
3774
|
-
}
|
3775
|
-
|
3776
3687
|
/**
|
3777
3688
|
* The AvatarModifierArea component can be attached to an Entity to define a region of space where
|
3778
3689
|
* avatar behavior changes.
|
@@ -4368,28 +4279,6 @@ export declare namespace PBNftShape {
|
|
4368
4279
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBNftShape;
|
4369
4280
|
}
|
4370
4281
|
|
4371
|
-
/**
|
4372
|
-
* PlayerIdentityData is used to read the information about the avatar's
|
4373
|
-
* identity. this component is written by the engine using the communications
|
4374
|
-
* transports' data.
|
4375
|
-
*/
|
4376
|
-
/**
|
4377
|
-
* @public
|
4378
|
-
*/
|
4379
|
-
export declare interface PBPlayerIdentityData {
|
4380
|
-
/** ethereum address of this player */
|
4381
|
-
address: string;
|
4382
|
-
isGuest: boolean;
|
4383
|
-
}
|
4384
|
-
|
4385
|
-
/**
|
4386
|
-
* @public
|
4387
|
-
*/
|
4388
|
-
export declare namespace PBPlayerIdentityData {
|
4389
|
-
export function encode(message: PBPlayerIdentityData, writer?: _m0.Writer): _m0.Writer;
|
4390
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPlayerIdentityData;
|
4391
|
-
}
|
4392
|
-
|
4393
4282
|
/**
|
4394
4283
|
* PointerEvents adds configurable pointer-based interactions to the attached Entity.
|
4395
4284
|
*
|
@@ -4995,6 +4884,8 @@ export declare interface PBUiTransform {
|
|
4995
4884
|
/** YGUnit.YGU_UNDEFINED */
|
4996
4885
|
paddingBottomUnit: YGUnit;
|
4997
4886
|
paddingBottom: number;
|
4887
|
+
/** default: PointerFilterMode.PFM_NONE */
|
4888
|
+
pointerFilter?: PointerFilterMode | undefined;
|
4998
4889
|
}
|
4999
4890
|
|
5000
4891
|
/**
|
@@ -5219,9 +5110,6 @@ export declare namespace Plane {
|
|
5219
5110
|
export function signedDistanceTo(plane: ReadonlyPlane, point: Vector3.ReadonlyVector3): number;
|
5220
5111
|
}
|
5221
5112
|
|
5222
|
-
/** @public */
|
5223
|
-
export declare const PlayerIdentityData: LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>;
|
5224
|
-
|
5225
5113
|
/** @public */
|
5226
5114
|
export declare const PointerEvents: LastWriteWinElementSetComponentDefinition<PBPointerEvents>;
|
5227
5115
|
|
@@ -5297,6 +5185,20 @@ export declare const enum PointerEventType {
|
|
5297
5185
|
PET_HOVER_LEAVE = 3
|
5298
5186
|
}
|
5299
5187
|
|
5188
|
+
/**
|
5189
|
+
* @public
|
5190
|
+
*/
|
5191
|
+
export declare const enum PointerFilterMode {
|
5192
|
+
PFM_NONE = 0,
|
5193
|
+
PFM_BLOCK = 1
|
5194
|
+
}
|
5195
|
+
|
5196
|
+
/**
|
5197
|
+
* @public
|
5198
|
+
* The pointer filter property determines if the ui element blocks the pointer or not (elements with pointer events always block the pointer regardless of this property)
|
5199
|
+
*/
|
5200
|
+
export declare type PointerFilterType = 'none' | 'block';
|
5201
|
+
|
5300
5202
|
/** @public */
|
5301
5203
|
export declare const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLock>;
|
5302
5204
|
|
@@ -6760,6 +6662,8 @@ export declare interface UiTransformProps {
|
|
6760
6662
|
flexShrink?: number;
|
6761
6663
|
/** The overflow property controls what happens to content that is too big to fit into an area */
|
6762
6664
|
overflow?: OverflowType;
|
6665
|
+
/** The pointer filter property determines if the ui element blocks the pointer or not (elements with pointer events always block the pointer regardless of this property) **/
|
6666
|
+
pointerFilter?: PointerFilterType;
|
6763
6667
|
}
|
6764
6668
|
|
6765
6669
|
/**
|