@dcl/sdk 7.0.0-3108095849.commit-cc94e35 → 7.0.0-3138450135.commit-b55c337
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 +30 -8
- package/dist/ecs7/index.js +34 -39
- package/dist/ecs7/index.min.js +1 -1
- package/dist/ecs7/index.min.js.map +1 -1
- package/dist/ecs7/proto-definitions/NFTShape.proto +29 -10
- package/dist/playground/snippets/{cube-spawner-example.ts → cube-spawner.ts} +0 -0
- package/dist/playground/snippets/info.json +1 -1
- package/dist/playground/snippets/{material-test.ts → material.ts} +0 -0
- package/dist/playground/snippets/{meshes-test-creation.ts → mesh.ts} +0 -0
- package/dist/playground/snippets/{pointer-event-test.ts → pointer-events.ts} +0 -0
- package/dist/playground/snippets/{raycast-test-hit-many.ts → raycast-hit-many.ts} +0 -0
- package/dist/playground/snippets/{raycast-hit-oscillator-example.ts → raycast-hit-oscilator.ts} +0 -0
- package/dist/playground/snippets/{raycast-test-hit-one.ts → raycast-hit.ts} +0 -0
- package/dist/playground/snippets/ui.tsx +37 -0
- package/package.json +4 -4
- package/types/ecs7/index.d.ts +30 -8
package/dist/ecs7/index.d.ts
CHANGED
@@ -2000,18 +2000,40 @@ declare interface PBMeshRenderer_SphereMesh {
|
|
2000
2000
|
}
|
2001
2001
|
|
2002
2002
|
declare interface PBNFTShape {
|
2003
|
-
/** @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 */
|
2004
|
-
withCollisions?: boolean | undefined;
|
2005
|
-
/** @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 */
|
2006
|
-
isPointerBlocker?: boolean | undefined;
|
2007
|
-
/** @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353 */
|
2008
|
-
visible?: boolean | undefined;
|
2009
2003
|
src: string;
|
2010
|
-
|
2011
|
-
style?:
|
2004
|
+
/** default = PictureFrameStyle.Classic */
|
2005
|
+
style?: PBNFTShape_PictureFrameStyle | undefined;
|
2006
|
+
/** default = Color3(0.6404918, 0.611472, 0.8584906) */
|
2012
2007
|
color?: Color3 | undefined;
|
2013
2008
|
}
|
2014
2009
|
|
2010
|
+
declare const enum PBNFTShape_PictureFrameStyle {
|
2011
|
+
Classic = 0,
|
2012
|
+
Baroque_Ornament = 1,
|
2013
|
+
Diamond_Ornament = 2,
|
2014
|
+
Minimal_Wide = 3,
|
2015
|
+
Minimal_Grey = 4,
|
2016
|
+
Blocky = 5,
|
2017
|
+
Gold_Edges = 6,
|
2018
|
+
Gold_Carved = 7,
|
2019
|
+
Gold_Wide = 8,
|
2020
|
+
Gold_Rounded = 9,
|
2021
|
+
Metal_Medium = 10,
|
2022
|
+
Metal_Wide = 11,
|
2023
|
+
Metal_Slim = 12,
|
2024
|
+
Metal_Rounded = 13,
|
2025
|
+
Pins = 14,
|
2026
|
+
Minimal_Black = 15,
|
2027
|
+
Minimal_White = 16,
|
2028
|
+
Tape = 17,
|
2029
|
+
Wood_Slim = 18,
|
2030
|
+
Wood_Wide = 19,
|
2031
|
+
Wood_Twigs = 20,
|
2032
|
+
Canvas = 21,
|
2033
|
+
None = 22,
|
2034
|
+
UNRECOGNIZED = -1
|
2035
|
+
}
|
2036
|
+
|
2015
2037
|
declare interface PBOnPointerDown {
|
2016
2038
|
/** default=ActionButton.ANY */
|
2017
2039
|
button?: ActionButton | undefined;
|