Skip to main content

smwebsdk.persona._constructor_

Home > @soulmachines/smwebsdk > Persona > (constructor)

Persona.(constructor)

Constructs a new instance of the Persona class

Signature:

constructor(scene: Scene, personaId: PersonaId);

Parameters

ParameterTypeDescription
sceneSceneThe scene the persona resides in
personaIdPersonaIdThe id of the persona as received in a state callback