@dcl/sdk 7.0.0-2805922413.commit-7f80d4a → 7.0.0-2827081203.commit-fe0fe32
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/ecs7/index.d.ts +122 -76
- package/dist/ecs7/index.js +130 -116
- package/dist/ecs7/index.min.js +1 -1
- package/dist/ecs7/index.min.js.map +1 -1
- package/dist/ecs7/proto-definitions/Animator.proto +5 -5
- package/dist/ecs7/proto-definitions/AudioSource.proto +4 -4
- package/dist/ecs7/proto-definitions/AudioStream.proto +2 -2
- package/dist/ecs7/proto-definitions/AvatarShape.proto +10 -10
- package/dist/ecs7/proto-definitions/Billboard.proto +3 -3
- package/dist/ecs7/proto-definitions/BoxShape.proto +6 -3
- package/dist/ecs7/proto-definitions/CylinderShape.proto +8 -5
- package/dist/ecs7/proto-definitions/GLTFShape.proto +6 -3
- package/dist/ecs7/proto-definitions/NFTShape.proto +9 -6
- package/dist/ecs7/proto-definitions/OnPointerDown.proto +4 -4
- package/dist/ecs7/proto-definitions/OnPointerUp.proto +4 -4
- package/dist/ecs7/proto-definitions/PlaneShape.proto +6 -3
- package/dist/ecs7/proto-definitions/SphereShape.proto +6 -3
- package/dist/ecs7/proto-definitions/TextShape.proto +24 -23
- package/package.json +4 -4
- package/types/ecs7/index.d.ts +122 -76
@@ -10,9 +10,9 @@ message PBAnimator {
|
|
10
10
|
message PBAnimationState {
|
11
11
|
string name = 1;
|
12
12
|
string clip = 2;
|
13
|
-
bool playing = 3;
|
14
|
-
float weight = 4;
|
15
|
-
float speed = 5;
|
16
|
-
bool loop = 6;
|
17
|
-
bool should_reset = 7;
|
13
|
+
optional bool playing = 3;
|
14
|
+
optional float weight = 4; // default=1.0s
|
15
|
+
optional float speed = 5; // default=1.0
|
16
|
+
optional bool loop = 6; // default=true
|
17
|
+
optional bool should_reset = 7;
|
18
18
|
}
|
@@ -4,9 +4,9 @@ import "common/id.proto";
|
|
4
4
|
option (ecs_component_id) = 1020;
|
5
5
|
|
6
6
|
message PBAudioSource {
|
7
|
-
bool playing = 1;
|
8
|
-
float volume = 2;
|
9
|
-
bool loop = 3;
|
10
|
-
float pitch = 4;
|
7
|
+
optional bool playing = 1;
|
8
|
+
optional float volume = 2; // default=1.0f
|
9
|
+
optional bool loop = 3;
|
10
|
+
optional float pitch = 4; // default=1.0f
|
11
11
|
string audio_clip_url = 5;
|
12
12
|
}
|
@@ -6,15 +6,15 @@ import "common/Color3.proto";
|
|
6
6
|
|
7
7
|
message PBAvatarShape {
|
8
8
|
string id = 1;
|
9
|
-
string name = 2;
|
10
|
-
string body_shape = 3;
|
11
|
-
Color3 skin_color = 4;
|
12
|
-
Color3 hair_color = 5;
|
13
|
-
Color3 eye_color = 6;
|
9
|
+
optional string name = 2;
|
10
|
+
optional string body_shape = 3;
|
11
|
+
optional Color3 skin_color = 4;
|
12
|
+
optional Color3 hair_color = 5;
|
13
|
+
optional Color3 eye_color = 6;
|
14
14
|
repeated string wearables = 7;
|
15
|
-
string expression_trigger_id = 8;
|
16
|
-
int64 expression_trigger_timestamp = 9;
|
17
|
-
string sticker_trigger_id = 10;
|
18
|
-
int64 sticker_trigger_timestamp = 11;
|
19
|
-
bool talking = 12;
|
15
|
+
optional string expression_trigger_id = 8;
|
16
|
+
optional int64 expression_trigger_timestamp = 9;
|
17
|
+
optional string sticker_trigger_id = 10;
|
18
|
+
optional int64 sticker_trigger_timestamp = 11;
|
19
|
+
optional bool talking = 12;
|
20
20
|
}
|
@@ -4,8 +4,11 @@ import "common/id.proto";
|
|
4
4
|
option (ecs_component_id) = 1013;
|
5
5
|
|
6
6
|
message PBBoxShape {
|
7
|
-
|
8
|
-
bool
|
9
|
-
|
7
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
8
|
+
optional bool with_collisions = 1; // default=true
|
9
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
10
|
+
optional bool is_pointer_blocker = 2; // default=true
|
11
|
+
// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
|
12
|
+
optional bool visible = 3; // default=true
|
10
13
|
repeated float uvs = 4;
|
11
14
|
}
|
@@ -4,9 +4,12 @@ import "common/id.proto";
|
|
4
4
|
option (ecs_component_id) = 1016;
|
5
5
|
|
6
6
|
message PBCylinderShape {
|
7
|
-
|
8
|
-
bool
|
9
|
-
|
10
|
-
|
11
|
-
|
7
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
8
|
+
optional bool with_collisions = 1; // default=true
|
9
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
10
|
+
optional bool is_pointer_blocker = 2; // default=true
|
11
|
+
// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
|
12
|
+
optional bool visible = 3; // default=true
|
13
|
+
optional float radius_top = 4; // default=1.0
|
14
|
+
optional float radius_bottom = 5; // default=1.0
|
12
15
|
}
|
@@ -4,8 +4,11 @@ import "common/id.proto";
|
|
4
4
|
option (ecs_component_id) = 1041;
|
5
5
|
|
6
6
|
message PBGLTFShape {
|
7
|
-
|
8
|
-
bool
|
9
|
-
|
7
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
8
|
+
optional bool with_collisions = 1; // default=true
|
9
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
10
|
+
optional bool is_pointer_blocker = 2; // default=true
|
11
|
+
// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
|
12
|
+
optional bool visible = 3; // default=true
|
10
13
|
string src = 4;
|
11
14
|
}
|
@@ -6,11 +6,14 @@ option (ecs_component_id) = 1040;
|
|
6
6
|
import "common/Color3.proto";
|
7
7
|
|
8
8
|
message PBNFTShape {
|
9
|
-
|
10
|
-
bool
|
11
|
-
|
9
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
10
|
+
optional bool with_collisions = 1; // default=true
|
11
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
12
|
+
optional bool is_pointer_blocker = 2; // default=true
|
13
|
+
// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
|
14
|
+
optional bool visible = 3; // default=true
|
12
15
|
string src = 4;
|
13
|
-
string asset_id = 5;
|
14
|
-
int32 style = 6;
|
15
|
-
Color3 color = 7;
|
16
|
+
optional string asset_id = 5;
|
17
|
+
optional int32 style = 6;
|
18
|
+
optional Color3 color = 7;
|
16
19
|
}
|
@@ -5,8 +5,8 @@ option (ecs_component_id) = 1060;
|
|
5
5
|
import "common/ActionButton.proto";
|
6
6
|
|
7
7
|
message PBOnPointerDown {
|
8
|
-
ActionButton button = 1;
|
9
|
-
string hover_text = 2;
|
10
|
-
float
|
11
|
-
bool show_feedback = 4;
|
8
|
+
optional ActionButton button = 1; // default=ActionButton.ANY
|
9
|
+
optional string hover_text = 2; // default='Interact'
|
10
|
+
optional float max_distance = 3; // default=10
|
11
|
+
optional bool show_feedback = 4; // default=true
|
12
12
|
}
|
@@ -5,8 +5,8 @@ option (ecs_component_id) = 1061;
|
|
5
5
|
import "common/ActionButton.proto";
|
6
6
|
|
7
7
|
message PBOnPointerUp {
|
8
|
-
ActionButton button = 1;
|
9
|
-
string hover_text = 2;
|
10
|
-
float
|
11
|
-
bool show_feedback = 4;
|
8
|
+
optional ActionButton button = 1; // default=ActionButton.ANY
|
9
|
+
optional string hover_text = 2; // default='Interact'
|
10
|
+
optional float max_distance = 3; // default=10
|
11
|
+
optional bool show_feedback = 4; // default=true
|
12
12
|
}
|
@@ -4,8 +4,11 @@ import "common/id.proto";
|
|
4
4
|
option (ecs_component_id) = 1014;
|
5
5
|
|
6
6
|
message PBPlaneShape {
|
7
|
-
|
8
|
-
bool
|
9
|
-
|
7
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
8
|
+
optional bool with_collisions = 1; // default=true
|
9
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
10
|
+
optional bool is_pointer_blocker = 2; // default=true
|
11
|
+
// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
|
12
|
+
optional bool visible = 3; // default=true
|
10
13
|
repeated float uvs = 4;
|
11
14
|
}
|
@@ -4,7 +4,10 @@ import "common/id.proto";
|
|
4
4
|
option (ecs_component_id) = 1015;
|
5
5
|
|
6
6
|
message PBSphereShape {
|
7
|
-
|
8
|
-
bool
|
9
|
-
|
7
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
8
|
+
optional bool with_collisions = 1; // default=true
|
9
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
10
|
+
optional bool is_pointer_blocker = 2; // default=true
|
11
|
+
// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
|
12
|
+
optional bool visible = 3; // default=true
|
10
13
|
}
|
@@ -7,27 +7,28 @@ import "common/Color3.proto";
|
|
7
7
|
|
8
8
|
message PBTextShape {
|
9
9
|
string text = 1;
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
float
|
14
|
-
|
15
|
-
|
16
|
-
string
|
17
|
-
|
18
|
-
float
|
19
|
-
float
|
20
|
-
float
|
21
|
-
float
|
22
|
-
float
|
23
|
-
float
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
float
|
28
|
-
float
|
29
|
-
float
|
30
|
-
|
31
|
-
Color3
|
32
|
-
Color3
|
10
|
+
// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
|
11
|
+
optional bool visible = 2; // default=true
|
12
|
+
optional string font = 3;
|
13
|
+
optional float opacity = 4; // default=1.0f
|
14
|
+
optional float font_Size = 5; // default=10
|
15
|
+
optional bool font_autoSize = 6;
|
16
|
+
optional string h_text_align = 7; // default='center'
|
17
|
+
optional string v_text_align = 8; // default='center'
|
18
|
+
optional float width = 9; // default=1
|
19
|
+
optional float height = 10; // default=1
|
20
|
+
optional float padding_top = 11;
|
21
|
+
optional float padding_right = 12;
|
22
|
+
optional float padding_bottom = 13;
|
23
|
+
optional float padding_left = 14;
|
24
|
+
optional float line_spacing = 15;
|
25
|
+
optional int32 line_count = 16;
|
26
|
+
optional bool text_wrapping = 17;
|
27
|
+
optional float shadow_blur = 18;
|
28
|
+
optional float shadow_offsetX = 19;
|
29
|
+
optional float shadow_offsetY = 20;
|
30
|
+
optional float outline_width = 21;
|
31
|
+
optional Color3 shadow_color = 22; // default=(1.0,1.0,1.0)
|
32
|
+
optional Color3 outline_color = 23; // default=(1.0,1.0,1.0)
|
33
|
+
optional Color3 text_color = 24; // default=(1.0,1.0,1.0)
|
33
34
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/sdk",
|
3
|
-
"version": "7.0.0-
|
3
|
+
"version": "7.0.0-2827081203.commit-fe0fe32",
|
4
4
|
"description": "",
|
5
5
|
"main": "dist/src/index.js",
|
6
6
|
"typings": "dist/index.d.ts",
|
@@ -27,8 +27,8 @@
|
|
27
27
|
"src/cli/**/*.js"
|
28
28
|
],
|
29
29
|
"dependencies": {
|
30
|
-
"@dcl/amd": "6.11.4-
|
31
|
-
"@dcl/build-ecs": "6.11.4-
|
30
|
+
"@dcl/amd": "6.11.4-2827081203.commit-fe0fe32",
|
31
|
+
"@dcl/build-ecs": "6.11.4-2827081203.commit-fe0fe32",
|
32
32
|
"@dcl/kernel": "1.0.0-2638443584.commit-696a74b",
|
33
33
|
"@dcl/posix": "^1.0.4",
|
34
34
|
"@dcl/schemas": "4.8.0",
|
@@ -38,5 +38,5 @@
|
|
38
38
|
"ignore": "^5.1.8"
|
39
39
|
},
|
40
40
|
"minCliVersion": "3.10.2",
|
41
|
-
"commit": "
|
41
|
+
"commit": "fe0fe321b54f9f8e457928a4eeea89f86263f23b"
|
42
42
|
}
|
package/types/ecs7/index.d.ts
CHANGED
@@ -1159,11 +1159,14 @@ declare enum Orientation {
|
|
1159
1159
|
declare interface PBAnimationState {
|
1160
1160
|
name: string;
|
1161
1161
|
clip: string;
|
1162
|
-
playing
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1162
|
+
playing?: boolean | undefined;
|
1163
|
+
/** default=1.0s */
|
1164
|
+
weight?: number | undefined;
|
1165
|
+
/** default=1.0 */
|
1166
|
+
speed?: number | undefined;
|
1167
|
+
/** default=true */
|
1168
|
+
loop?: boolean | undefined;
|
1169
|
+
shouldReset?: boolean | undefined;
|
1167
1170
|
}
|
1168
1171
|
|
1169
1172
|
declare interface PBAnimator {
|
@@ -1171,10 +1174,12 @@ declare interface PBAnimator {
|
|
1171
1174
|
}
|
1172
1175
|
|
1173
1176
|
declare interface PBAudioSource {
|
1174
|
-
playing
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1177
|
+
playing?: boolean | undefined;
|
1178
|
+
/** default=1.0f */
|
1179
|
+
volume?: number | undefined;
|
1180
|
+
loop?: boolean | undefined;
|
1181
|
+
/** default=1.0f */
|
1182
|
+
pitch?: number | undefined;
|
1178
1183
|
audioClipUrl: string;
|
1179
1184
|
}
|
1180
1185
|
|
@@ -1185,29 +1190,35 @@ declare interface PBAvatarAttach {
|
|
1185
1190
|
|
1186
1191
|
declare interface PBAvatarShape {
|
1187
1192
|
id: string;
|
1188
|
-
name
|
1189
|
-
bodyShape
|
1190
|
-
skinColor
|
1191
|
-
hairColor
|
1192
|
-
eyeColor
|
1193
|
+
name?: string | undefined;
|
1194
|
+
bodyShape?: string | undefined;
|
1195
|
+
skinColor?: Color3 | undefined;
|
1196
|
+
hairColor?: Color3 | undefined;
|
1197
|
+
eyeColor?: Color3 | undefined;
|
1193
1198
|
wearables: string[];
|
1194
|
-
expressionTriggerId
|
1195
|
-
expressionTriggerTimestamp
|
1196
|
-
stickerTriggerId
|
1197
|
-
stickerTriggerTimestamp
|
1198
|
-
talking
|
1199
|
+
expressionTriggerId?: string | undefined;
|
1200
|
+
expressionTriggerTimestamp?: number | undefined;
|
1201
|
+
stickerTriggerId?: string | undefined;
|
1202
|
+
stickerTriggerTimestamp?: number | undefined;
|
1203
|
+
talking?: boolean | undefined;
|
1199
1204
|
}
|
1200
1205
|
|
1201
1206
|
declare interface PBBillboard {
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1207
|
+
/** default=true */
|
1208
|
+
x?: boolean | undefined;
|
1209
|
+
/** default=true */
|
1210
|
+
y?: boolean | undefined;
|
1211
|
+
/** default=true */
|
1212
|
+
z?: boolean | undefined;
|
1205
1213
|
}
|
1206
1214
|
|
1207
1215
|
declare interface PBBoxShape {
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1216
|
+
/** @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 */
|
1217
|
+
withCollisions?: boolean | undefined;
|
1218
|
+
/** @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 */
|
1219
|
+
isPointerBlocker?: boolean | undefined;
|
1220
|
+
/** @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353 */
|
1221
|
+
visible?: boolean | undefined;
|
1211
1222
|
uvs: number[];
|
1212
1223
|
}
|
1213
1224
|
|
@@ -1221,35 +1232,50 @@ declare interface PBCameraModeArea {
|
|
1221
1232
|
}
|
1222
1233
|
|
1223
1234
|
declare interface PBCylinderShape {
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1235
|
+
/** @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 */
|
1236
|
+
withCollisions?: boolean | undefined;
|
1237
|
+
/** @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 */
|
1238
|
+
isPointerBlocker?: boolean | undefined;
|
1239
|
+
/** @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353 */
|
1240
|
+
visible?: boolean | undefined;
|
1241
|
+
/** default=1.0 */
|
1242
|
+
radiusTop?: number | undefined;
|
1243
|
+
/** default=1.0 */
|
1244
|
+
radiusBottom?: number | undefined;
|
1229
1245
|
}
|
1230
1246
|
|
1231
1247
|
declare interface PBGLTFShape {
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1248
|
+
/** @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 */
|
1249
|
+
withCollisions?: boolean | undefined;
|
1250
|
+
/** @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 */
|
1251
|
+
isPointerBlocker?: boolean | undefined;
|
1252
|
+
/** @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353 */
|
1253
|
+
visible?: boolean | undefined;
|
1235
1254
|
src: string;
|
1236
1255
|
}
|
1237
1256
|
|
1238
1257
|
declare interface PBNFTShape {
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1258
|
+
/** @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 */
|
1259
|
+
withCollisions?: boolean | undefined;
|
1260
|
+
/** @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 */
|
1261
|
+
isPointerBlocker?: boolean | undefined;
|
1262
|
+
/** @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353 */
|
1263
|
+
visible?: boolean | undefined;
|
1242
1264
|
src: string;
|
1243
|
-
assetId
|
1244
|
-
style
|
1245
|
-
color
|
1265
|
+
assetId?: string | undefined;
|
1266
|
+
style?: number | undefined;
|
1267
|
+
color?: Color3 | undefined;
|
1246
1268
|
}
|
1247
1269
|
|
1248
1270
|
declare interface PBOnPointerDown {
|
1249
|
-
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1271
|
+
/** default=ActionButton.ANY */
|
1272
|
+
button?: ActionButton | undefined;
|
1273
|
+
/** default='Interact' */
|
1274
|
+
hoverText?: string | undefined;
|
1275
|
+
/** default=10 */
|
1276
|
+
maxDistance?: number | undefined;
|
1277
|
+
/** default=true */
|
1278
|
+
showFeedback?: boolean | undefined;
|
1253
1279
|
}
|
1254
1280
|
|
1255
1281
|
declare interface PBOnPointerDownResult {
|
@@ -1264,10 +1290,14 @@ declare interface PBOnPointerDownResult {
|
|
1264
1290
|
}
|
1265
1291
|
|
1266
1292
|
declare interface PBOnPointerUp {
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1293
|
+
/** default=ActionButton.ANY */
|
1294
|
+
button?: ActionButton | undefined;
|
1295
|
+
/** default='Interact' */
|
1296
|
+
hoverText?: string | undefined;
|
1297
|
+
/** default=10 */
|
1298
|
+
maxDistance?: number | undefined;
|
1299
|
+
/** default=true */
|
1300
|
+
showFeedback?: boolean | undefined;
|
1271
1301
|
}
|
1272
1302
|
|
1273
1303
|
declare interface PBOnPointerUpResult {
|
@@ -1282,9 +1312,12 @@ declare interface PBOnPointerUpResult {
|
|
1282
1312
|
}
|
1283
1313
|
|
1284
1314
|
declare interface PBPlaneShape {
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1315
|
+
/** @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 */
|
1316
|
+
withCollisions?: boolean | undefined;
|
1317
|
+
/** @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 */
|
1318
|
+
isPointerBlocker?: boolean | undefined;
|
1319
|
+
/** @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353 */
|
1320
|
+
visible?: boolean | undefined;
|
1288
1321
|
uvs: number[];
|
1289
1322
|
}
|
1290
1323
|
|
@@ -1293,36 +1326,49 @@ declare interface PBPointerLock {
|
|
1293
1326
|
}
|
1294
1327
|
|
1295
1328
|
declare interface PBSphereShape {
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1329
|
+
/** @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 */
|
1330
|
+
withCollisions?: boolean | undefined;
|
1331
|
+
/** @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 */
|
1332
|
+
isPointerBlocker?: boolean | undefined;
|
1333
|
+
/** @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353 */
|
1334
|
+
visible?: boolean | undefined;
|
1299
1335
|
}
|
1300
1336
|
|
1301
1337
|
declare interface PBTextShape {
|
1302
1338
|
text: string;
|
1303
|
-
|
1304
|
-
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1339
|
+
/** @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353 */
|
1340
|
+
visible?: boolean | undefined;
|
1341
|
+
font?: string | undefined;
|
1342
|
+
/** default=1.0f */
|
1343
|
+
opacity?: number | undefined;
|
1344
|
+
/** default=10 */
|
1345
|
+
fontSize?: number | undefined;
|
1346
|
+
fontAutoSize?: boolean | undefined;
|
1347
|
+
/** default='center' */
|
1348
|
+
hTextAlign?: string | undefined;
|
1349
|
+
/** default='center' */
|
1350
|
+
vTextAlign?: string | undefined;
|
1351
|
+
/** default=1 */
|
1352
|
+
width?: number | undefined;
|
1353
|
+
/** default=1 */
|
1354
|
+
height?: number | undefined;
|
1355
|
+
paddingTop?: number | undefined;
|
1356
|
+
paddingRight?: number | undefined;
|
1357
|
+
paddingBottom?: number | undefined;
|
1358
|
+
paddingLeft?: number | undefined;
|
1359
|
+
lineSpacing?: number | undefined;
|
1360
|
+
lineCount?: number | undefined;
|
1361
|
+
textWrapping?: boolean | undefined;
|
1362
|
+
shadowBlur?: number | undefined;
|
1363
|
+
shadowOffsetX?: number | undefined;
|
1364
|
+
shadowOffsetY?: number | undefined;
|
1365
|
+
outlineWidth?: number | undefined;
|
1366
|
+
/** default=(1.0,1.0,1.0) */
|
1367
|
+
shadowColor?: Color3 | undefined;
|
1368
|
+
/** default=(1.0,1.0,1.0) */
|
1369
|
+
outlineColor?: Color3 | undefined;
|
1370
|
+
/** default=(1.0,1.0,1.0) */
|
1371
|
+
textColor?: Color3 | undefined;
|
1326
1372
|
}
|
1327
1373
|
|
1328
1374
|
/**
|