UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

57 lines (27 loc) 906 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [client](./client.md) &gt; [HytopiaUI](./client.hytopiaui.md) &gt; [getSceneUITemplateRenderer](./client.hytopiaui.getsceneuitemplaterenderer.md) ## HytopiaUI.getSceneUITemplateRenderer() method Retrieves a registered Scene UI template renderer function. **Signature:** ```typescript getSceneUITemplateRenderer(templateId: string): TemplateRenderer | undefined; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> templateId </td><td> string </td><td> Template identifier to look up </td></tr> </tbody></table> **Returns:** [TemplateRenderer](./client.templaterenderer.md) \| undefined Template renderer function if found, `undefined` otherwise