bard-legends-framework 1.10.0 → 1.11.0
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/index.d.mts +11 -5
- package/dist/index.d.ts +11 -5
- package/dist/index.js +24 -46
- package/dist/index.mjs +24 -46
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -230,11 +230,11 @@ interface AssetDefinition<T = string> {
|
|
|
230
230
|
readonly url: string;
|
|
231
231
|
}
|
|
232
232
|
declare enum BlendMode {
|
|
233
|
-
Normal =
|
|
234
|
-
Add =
|
|
235
|
-
Screen =
|
|
236
|
-
Luminosity =
|
|
237
|
-
ColorDodge =
|
|
233
|
+
Normal = "normal",
|
|
234
|
+
Add = "add",
|
|
235
|
+
Screen = "screen",
|
|
236
|
+
Luminosity = "luminosity",
|
|
237
|
+
ColorDodge = "color-dodge"
|
|
238
238
|
}
|
|
239
239
|
interface SpriteIDRegistry {
|
|
240
240
|
}
|
|
@@ -478,6 +478,12 @@ declare abstract class ContainerAttributes extends IDAttachable {
|
|
|
478
478
|
setInteractive(value: boolean): this;
|
|
479
479
|
get interactive(): boolean;
|
|
480
480
|
set interactive(value: boolean);
|
|
481
|
+
/**
|
|
482
|
+
* Renders this subtree as an isolated render group: its cached render instructions are not
|
|
483
|
+
* rebuilt when other parts of the scene change, and moving the group only updates one transform.
|
|
484
|
+
* Use for subtrees that move as a whole (world under a camera) or rarely change (HUD vs world).
|
|
485
|
+
*/
|
|
486
|
+
setRenderGroup(value?: boolean): this;
|
|
481
487
|
setCursor(value: Cursor): this;
|
|
482
488
|
get cursor(): Cursor;
|
|
483
489
|
set cursor(value: Cursor);
|
package/dist/index.d.ts
CHANGED
|
@@ -230,11 +230,11 @@ interface AssetDefinition<T = string> {
|
|
|
230
230
|
readonly url: string;
|
|
231
231
|
}
|
|
232
232
|
declare enum BlendMode {
|
|
233
|
-
Normal =
|
|
234
|
-
Add =
|
|
235
|
-
Screen =
|
|
236
|
-
Luminosity =
|
|
237
|
-
ColorDodge =
|
|
233
|
+
Normal = "normal",
|
|
234
|
+
Add = "add",
|
|
235
|
+
Screen = "screen",
|
|
236
|
+
Luminosity = "luminosity",
|
|
237
|
+
ColorDodge = "color-dodge"
|
|
238
238
|
}
|
|
239
239
|
interface SpriteIDRegistry {
|
|
240
240
|
}
|
|
@@ -478,6 +478,12 @@ declare abstract class ContainerAttributes extends IDAttachable {
|
|
|
478
478
|
setInteractive(value: boolean): this;
|
|
479
479
|
get interactive(): boolean;
|
|
480
480
|
set interactive(value: boolean);
|
|
481
|
+
/**
|
|
482
|
+
* Renders this subtree as an isolated render group: its cached render instructions are not
|
|
483
|
+
* rebuilt when other parts of the scene change, and moving the group only updates one transform.
|
|
484
|
+
* Use for subtrees that move as a whole (world under a camera) or rarely change (HUD vs world).
|
|
485
|
+
*/
|
|
486
|
+
setRenderGroup(value?: boolean): this;
|
|
481
487
|
setCursor(value: Cursor): this;
|
|
482
488
|
get cursor(): Cursor;
|
|
483
489
|
set cursor(value: Cursor);
|