MotionScript

@motion-script/core


@motion-script/core / ShaderFillResolved

Interface: ShaderFillResolved

Defined in: attributes/shape/fill/implementations/shader.ts:78

Properties

blend?

optional blend?: "color" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity" | "normal"

Defined in: attributes/shape/fill/implementations/shader.ts:85


coords

coords: ShaderFillCoords

Defined in: attributes/shape/fill/implementations/shader.ts:82


opacity?

optional opacity?: number

Defined in: attributes/shape/fill/implementations/shader.ts:84


source

source: string

Defined in: attributes/shape/fill/implementations/shader.ts:80


textures?

optional textures?: ShaderTexture[]

Defined in: attributes/shape/fill/implementations/shader.ts:83


type

type: "shader"

Defined in: attributes/shape/fill/implementations/shader.ts:79


uniforms

uniforms: SkSLUniformRecord

Defined in: attributes/shape/fill/implementations/shader.ts:81