@dcl/playground-assets 7.17.1-20863678121.commit-2175acc → 7.17.1-21217092165.commit-1c2ff72
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 -0
- package/dist/beta.d.ts +19 -0
- package/dist/index.bundled.d.ts +19 -0
- package/dist/index.js +5 -5
- package/dist/index.js.map +3 -3
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +19 -0
- package/etc/playground-assets.api.json +109 -0
- package/etc/playground-assets.api.md +2 -0
- package/package.json +4 -4
package/dist/alpha.d.ts
CHANGED
|
@@ -6928,6 +6928,25 @@ export declare type RaycastSystemOptions = {
|
|
|
6928
6928
|
export declare interface ReactBasedUiSystem {
|
|
6929
6929
|
destroy(): void;
|
|
6930
6930
|
setUiRenderer(ui: UiComponent): void;
|
|
6931
|
+
/**
|
|
6932
|
+
* Add a UI renderer associated with an entity. The UI will be automatically cleaned up
|
|
6933
|
+
* when the entity is removed from the engine.
|
|
6934
|
+
*
|
|
6935
|
+
* If a renderer is already associated with the given entity, it will be replaced.
|
|
6936
|
+
*
|
|
6937
|
+
* This allows dynamically adding UI Renderers that are rendered alongside the main
|
|
6938
|
+
* UI set via setUiRenderer().
|
|
6939
|
+
*
|
|
6940
|
+
* @param entity - The entity to associate with this UI renderer. When the entity is removed,
|
|
6941
|
+
* the UI renderer is automatically cleaned up.
|
|
6942
|
+
* @param ui - The UI component to render
|
|
6943
|
+
*/
|
|
6944
|
+
addUiRenderer(entity: Entity, ui: UiComponent): void;
|
|
6945
|
+
/**
|
|
6946
|
+
* Remove a previously added UI renderer by its associated entity.
|
|
6947
|
+
* @param entity - The entity whose UI renderer should be removed
|
|
6948
|
+
*/
|
|
6949
|
+
removeUiRenderer(entity: Entity): void;
|
|
6931
6950
|
}
|
|
6932
6951
|
|
|
6933
6952
|
/**
|
package/dist/beta.d.ts
CHANGED
|
@@ -6900,6 +6900,25 @@ export declare type RaycastSystemOptions = {
|
|
|
6900
6900
|
export declare interface ReactBasedUiSystem {
|
|
6901
6901
|
destroy(): void;
|
|
6902
6902
|
setUiRenderer(ui: UiComponent): void;
|
|
6903
|
+
/**
|
|
6904
|
+
* Add a UI renderer associated with an entity. The UI will be automatically cleaned up
|
|
6905
|
+
* when the entity is removed from the engine.
|
|
6906
|
+
*
|
|
6907
|
+
* If a renderer is already associated with the given entity, it will be replaced.
|
|
6908
|
+
*
|
|
6909
|
+
* This allows dynamically adding UI Renderers that are rendered alongside the main
|
|
6910
|
+
* UI set via setUiRenderer().
|
|
6911
|
+
*
|
|
6912
|
+
* @param entity - The entity to associate with this UI renderer. When the entity is removed,
|
|
6913
|
+
* the UI renderer is automatically cleaned up.
|
|
6914
|
+
* @param ui - The UI component to render
|
|
6915
|
+
*/
|
|
6916
|
+
addUiRenderer(entity: Entity, ui: UiComponent): void;
|
|
6917
|
+
/**
|
|
6918
|
+
* Remove a previously added UI renderer by its associated entity.
|
|
6919
|
+
* @param entity - The entity whose UI renderer should be removed
|
|
6920
|
+
*/
|
|
6921
|
+
removeUiRenderer(entity: Entity): void;
|
|
6903
6922
|
}
|
|
6904
6923
|
|
|
6905
6924
|
/**
|
package/dist/index.bundled.d.ts
CHANGED
|
@@ -6900,6 +6900,25 @@ export declare type RaycastSystemOptions = {
|
|
|
6900
6900
|
export declare interface ReactBasedUiSystem {
|
|
6901
6901
|
destroy(): void;
|
|
6902
6902
|
setUiRenderer(ui: UiComponent): void;
|
|
6903
|
+
/**
|
|
6904
|
+
* Add a UI renderer associated with an entity. The UI will be automatically cleaned up
|
|
6905
|
+
* when the entity is removed from the engine.
|
|
6906
|
+
*
|
|
6907
|
+
* If a renderer is already associated with the given entity, it will be replaced.
|
|
6908
|
+
*
|
|
6909
|
+
* This allows dynamically adding UI Renderers that are rendered alongside the main
|
|
6910
|
+
* UI set via setUiRenderer().
|
|
6911
|
+
*
|
|
6912
|
+
* @param entity - The entity to associate with this UI renderer. When the entity is removed,
|
|
6913
|
+
* the UI renderer is automatically cleaned up.
|
|
6914
|
+
* @param ui - The UI component to render
|
|
6915
|
+
*/
|
|
6916
|
+
addUiRenderer(entity: Entity, ui: UiComponent): void;
|
|
6917
|
+
/**
|
|
6918
|
+
* Remove a previously added UI renderer by its associated entity.
|
|
6919
|
+
* @param entity - The entity whose UI renderer should be removed
|
|
6920
|
+
*/
|
|
6921
|
+
removeUiRenderer(entity: Entity): void;
|
|
6903
6922
|
}
|
|
6904
6923
|
|
|
6905
6924
|
/**
|