Interface AdvShaderProp<T, Props>

interface AdvShaderProp<T, Props> {
    default: T;
    resolve?: ((this: AdvShaderProp<T, Props>, value: T, props: Props) => T);
    transform?: ((start: T, end: T, progress: number) => T);
}

Type Parameters

  • T = any
  • Props = Record<string, unknown>

Properties

default: T

default value

resolve?: ((this: AdvShaderProp<T, Props>, value: T, props: Props) => T)
transform?: ((start: T, end: T, progress: number) => T)