@dcl/playground-assets 7.17.1-21043804740.commit-3c928e0 → 7.17.1-21366395728.commit-ada88b6
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 +36 -1
- package/dist/beta.d.ts +36 -1
- package/dist/index.bundled.d.ts +36 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +3 -3
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +36 -1
- package/etc/playground-assets.api.json +173 -4
- package/etc/playground-assets.api.md +9 -3
- package/package.json +4 -4
package/dist/alpha.d.ts
CHANGED
|
@@ -6926,8 +6926,35 @@ export declare type RaycastSystemOptions = {
|
|
|
6926
6926
|
* @public
|
|
6927
6927
|
*/
|
|
6928
6928
|
export declare interface ReactBasedUiSystem {
|
|
6929
|
+
/**
|
|
6930
|
+
* Destroy all UI entities and unregister related systems.
|
|
6931
|
+
*/
|
|
6929
6932
|
destroy(): void;
|
|
6930
|
-
|
|
6933
|
+
/**
|
|
6934
|
+
* Set the main UI renderer. Optional virtual size defines the global UI scale factor.
|
|
6935
|
+
*/
|
|
6936
|
+
setUiRenderer(ui: UiComponent, options?: UiRendererOptions): void;
|
|
6937
|
+
/**
|
|
6938
|
+
* Add a UI renderer associated with an entity. The UI will be automatically cleaned up
|
|
6939
|
+
* when the entity is removed from the engine.
|
|
6940
|
+
*
|
|
6941
|
+
* If a renderer is already associated with the given entity, it will be replaced.
|
|
6942
|
+
*
|
|
6943
|
+
* This allows dynamically adding UI Renderers that are rendered alongside the main
|
|
6944
|
+
* UI set via setUiRenderer().
|
|
6945
|
+
*
|
|
6946
|
+
* @param entity - The entity to associate with this UI renderer. When the entity is removed,
|
|
6947
|
+
* the UI renderer is automatically cleaned up.
|
|
6948
|
+
* @param ui - The UI component to render
|
|
6949
|
+
* @param options - Optional virtual size used for UI scale factor when main UI has none
|
|
6950
|
+
*/
|
|
6951
|
+
addUiRenderer(entity: Entity, ui: UiComponent, options?: UiRendererOptions): void;
|
|
6952
|
+
/**
|
|
6953
|
+
* Remove a previously added UI renderer by its associated entity.
|
|
6954
|
+
* It does not affect the main UI renderer.
|
|
6955
|
+
* @param entity - The entity whose UI renderer should be removed
|
|
6956
|
+
*/
|
|
6957
|
+
removeUiRenderer(entity: Entity): void;
|
|
6931
6958
|
}
|
|
6932
6959
|
|
|
6933
6960
|
/**
|
|
@@ -8131,6 +8158,14 @@ export declare interface UiLabelProps {
|
|
|
8131
8158
|
*/
|
|
8132
8159
|
export declare type uint32 = number;
|
|
8133
8160
|
|
|
8161
|
+
/**
|
|
8162
|
+
* @public
|
|
8163
|
+
*/
|
|
8164
|
+
export declare type UiRendererOptions = {
|
|
8165
|
+
virtualWidth: number;
|
|
8166
|
+
virtualHeight: number;
|
|
8167
|
+
};
|
|
8168
|
+
|
|
8134
8169
|
/** @public */
|
|
8135
8170
|
export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
8136
8171
|
|
package/dist/beta.d.ts
CHANGED
|
@@ -6898,8 +6898,35 @@ export declare type RaycastSystemOptions = {
|
|
|
6898
6898
|
* @public
|
|
6899
6899
|
*/
|
|
6900
6900
|
export declare interface ReactBasedUiSystem {
|
|
6901
|
+
/**
|
|
6902
|
+
* Destroy all UI entities and unregister related systems.
|
|
6903
|
+
*/
|
|
6901
6904
|
destroy(): void;
|
|
6902
|
-
|
|
6905
|
+
/**
|
|
6906
|
+
* Set the main UI renderer. Optional virtual size defines the global UI scale factor.
|
|
6907
|
+
*/
|
|
6908
|
+
setUiRenderer(ui: UiComponent, options?: UiRendererOptions): void;
|
|
6909
|
+
/**
|
|
6910
|
+
* Add a UI renderer associated with an entity. The UI will be automatically cleaned up
|
|
6911
|
+
* when the entity is removed from the engine.
|
|
6912
|
+
*
|
|
6913
|
+
* If a renderer is already associated with the given entity, it will be replaced.
|
|
6914
|
+
*
|
|
6915
|
+
* This allows dynamically adding UI Renderers that are rendered alongside the main
|
|
6916
|
+
* UI set via setUiRenderer().
|
|
6917
|
+
*
|
|
6918
|
+
* @param entity - The entity to associate with this UI renderer. When the entity is removed,
|
|
6919
|
+
* the UI renderer is automatically cleaned up.
|
|
6920
|
+
* @param ui - The UI component to render
|
|
6921
|
+
* @param options - Optional virtual size used for UI scale factor when main UI has none
|
|
6922
|
+
*/
|
|
6923
|
+
addUiRenderer(entity: Entity, ui: UiComponent, options?: UiRendererOptions): void;
|
|
6924
|
+
/**
|
|
6925
|
+
* Remove a previously added UI renderer by its associated entity.
|
|
6926
|
+
* It does not affect the main UI renderer.
|
|
6927
|
+
* @param entity - The entity whose UI renderer should be removed
|
|
6928
|
+
*/
|
|
6929
|
+
removeUiRenderer(entity: Entity): void;
|
|
6903
6930
|
}
|
|
6904
6931
|
|
|
6905
6932
|
/**
|
|
@@ -8098,6 +8125,14 @@ export declare interface UiLabelProps {
|
|
|
8098
8125
|
*/
|
|
8099
8126
|
export declare type uint32 = number;
|
|
8100
8127
|
|
|
8128
|
+
/**
|
|
8129
|
+
* @public
|
|
8130
|
+
*/
|
|
8131
|
+
export declare type UiRendererOptions = {
|
|
8132
|
+
virtualWidth: number;
|
|
8133
|
+
virtualHeight: number;
|
|
8134
|
+
};
|
|
8135
|
+
|
|
8101
8136
|
/** @public */
|
|
8102
8137
|
export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
8103
8138
|
|
package/dist/index.bundled.d.ts
CHANGED
|
@@ -6898,8 +6898,35 @@ export declare type RaycastSystemOptions = {
|
|
|
6898
6898
|
* @public
|
|
6899
6899
|
*/
|
|
6900
6900
|
export declare interface ReactBasedUiSystem {
|
|
6901
|
+
/**
|
|
6902
|
+
* Destroy all UI entities and unregister related systems.
|
|
6903
|
+
*/
|
|
6901
6904
|
destroy(): void;
|
|
6902
|
-
|
|
6905
|
+
/**
|
|
6906
|
+
* Set the main UI renderer. Optional virtual size defines the global UI scale factor.
|
|
6907
|
+
*/
|
|
6908
|
+
setUiRenderer(ui: UiComponent, options?: UiRendererOptions): void;
|
|
6909
|
+
/**
|
|
6910
|
+
* Add a UI renderer associated with an entity. The UI will be automatically cleaned up
|
|
6911
|
+
* when the entity is removed from the engine.
|
|
6912
|
+
*
|
|
6913
|
+
* If a renderer is already associated with the given entity, it will be replaced.
|
|
6914
|
+
*
|
|
6915
|
+
* This allows dynamically adding UI Renderers that are rendered alongside the main
|
|
6916
|
+
* UI set via setUiRenderer().
|
|
6917
|
+
*
|
|
6918
|
+
* @param entity - The entity to associate with this UI renderer. When the entity is removed,
|
|
6919
|
+
* the UI renderer is automatically cleaned up.
|
|
6920
|
+
* @param ui - The UI component to render
|
|
6921
|
+
* @param options - Optional virtual size used for UI scale factor when main UI has none
|
|
6922
|
+
*/
|
|
6923
|
+
addUiRenderer(entity: Entity, ui: UiComponent, options?: UiRendererOptions): void;
|
|
6924
|
+
/**
|
|
6925
|
+
* Remove a previously added UI renderer by its associated entity.
|
|
6926
|
+
* It does not affect the main UI renderer.
|
|
6927
|
+
* @param entity - The entity whose UI renderer should be removed
|
|
6928
|
+
*/
|
|
6929
|
+
removeUiRenderer(entity: Entity): void;
|
|
6903
6930
|
}
|
|
6904
6931
|
|
|
6905
6932
|
/**
|
|
@@ -8098,6 +8125,14 @@ export declare interface UiLabelProps {
|
|
|
8098
8125
|
*/
|
|
8099
8126
|
export declare type uint32 = number;
|
|
8100
8127
|
|
|
8128
|
+
/**
|
|
8129
|
+
* @public
|
|
8130
|
+
*/
|
|
8131
|
+
export declare type UiRendererOptions = {
|
|
8132
|
+
virtualWidth: number;
|
|
8133
|
+
virtualHeight: number;
|
|
8134
|
+
};
|
|
8135
|
+
|
|
8101
8136
|
/** @public */
|
|
8102
8137
|
export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
8103
8138
|
|