uvquad(w: number, h: number): UVQuadComp
Attach and render a UV quad to a Game Object.
param
w- The width of the quad.
param
h- The height of the quad.
add([
uvquad(width(), height()),
shader("spiral"),
])
returns
The UV quad comp.
since
v2000.0
group
Components