class MAGES::Experimental::EmbodimentJARIA::EmbodimentJARIAModule

Overview

The root module for the JARIA. More…

class EmbodimentJARIAModule: public MAGES::HubModule
{
public:
    // properties

    GameObject UserSubsComponent;
    TextMeshProUGUI UserSubsText;

    // methods

    override void Startup();
    override void Shutdown();
    AgentConfiguration InitializeAgent(int index);
    AgentConfiguration InitializeAgent(string agentID);
    AgentConfiguration GetAgentFromID(string agentID);
    AgentConfiguration GetAgentFromIndex(int agentIndex);
    async void ClearHistory(IAuthenticationAPI authAPI);
    void SwitchAgentConfiguration(GameObject agentGameObject, int index);
};

Inherited Members

public:
    // properties

    int Version;

    // methods

    void Startup();
    void Shutdown();
    virtual void UpdateModule(UpdatePhase updatePhase);

Detailed Documentation

The root module for the JARIA.

Properties

GameObject UserSubsComponent

Gets the Subs component.

TextMeshProUGUI UserSubsText

Gets the reference to user subs Text.

Methods

AgentConfiguration InitializeAgent(int index)

Call to initialize an agent by its index.

Parameters:

index

The agent’s index inside MAGESJaria module.

Returns:

Returns the agent configuration.

AgentConfiguration InitializeAgent(string agentID)

Call to initialize an agent by its ID.

///

Parameters:

agentID

The agent’s ID.

Returns:

Returns the agent configuration.

AgentConfiguration GetAgentFromID(string agentID)

Call to get an agent by its ID.

///

Parameters:

agentID

The agent’s ID.

Returns:

Returns the agent configuration.

AgentConfiguration GetAgentFromIndex(int agentIndex)

Call to get an agent by its idex.

///

Parameters:

agentIndex

The agent’s index.

Returns:

Returns the agent configuration.

async void ClearHistory(IAuthenticationAPI authAPI)

Clears the agent’s history request.

Parameters:

authAPI

Authentication manager reference.

void SwitchAgentConfiguration(GameObject agentGameObject, int index)

Switches the Agent Configuration for a specific Agent GameObject.

Parameters:

agentGameObject

The Agent GameObject.

index

The index of the new Agent Configuration.