tav-media
Version:
Cross platform media editing framework
34 lines (33 loc) • 1.03 kB
TypeScript
import { tav } from '../tav';
import { Effect } from './tav-effect';
/**
* Change the video color with a LUT file.
* @category Effects
*/
export declare class LUTEffect extends Effect {
/**
* Make a LUTEffect from a LUT file.
* @param path The path of the LUT file.
* @param strength The strength of the LUT effect, the value is between 0 and 1.
* @returns new LUTEffect object
*/
static MakeFromPath(path: string, strength?: number): Promise<LUTEffect>;
readonly type: string;
private _strength;
private _path;
private localPath;
clone(): LUTEffect;
protected doPrepare(): Promise<void>;
protected createClip(): Promise<tav.LUTEffect> | undefined;
protected updateClip(effect: tav.LUTEffect): Promise<void>;
/**
* The strength of the LUT effect, the value is between 0 and 1.
*/
get strength(): number;
set strength(val: number);
/**
* The path of the LUT file.
*/
get path(): string;
set path(newPath: string);
}