@laplace.live/persona-sdk 1.23.0 → 1.24.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.
|
@@ -202,6 +202,7 @@ export const EFFECT_SPECS = {
|
|
|
202
202
|
},
|
|
203
203
|
outline: {
|
|
204
204
|
size: { default: 0, min: 0, max: 1, step: 0.01 },
|
|
205
|
+
roundness: { default: 0, min: 0, max: 1, step: 0.01 },
|
|
205
206
|
opacity: { default: 1, min: 0, max: 1, step: 0.01 },
|
|
206
207
|
},
|
|
207
208
|
// VTube Studio's backlight shadow: an offset silhouette copy. VTS hides it at
|
package/dist/wire/types.d.ts
CHANGED
|
@@ -22,10 +22,10 @@ export type AssetKind = (typeof ASSET_KINDS)[number];
|
|
|
22
22
|
/** Narrow a kind string to the set the asset registry owns — models and effects have their own. */
|
|
23
23
|
export declare function isAssetKind(v: unknown): v is AssetKind;
|
|
24
24
|
/**
|
|
25
|
-
* Every content kind the Inventory can list. `
|
|
26
|
-
*
|
|
25
|
+
* Every content kind the Inventory can list. `effect` rows are post-processing effects
|
|
26
|
+
* (built-in or installed), not files.
|
|
27
27
|
*/
|
|
28
|
-
export type InventoryKind = ModelFormat |
|
|
28
|
+
export type InventoryKind = ModelFormat | AssetKind | 'effect';
|
|
29
29
|
/**
|
|
30
30
|
* What every registry entry carries, model or asset alike. `kind` is always *what
|
|
31
31
|
* the thing is* and `origin` always *where it came from* — the two were once
|
|
@@ -1069,7 +1069,7 @@ export interface SceneRim {
|
|
|
1069
1069
|
angle: number;
|
|
1070
1070
|
opacity: number;
|
|
1071
1071
|
}
|
|
1072
|
-
/** Solid silhouette border
|
|
1072
|
+
/** Solid silhouette border; quality sets how closely it follows fine detail. */
|
|
1073
1073
|
export interface SceneOutline {
|
|
1074
1074
|
enabled: boolean;
|
|
1075
1075
|
quality: 'low' | 'medium' | 'high';
|
|
@@ -1077,6 +1077,8 @@ export interface SceneOutline {
|
|
|
1077
1077
|
color: string;
|
|
1078
1078
|
/** Normalized border thickness, 0..1. */
|
|
1079
1079
|
size: number;
|
|
1080
|
+
/** Normalized radius, 0..1, rounding the border's corners and filling narrow gaps; 0 follows the silhouette. */
|
|
1081
|
+
roundness: number;
|
|
1080
1082
|
/** Outline opacity 0..1. */
|
|
1081
1083
|
opacity: number;
|
|
1082
1084
|
}
|