uvquad(w: number, h: number): UVQuadComp

Attach and render a UV quad to a Game Object.

paramw- The width of the quad.

paramh- The height of the quad.

add([
    uvquad(width(), height()),
    shader("spiral"),
])

returnsThe UV quad comp.

sincev2000.0

kaplay logo

Misc

Layer