# {py:mod}`simvx.graphics.renderer.billboard2d_data` ```{py:module} simvx.graphics.renderer.billboard2d_data ``` ```{autodoc2-docstring} simvx.graphics.renderer.billboard2d_data :allowtitles: ``` ## Module Contents ### Functions ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`build_sprite3d_row ` - ```{autodoc2-docstring} simvx.graphics.renderer.billboard2d_data.build_sprite3d_row :summary: ``` * - {py:obj}`build_text3d_rows ` - ```{autodoc2-docstring} simvx.graphics.renderer.billboard2d_data.build_text3d_rows :summary: ``` ```` ### Data ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`__all__ ` - ```{autodoc2-docstring} simvx.graphics.renderer.billboard2d_data.__all__ :summary: ``` * - {py:obj}`BILLBOARD_DTYPE ` - ```{autodoc2-docstring} simvx.graphics.renderer.billboard2d_data.BILLBOARD_DTYPE :summary: ``` * - {py:obj}`FLAG_IS_MSDF ` - ```{autodoc2-docstring} simvx.graphics.renderer.billboard2d_data.FLAG_IS_MSDF :summary: ``` ```` ### API ````{py:data} __all__ :canonical: simvx.graphics.renderer.billboard2d_data.__all__ :value: > ['BILLBOARD_DTYPE', 'FLAG_IS_MSDF', 'build_sprite3d_row', 'build_text3d_rows'] ```{autodoc2-docstring} simvx.graphics.renderer.billboard2d_data.__all__ ``` ```` ````{py:data} BILLBOARD_DTYPE :canonical: simvx.graphics.renderer.billboard2d_data.BILLBOARD_DTYPE :value: > 'dtype(...)' ```{autodoc2-docstring} simvx.graphics.renderer.billboard2d_data.BILLBOARD_DTYPE ``` ```` ````{py:data} FLAG_IS_MSDF :canonical: simvx.graphics.renderer.billboard2d_data.FLAG_IS_MSDF :value: > 1 ```{autodoc2-docstring} simvx.graphics.renderer.billboard2d_data.FLAG_IS_MSDF ``` ```` ````{py:function} build_sprite3d_row(*, texture_id: int, position: typing.Any, width: float, height: float, uv: tuple[float, float, float, float], colour: typing.Any = (1.0, 1.0, 1.0, 1.0), centered: bool = True, offset: tuple[float, float] = (0.0, 0.0)) -> numpy.ndarray | None :canonical: simvx.graphics.renderer.billboard2d_data.build_sprite3d_row ```{autodoc2-docstring} simvx.graphics.renderer.billboard2d_data.build_sprite3d_row ``` ```` ````{py:function} build_text3d_rows(*, text: str, position: typing.Any, resolve_atlas_slot: typing.Any, font_scale: float = 1.0, pixel_size: float = 0.01, colour: typing.Any = (1.0, 1.0, 1.0, 1.0), alignment: str = 'centre', offset: tuple[float, float] = (0.0, 0.0)) -> numpy.ndarray | None :canonical: simvx.graphics.renderer.billboard2d_data.build_text3d_rows ```{autodoc2-docstring} simvx.graphics.renderer.billboard2d_data.build_text3d_rows ``` ````