<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@soulmachines/smwebsdk](./smwebsdk.md) &gt; [Persona](./smwebsdk.persona.md)

## Persona class

Persona class to control a scene persona

**Signature:**

```typescript
export declare class Persona 
```

## Constructors

|  Constructor | Modifiers | Description |
|  --- | --- | --- |
|  [(constructor)(scene, personaId)](./smwebsdk.persona._constructor_.md) |  | Constructs a new instance of the <code>Persona</code> class |

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [\_personaId](./smwebsdk.persona._personaid.md) | <code>protected</code> | PersonaId |  |
|  [\_scene](./smwebsdk.persona._scene.md) | <code>protected</code> | [Scene](./smwebsdk.scene.md) |  |
|  [onConversationResultEvent](./smwebsdk.persona.onconversationresultevent.md) | <code>readonly</code> | [SmEvent](./smwebsdk.smevent.md) |  |
|  [onSpeechMarkerEvent](./smwebsdk.persona.onspeechmarkerevent.md) | <code>readonly</code> | [SmEvent](./smwebsdk.smevent.md) |  |

## Methods

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [animateToNamedCameraWithOrbitPan(cameraName, time, orbitDegX, orbitDegY, panDeg, tiltDeg)](./smwebsdk.persona.animatetonamedcamerawithorbitpan.md) |  | Cut or animate to a named camera position, with support for camera adjustment. |
|  [conversationGetVariables()](./smwebsdk.persona.conversationgetvariables.md) |  | Get variables will return the current conversation variable values in the promise completion. Completion/promise receives an object with member 'variables'. |
|  [conversationSend(text, variables, optionalArgs)](./smwebsdk.persona.conversationsend.md) |  | Send a chat message to conversation |
|  [conversationSetVariables(variables)](./smwebsdk.persona.conversationsetvariables.md) |  | Set variables that will be applied on the next conversation request triggered by speech to text or a conversationSend() |
|  [stopSpeaking()](./smwebsdk.persona.stopspeaking.md) |  | Stop speaking |

