UNPKG

hytopia

Version:

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

54 lines (26 loc) 896 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [PlayerCamera](./server.playercamera.md) &gt; [setModelShownNodes](./server.playercamera.setmodelshownnodes.md) ## PlayerCamera.setModelShownNodes() method Sets the nodes of the model the camera is attached to that will be rendered for the player, overriding hidden nodes. Uses case insensitive substring matching. **Signature:** ```typescript setModelShownNodes(modelShownNodes: string[]): void; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> modelShownNodes </td><td> string\[\] </td><td> Determines nodes to show that match these case insensitive substrings. </td></tr> </tbody></table> **Returns:** void