oa::FnMesh::createQuad
Create a centered quad (2 triangles, 4 vertices) with top-origin image UVs. UV V=0 is the source image top and world +Y is the quad top. Default is unit quad [-0.5, 0.5] in XY plane at Z=0. For image/video viewing, pass the pixel dimensions (e.g. 1920, 1080).
Function Documentation
Create a centered quad (2 triangles, 4 vertices) with top-origin image UVs. UV V=0 is the source image top and world +Y is the quad top. Default is unit quad [-0.5, 0.5] in XY plane at Z=0. For image/video viewing, pass the pixel dimensions (e.g. 1920, 1080).
Parameters
inWidthoa::F32Default: 1.0f
inHeightoa::F32Default: 1.0f
Returns
oa::MeshDataThe declared return value.