@rendley/sdk 1.11.4 → 1.11.5
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/Engine.d.ts +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/modules/effect/EffectBase.d.ts +2 -0
- package/dist/modules/effect/built-in-effects/BuiltInAdjustmentEffect.d.ts +16 -0
- package/dist/modules/effect/built-in-effects/BuiltInAdvancedBloomEffect.d.ts +14 -0
- package/dist/modules/effect/built-in-effects/BuiltInAsciiEffect.d.ts +9 -0
- package/dist/modules/effect/built-in-effects/BuiltInBevelEffect.d.ts +14 -0
- package/dist/modules/effect/built-in-effects/BuiltInBloomEffect.d.ts +12 -0
- package/dist/modules/effect/built-in-effects/BuiltInBulgePinchEffect.d.ts +13 -0
- package/dist/modules/effect/built-in-effects/BuiltInCRTEffect.d.ts +20 -0
- package/dist/modules/effect/built-in-effects/BuiltInColorOverlayEffect.d.ts +10 -0
- package/dist/modules/effect/built-in-effects/BuiltInColorReplaceEffect.d.ts +11 -0
- package/dist/modules/effect/built-in-effects/BuiltInCrossHatchEffect.d.ts +8 -0
- package/dist/modules/effect/built-in-effects/BuiltInDotEffect.d.ts +11 -0
- package/dist/modules/effect/built-in-effects/BuiltInDropShadowEffect.d.ts +15 -0
- package/dist/modules/effect/built-in-effects/BuiltInEmbossEffect.d.ts +9 -0
- package/dist/modules/effect/built-in-effects/BuiltInGlowEffect.d.ts +15 -0
- package/dist/modules/effect/built-in-effects/BuiltInGodrayEffect.d.ts +17 -0
- package/dist/modules/effect/built-in-effects/BuiltInHSLAdjustmentEffect.d.ts +13 -0
- package/dist/modules/effect/built-in-effects/BuiltInMotionBlurEffect.d.ts +11 -0
- package/dist/modules/effect/built-in-effects/BuiltInOldFilmEffect.d.ts +18 -0
- package/dist/modules/effect/built-in-effects/BuiltInOutlineEffect.d.ts +13 -0
- package/dist/modules/effect/built-in-effects/BuiltInPixelateEffect.d.ts +9 -0
- package/dist/modules/effect/built-in-effects/BuiltInRGBSplitEffect.d.ts +11 -0
- package/dist/modules/effect/built-in-effects/BuiltInRadialBlurEffect.d.ts +13 -0
- package/dist/modules/effect/built-in-effects/BuiltInReflectionEffect.d.ts +16 -0
- package/dist/modules/effect/built-in-effects/BuiltInShockwaveEffect.d.ts +17 -0
- package/dist/modules/effect/built-in-effects/BuiltInTiltShiftEffect.d.ts +12 -0
- package/dist/modules/effect/built-in-effects/BuiltInTwistEffect.d.ts +11 -0
- package/dist/modules/effect/built-in-effects/BuiltInZoomBlurEffect.d.ts +12 -0
- package/dist/modules/library/BuiltInEffectDefines.d.ts +27 -1
- package/dist/modules/library/types/Property.types.d.ts +4 -0
- package/dist/modules/renderer/Renderer.d.ts +1 -0
- package/dist/modules/settings/Settings.d.ts +23 -0
- package/dist/utils/math/wrapValue.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInAdjustmentEffectPropertiesEnum {
|
|
3
|
+
ALPHA = "alpha",
|
|
4
|
+
BLUE = "blue",
|
|
5
|
+
BRIGHTNESS = "brightness",
|
|
6
|
+
CONTRAST = "contrast",
|
|
7
|
+
GAMMA = "gamma",
|
|
8
|
+
GREEN = "green",
|
|
9
|
+
RED = "red",
|
|
10
|
+
SATURATION = "saturation"
|
|
11
|
+
}
|
|
12
|
+
export declare class BuiltInAdjustmentEffect extends EffectBase {
|
|
13
|
+
constructor(properties: Map<string, any>);
|
|
14
|
+
setProperty(propertyName: string, value: any): void;
|
|
15
|
+
getProperty(propertyName: string): number | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInAdvancedBloomEffectPropertiesEnum {
|
|
3
|
+
BLOOM_SCALE = "bloomScale",
|
|
4
|
+
BLUR = "blur",
|
|
5
|
+
BRIGHTNESS = "brightness",
|
|
6
|
+
PIXEL_SIZE = "pixelSize",
|
|
7
|
+
QUALITY = "quality",
|
|
8
|
+
THRESHOLD = "threshold"
|
|
9
|
+
}
|
|
10
|
+
export declare class BuiltInAdvancedBloomEffect extends EffectBase {
|
|
11
|
+
constructor(properties: Map<string, any>);
|
|
12
|
+
setProperty(propertyName: string, value: any): void;
|
|
13
|
+
getProperty(propertyName: string): number | number[] | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInAsciiEffectPropertiesEnum {
|
|
3
|
+
SIZE = "size"
|
|
4
|
+
}
|
|
5
|
+
export declare class BuiltInAsciiEffect extends EffectBase {
|
|
6
|
+
constructor(properties: Map<string, any>);
|
|
7
|
+
setProperty(propertyName: string, value: any): void;
|
|
8
|
+
getProperty(propertyName: string): number | null;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInBevelEffectPropertiesEnum {
|
|
3
|
+
LIGHT_ALPHA = "lightAlpha",
|
|
4
|
+
LIGHT_COLOR = "lightColor",
|
|
5
|
+
ROTATION = "rotation",
|
|
6
|
+
SHADOW_ALPHA = "shadowAlpha",
|
|
7
|
+
SHADOW_COLOR = "shadowColor",
|
|
8
|
+
THICKNESS = "thickness"
|
|
9
|
+
}
|
|
10
|
+
export declare class BuiltInBevelEffect extends EffectBase {
|
|
11
|
+
constructor(properties: Map<string, any>);
|
|
12
|
+
setProperty(propertyName: string, value: any): void;
|
|
13
|
+
getProperty(propertyName: string): number | number[] | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInBloomEffectPropertiesEnum {
|
|
3
|
+
STRENGTH = "strength",
|
|
4
|
+
QUALITY = "quality",
|
|
5
|
+
RESOLUTION = "resolution",
|
|
6
|
+
KERNEL_SIZE = "kernelSize"
|
|
7
|
+
}
|
|
8
|
+
export declare class BuiltInBloomEffect extends EffectBase {
|
|
9
|
+
constructor(properties: Map<string, any>);
|
|
10
|
+
setProperty(propertyName: string, value: any): void;
|
|
11
|
+
getProperty(propertyName: string): number | null;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInBulgePinchEffectPropertiesEnum {
|
|
3
|
+
CENTER = "center",
|
|
4
|
+
CENTER_X = "centerX",
|
|
5
|
+
CENTER_Y = "centerY",
|
|
6
|
+
RADIUS = "radius",
|
|
7
|
+
STRENGTH = "strength"
|
|
8
|
+
}
|
|
9
|
+
export declare class BuiltInBulgePinchEffect extends EffectBase {
|
|
10
|
+
constructor(properties: Map<string, any>);
|
|
11
|
+
setProperty(propertyName: string, value: any): void;
|
|
12
|
+
getProperty(propertyName: string): number | number[] | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInCRTEffectPropertiesEnum {
|
|
3
|
+
curvature = "curvature",
|
|
4
|
+
lineContrast = "lineContrast",
|
|
5
|
+
lineWidth = "lineWidth",
|
|
6
|
+
noise = "noise",
|
|
7
|
+
noiseSize = "noiseSize",
|
|
8
|
+
verticalLine = "verticalLine",
|
|
9
|
+
vignetting = "vignetting",
|
|
10
|
+
vignettingAlpha = "vignettingAlpha",
|
|
11
|
+
vignettingBlur = "vignettingBlur",
|
|
12
|
+
timeScale = "timeScale"
|
|
13
|
+
}
|
|
14
|
+
export declare class BuiltInCRTEffect extends EffectBase {
|
|
15
|
+
timeScale: number;
|
|
16
|
+
constructor(properties: Map<string, any>);
|
|
17
|
+
setProperty(propertyName: string, value: any): void;
|
|
18
|
+
getProperty(propertyName: string): number | boolean | null;
|
|
19
|
+
update(currentTime: number): void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInColorOverlayEffectPropertiesEnum {
|
|
3
|
+
ALPHA = "alpha",
|
|
4
|
+
COLOR = "color"
|
|
5
|
+
}
|
|
6
|
+
export declare class BuiltInColorOverlayEffect extends EffectBase {
|
|
7
|
+
constructor(properties: Map<string, any>);
|
|
8
|
+
setProperty(propertyName: string, value: any): void;
|
|
9
|
+
getProperty(propertyName: string): number | number[] | null;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInColorReplaceEffectPropertiesEnum {
|
|
3
|
+
ORIGINAL_COLOR = "originalColor",
|
|
4
|
+
NEW_COLOR = "newColor",
|
|
5
|
+
EPSILON = "epsilon"
|
|
6
|
+
}
|
|
7
|
+
export declare class BuiltInColorReplaceEffect extends EffectBase {
|
|
8
|
+
constructor(properties: Map<string, any>);
|
|
9
|
+
setProperty(propertyName: string, value: any): void;
|
|
10
|
+
getProperty(propertyName: string): number | number[] | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInCrossHatchEffectPropertiesEnum {
|
|
3
|
+
}
|
|
4
|
+
export declare class BuiltInCrossHatchEffect extends EffectBase {
|
|
5
|
+
constructor(_properties: Map<string, any>);
|
|
6
|
+
setProperty(propertyName: string, value: any): void;
|
|
7
|
+
getProperty(propertyName: string): null;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInDotEffectPropertiesEnum {
|
|
3
|
+
angle = "angle",
|
|
4
|
+
scale = "scale",
|
|
5
|
+
grayscale = "grayscale"
|
|
6
|
+
}
|
|
7
|
+
export declare class BuiltInDotEffect extends EffectBase {
|
|
8
|
+
constructor(properties: Map<string, any>);
|
|
9
|
+
setProperty(propertyName: string, value: any): void;
|
|
10
|
+
getProperty(propertyName: string): number | boolean | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInDropShadowEffectPropertiesEnum {
|
|
3
|
+
alpha = "alpha",
|
|
4
|
+
blur = "blur",
|
|
5
|
+
color = "color",
|
|
6
|
+
offset = "offset",
|
|
7
|
+
pixelSize = "pixelSize",
|
|
8
|
+
quality = "quality",
|
|
9
|
+
shadowOnly = "shadowOnly"
|
|
10
|
+
}
|
|
11
|
+
export declare class BuiltInDropShadowEffect extends EffectBase {
|
|
12
|
+
constructor(properties: Map<string, any>);
|
|
13
|
+
setProperty(propertyName: string, value: any): void;
|
|
14
|
+
getProperty(propertyName: string): number | boolean | number[] | null;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInEmbossEffectPropertiesEnum {
|
|
3
|
+
strength = "strength"
|
|
4
|
+
}
|
|
5
|
+
export declare class BuiltInEmbossEffect extends EffectBase {
|
|
6
|
+
constructor(properties: Map<string, any>);
|
|
7
|
+
setProperty(propertyName: string, value: any): void;
|
|
8
|
+
getProperty(propertyName: string): number | null;
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInGlowEffectPropertiesEnum {
|
|
3
|
+
alpha = "alpha",
|
|
4
|
+
color = "color",
|
|
5
|
+
distance = "distance",
|
|
6
|
+
innerStrength = "innerStrength",
|
|
7
|
+
knockout = "knockout",
|
|
8
|
+
outerStrength = "outerStrength",
|
|
9
|
+
quality = "quality"
|
|
10
|
+
}
|
|
11
|
+
export declare class BuiltInGlowEffect extends EffectBase {
|
|
12
|
+
constructor(properties: Map<string, any>);
|
|
13
|
+
setProperty(propertyName: string, value: any): void;
|
|
14
|
+
getProperty(propertyName: string): number | boolean | number[] | null;
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInGodrayEffectPropertiesEnum {
|
|
3
|
+
alpha = "alpha",
|
|
4
|
+
angle = "angle",
|
|
5
|
+
center = "center",
|
|
6
|
+
gain = "gain",
|
|
7
|
+
lacunarity = "lacunarity",
|
|
8
|
+
parallel = "parallel",
|
|
9
|
+
timeScale = "timeScale"
|
|
10
|
+
}
|
|
11
|
+
export declare class BuiltInGodrayEffect extends EffectBase {
|
|
12
|
+
timeScale: number;
|
|
13
|
+
constructor(properties: Map<string, any>);
|
|
14
|
+
setProperty(propertyName: string, value: any): void;
|
|
15
|
+
getProperty(propertyName: string): number | boolean | number[] | null;
|
|
16
|
+
update(currentTime: number): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInHSLAdjustmentEffectPropertiesEnum {
|
|
3
|
+
alpha = "alpha",
|
|
4
|
+
colorize = "colorize",
|
|
5
|
+
hue = "hue",
|
|
6
|
+
lightness = "lightness",
|
|
7
|
+
saturation = "saturation"
|
|
8
|
+
}
|
|
9
|
+
export declare class BuiltInHSLAdjustmentEffect extends EffectBase {
|
|
10
|
+
constructor(properties: Map<string, any>);
|
|
11
|
+
setProperty(propertyName: string, value: any): void;
|
|
12
|
+
getProperty(propertyName: string): number | boolean | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInMotionBlurEffectPropertiesEnum {
|
|
3
|
+
kernelSize = "kernelSize",
|
|
4
|
+
offset = "offset",
|
|
5
|
+
velocity = "velocity"
|
|
6
|
+
}
|
|
7
|
+
export declare class BuiltInMotionBlurEffect extends EffectBase {
|
|
8
|
+
constructor(properties: Map<string, any>);
|
|
9
|
+
setProperty(propertyName: string, value: any): void;
|
|
10
|
+
getProperty(propertyName: string): number | number[] | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInOldFilmEffectPropertiesEnum {
|
|
3
|
+
noise = "noise",
|
|
4
|
+
noiseSize = "noiseSize",
|
|
5
|
+
scratch = "scratch",
|
|
6
|
+
scratchDensity = "scratchDensity",
|
|
7
|
+
scratchWidth = "scratchWidth",
|
|
8
|
+
sepia = "sepia",
|
|
9
|
+
vignetting = "vignetting",
|
|
10
|
+
vignettingAlpha = "vignettingAlpha",
|
|
11
|
+
vignettingBlur = "vignettingBlur"
|
|
12
|
+
}
|
|
13
|
+
export declare class BuiltInOldFilmEffect extends EffectBase {
|
|
14
|
+
constructor(properties: Map<string, any>);
|
|
15
|
+
setProperty(propertyName: string, value: any): void;
|
|
16
|
+
getProperty(propertyName: string): number | null;
|
|
17
|
+
update(currentTime: number): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInOutlineEffectPropertiesEnum {
|
|
3
|
+
alpha = "alpha",
|
|
4
|
+
color = "color",
|
|
5
|
+
knockout = "knockout",
|
|
6
|
+
quality = "quality",
|
|
7
|
+
thickness = "thickness"
|
|
8
|
+
}
|
|
9
|
+
export declare class BuiltInOutlineEffect extends EffectBase {
|
|
10
|
+
constructor(properties: Map<string, any>);
|
|
11
|
+
setProperty(propertyName: string, value: any): void;
|
|
12
|
+
getProperty(propertyName: string): number | boolean | number[] | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInPixelateEffectPropertiesEnum {
|
|
3
|
+
size = "size"
|
|
4
|
+
}
|
|
5
|
+
export declare class BuiltInPixelateEffect extends EffectBase {
|
|
6
|
+
constructor(properties: Map<string, any>);
|
|
7
|
+
setProperty(propertyName: string, value: any): void;
|
|
8
|
+
getProperty(propertyName: string): number[] | null;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInRGBSplitEffectPropertiesEnum {
|
|
3
|
+
red = "red",
|
|
4
|
+
green = "green",
|
|
5
|
+
blue = "blue"
|
|
6
|
+
}
|
|
7
|
+
export declare class BuiltInRGBSplitEffect extends EffectBase {
|
|
8
|
+
constructor(properties: Map<string, any>);
|
|
9
|
+
setProperty(propertyName: string, value: any): void;
|
|
10
|
+
getProperty(propertyName: string): number[] | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as PIXI from "pixi.js";
|
|
2
|
+
import { EffectBase } from "../EffectBase";
|
|
3
|
+
export declare enum BuiltInRadialBlurEffectPropertiesEnum {
|
|
4
|
+
angle = "angle",
|
|
5
|
+
center = "center",
|
|
6
|
+
kernelSize = "kernelSize",
|
|
7
|
+
radius = "radius"
|
|
8
|
+
}
|
|
9
|
+
export declare class BuiltInRadialBlurEffect extends EffectBase {
|
|
10
|
+
constructor(properties: Map<string, any>);
|
|
11
|
+
setProperty(propertyName: string, value: any): void;
|
|
12
|
+
getProperty(propertyName: string): number | (number[] | PIXI.Point) | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInReflectionEffectPropertiesEnum {
|
|
3
|
+
alpha = "alpha",
|
|
4
|
+
amplitude = "amplitude",
|
|
5
|
+
boundary = "boundary",
|
|
6
|
+
mirror = "mirror",
|
|
7
|
+
waveLength = "waveLength",
|
|
8
|
+
timeScale = "timeScale"
|
|
9
|
+
}
|
|
10
|
+
export declare class BuiltInReflectionEffect extends EffectBase {
|
|
11
|
+
timeScale: number;
|
|
12
|
+
constructor(properties: Map<string, any>);
|
|
13
|
+
setProperty(propertyName: string, value: any): void;
|
|
14
|
+
getProperty(propertyName: string): number | boolean | (number[] | Float32Array) | null;
|
|
15
|
+
update(currentTime: number): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInShockwaveEffectPropertiesEnum {
|
|
3
|
+
amplitude = "amplitude",
|
|
4
|
+
brightness = "brightness",
|
|
5
|
+
center = "center",
|
|
6
|
+
radius = "radius",
|
|
7
|
+
speed = "speed",
|
|
8
|
+
wavelength = "wavelength",
|
|
9
|
+
timeScale = "timeScale"
|
|
10
|
+
}
|
|
11
|
+
export declare class BuiltInShockwaveEffect extends EffectBase {
|
|
12
|
+
timeScale: number;
|
|
13
|
+
constructor(properties: Map<string, any>);
|
|
14
|
+
setProperty(propertyName: string, value: any): void;
|
|
15
|
+
getProperty(propertyName: string): number | number[] | null;
|
|
16
|
+
update(currentTime: number): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInTiltShiftEffectPropertiesEnum {
|
|
3
|
+
blur = "blur",
|
|
4
|
+
end = "end",
|
|
5
|
+
gradientBlur = "gradientBlur",
|
|
6
|
+
start = "start"
|
|
7
|
+
}
|
|
8
|
+
export declare class BuiltInTiltShiftEffect extends EffectBase {
|
|
9
|
+
constructor(properties: Map<string, any>);
|
|
10
|
+
setProperty(propertyName: string, value: any): void;
|
|
11
|
+
getProperty(propertyName: string): number | number[] | null;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInTwistEffectPropertiesEnum {
|
|
3
|
+
angle = "angle",
|
|
4
|
+
offset = "offset",
|
|
5
|
+
radius = "radius"
|
|
6
|
+
}
|
|
7
|
+
export declare class BuiltInTwistEffect extends EffectBase {
|
|
8
|
+
constructor(properties: Map<string, any>);
|
|
9
|
+
setProperty(propertyName: string, value: any): void;
|
|
10
|
+
getProperty(propertyName: string): number | number[] | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EffectBase } from "../EffectBase";
|
|
2
|
+
export declare enum BuiltInZoomBlurEffectPropertiesEnum {
|
|
3
|
+
center = "center",
|
|
4
|
+
innerRadius = "innerRadius",
|
|
5
|
+
radius = "radius",
|
|
6
|
+
strength = "strength"
|
|
7
|
+
}
|
|
8
|
+
export declare class BuiltInZoomBlurEffect extends EffectBase {
|
|
9
|
+
constructor(properties: Map<string, any>);
|
|
10
|
+
setProperty(propertyName: string, value: any): void;
|
|
11
|
+
getProperty(propertyName: string): number | number[] | null;
|
|
12
|
+
}
|
|
@@ -1,7 +1,33 @@
|
|
|
1
1
|
import { EffectDataOptions } from "./EffectData";
|
|
2
2
|
export declare enum BuiltInEffectIdEnum {
|
|
3
|
+
ADJUSTMENT = "builtin-adjustment",
|
|
4
|
+
ADVANCED_BLOOM = "builtin-advanced-bloom",
|
|
5
|
+
ASCII = "builtin-ascii",
|
|
6
|
+
BEVEL = "builtin-bevel",
|
|
7
|
+
BLOOM = "builtin-bloom",
|
|
3
8
|
BLUR = "builtin-blur",
|
|
4
|
-
|
|
9
|
+
BULGE_PINCH = "builtin-bulge-pinch",
|
|
10
|
+
COLOR_OVERLAY = "builtin-color-overlay",
|
|
11
|
+
COLOR_REPLACEMENT = "builtin-color-replacement",
|
|
12
|
+
CROSS_HATCH = "builtin-cross-hatch",
|
|
13
|
+
CRT = "builtin-crt",
|
|
14
|
+
DOT = "builtin-dot",
|
|
15
|
+
DROP_SHADOW = "builtin-drop-shadow",
|
|
16
|
+
EMBOSS = "builtin-emboss",
|
|
17
|
+
GLOW = "builtin-glow",
|
|
18
|
+
GODRAY = "builtin-godray",
|
|
19
|
+
HSL_ADJUSTMENT = "builtin-hsl-adjustment",
|
|
20
|
+
MOTION_BLUR = "builtin-motion-blur",
|
|
21
|
+
OLD_FILM = "builtin-old-film",
|
|
22
|
+
OUTLINE = "builtin-outline",
|
|
23
|
+
PIXELATE = "builtin-pixelate",
|
|
24
|
+
RADIAL_BLUR = "builtin-radial-blur",
|
|
25
|
+
REFLECTION = "builtin-reflection",
|
|
26
|
+
RGB_SPLIT = "builtin-rgb-split",
|
|
27
|
+
SHOCKWAVE = "builtin-shockwave",
|
|
28
|
+
TILT_SHIFT = "builtin-tilt-shift",
|
|
29
|
+
TWIST = "builtin-twist",
|
|
30
|
+
ZOOM_BLUR = "builtin-zoom-blur"
|
|
5
31
|
}
|
|
6
32
|
export declare const BuiltInEffectIds: BuiltInEffectIdEnum[];
|
|
7
33
|
export declare const BuiltInEffectOptions: EffectDataOptions[];
|
|
@@ -31,6 +31,10 @@ export interface PropertyDescription {
|
|
|
31
31
|
label?: string;
|
|
32
32
|
description?: string;
|
|
33
33
|
defaultValue: any;
|
|
34
|
+
min?: number | number[];
|
|
35
|
+
max?: number | number[];
|
|
36
|
+
step?: number | number[];
|
|
37
|
+
validateFunction?: (value: any) => boolean;
|
|
34
38
|
initOnly?: boolean;
|
|
35
39
|
}
|
|
36
40
|
export declare const PropertyDescriptionSchema: z.ZodObject<{
|
|
@@ -108,7 +108,30 @@ export declare class Settings {
|
|
|
108
108
|
private subtitlesScaleOnResize;
|
|
109
109
|
private subtitlesAutoWrapOnResize;
|
|
110
110
|
private viewAutoLayoutOnResize;
|
|
111
|
+
private readonly defaultSettings;
|
|
111
112
|
constructor();
|
|
113
|
+
getDefaultSettings(): {
|
|
114
|
+
m3u8MaxResolution: [number, number];
|
|
115
|
+
renderShowPreview: boolean;
|
|
116
|
+
renderMaxQueueSize: number;
|
|
117
|
+
renderThrottleFactor: number;
|
|
118
|
+
renderAudioUseWorker: boolean;
|
|
119
|
+
decoderUseWebCodecs: boolean;
|
|
120
|
+
decoderPreferredAcceleration: PreferredAcceleration;
|
|
121
|
+
encoderCodec: VideoCodec;
|
|
122
|
+
encoderUseWebCodecs: boolean;
|
|
123
|
+
encoderUseAlpha: boolean;
|
|
124
|
+
encoderBitrate: number;
|
|
125
|
+
encoderBitrateMode: BitrateMode;
|
|
126
|
+
encoderPerformanceMode: PerformanceMode;
|
|
127
|
+
encoderDeadline: number;
|
|
128
|
+
encoderCrf: number;
|
|
129
|
+
encoderForcedCodecRFCString: string;
|
|
130
|
+
encoderPreferredAcceleration: PreferredAcceleration;
|
|
131
|
+
subtitlesScaleOnResize: boolean;
|
|
132
|
+
subtitlesAutoWrapOnResize: boolean;
|
|
133
|
+
viewAutoLayoutOnResize: AutoLayoutMode;
|
|
134
|
+
};
|
|
112
135
|
setEncoderCrf(crf: number): void;
|
|
113
136
|
getEncoderCrf(): number;
|
|
114
137
|
setEncoderDeadline(deadline: number): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function wrapValue(x: number, max?: number): number;
|