@dcl/sdk 7.0.0-2966684214.commit-a567432 → 7.0.0-2982061039.commit-9cc9ea8
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
CHANGED
@@ -406,6 +406,23 @@ declare interface CreateByteBufferOptions {
|
|
406
406
|
initialCapacity?: number;
|
407
407
|
}
|
408
408
|
|
409
|
+
/**
|
410
|
+
* Transform parenting: cyclic dependency checker
|
411
|
+
* It checks only in modified Transforms
|
412
|
+
*
|
413
|
+
* Add this system with:
|
414
|
+
* ```ts
|
415
|
+
* engine.addSystem(cyclicParentingChecker(engine))
|
416
|
+
* ````
|
417
|
+
* And then it will check every tick the parenting.
|
418
|
+
*
|
419
|
+
* @public
|
420
|
+
*
|
421
|
+
* @params engine
|
422
|
+
* @returns a system
|
423
|
+
*/
|
424
|
+
export declare function cyclicParentingChecker(engine: IEngine): () => void;
|
425
|
+
|
409
426
|
/** @public */
|
410
427
|
export declare const CylinderShape: ComponentDefinition<ISchema<PBCylinderShape>, PBCylinderShape>;
|
411
428
|
|
@@ -1490,17 +1507,30 @@ declare interface PBAvatarModifierArea {
|
|
1490
1507
|
|
1491
1508
|
declare interface PBAvatarShape {
|
1492
1509
|
id: string;
|
1510
|
+
/** default = NPC */
|
1493
1511
|
name?: string | undefined;
|
1512
|
+
/** default = urn:decentraland:off-chain:base-avatars:BaseFemale */
|
1494
1513
|
bodyShape?: string | undefined;
|
1514
|
+
/** default = Color3(R = 0.6f, G = 0.462f, B = 0.356f) */
|
1495
1515
|
skinColor?: Color3 | undefined;
|
1516
|
+
/** default = Color3(R = 0.283f, G = 0.142f, B = 0f) */
|
1496
1517
|
hairColor?: Color3 | undefined;
|
1518
|
+
/** default = Color3(R = 0.6f, G = 0.462f, B = 0.356f) */
|
1497
1519
|
eyeColor?: Color3 | undefined;
|
1498
|
-
wearables: string[];
|
1499
1520
|
expressionTriggerId?: string | undefined;
|
1521
|
+
/** default = timestamp */
|
1500
1522
|
expressionTriggerTimestamp?: number | undefined;
|
1501
|
-
stickerTriggerId?: string | undefined;
|
1502
|
-
stickerTriggerTimestamp?: number | undefined;
|
1503
1523
|
talking?: boolean | undefined;
|
1524
|
+
/**
|
1525
|
+
* default = ["urn:decentraland:off-chain:base-avatars:f_eyes_00",
|
1526
|
+
* "urn:decentraland:off-chain:base-avatars:f_eyebrows_00",
|
1527
|
+
* "urn:decentraland:off-chain:base-avatars:f_mouth_00"
|
1528
|
+
* "urn:decentraland:off-chain:base-avatars:standard_hair",
|
1529
|
+
* "urn:decentraland:off-chain:base-avatars:f_simple_yellow_tshirt",
|
1530
|
+
* "urn:decentraland:off-chain:base-avatars:f_brown_trousers",
|
1531
|
+
* "urn:decentraland:off-chain:base-avatars:bun_shoes"]
|
1532
|
+
*/
|
1533
|
+
wearables: string[];
|
1504
1534
|
}
|
1505
1535
|
|
1506
1536
|
declare interface PBBillboard {
|