<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitter](./server.particleemitter.md) &gt; [setOrientation](./server.particleemitter.setorientation.md)

## ParticleEmitter.setOrientation() method

Sets the orientation mode of emitted particles.

**Signature:**

```typescript
setOrientation(orientation: ParticleEmitterOrientation): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

orientation


</td><td>

[ParticleEmitterOrientation](./server.particleemitterorientation.md)


</td><td>

The orientation mode. 'billboard' faces the camera, 'billboardY' faces the camera but keeps Y-axis upward, 'fixed' uses a fixed rotation.


</td></tr>
</tbody></table>
**Returns:**

void

