UNPKG

hytopia

Version:

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

58 lines (28 loc) 962 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [EntityModelAnimation](./server.entitymodelanimation.md) &gt; [setBlendMode](./server.entitymodelanimation.setblendmode.md) ## EntityModelAnimation.setBlendMode() method Sets the blend mode of the entity model animation. **Signature:** ```typescript setBlendMode(blendMode: EntityModelAnimationBlendMode): void; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> blendMode </td><td> [EntityModelAnimationBlendMode](./server.entitymodelanimationblendmode.md) </td><td> The blend mode of the entity model animation. \*\*Side effects:\*\* Emits `EntityModelAnimationEvent.SET_BLEND_MODE` when spawned. \*\*Category:\*\* Entities </td></tr> </tbody></table> **Returns:** void