Skip to content

Kaplay.UVQuad

Modules

Comp

Values

addUVQuadComponent

Attach and render a UV quad to a Game Object.

let addUVQuad: (
Kaplay.Context.t,
~w: float,
~h: float,
) => Kaplay.Types.comp
Parameters
float
float
Return type
getHeight
let getHeight: T.t => float
Parameters
T.t
Return type
float
getWidth
let getWidth: T.t => float
Parameters
T.t
Return type
float
setHeight
let setHeight: (T.t, float) => unit
Parameters
T.t
float
Return type
unit
setWidth
let setWidth: (T.t, float) => unit
Parameters
T.t
float
Return type
unit