UNPKG

hytopia

Version:

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

58 lines (28 loc) 942 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [EntityModelNodeOverride](./server.entitymodelnodeoverride.md) &gt; [setLocalScale](./server.entitymodelnodeoverride.setlocalscale.md) ## EntityModelNodeOverride.setLocalScale() method Sets the local scale for matching nodes. **Signature:** ```typescript setLocalScale(localScale: Vector3Like | number | undefined): void; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> localScale </td><td> [Vector3Like](./server.vector3like.md) \| number \| undefined </td><td> The local scale to set. \*\*Side effects:\*\* Emits `EntityModelNodeOverrideEvent.SET_LOCAL_SCALE` when spawned. \*\*Category:\*\* Entities </td></tr> </tbody></table> **Returns:** void