HostEmoter

HostEmoter

Class to handle Host Emotes. listens for "<hostCompoentEntity.id>.emoteEvent" events for emotes,
plays animations on these events, and fires a "<hostCompoentEntity.id>.emoteStoppedEvent" when finished

Constructor

new HostEmoter(hostComponentEntity, hostEntity)

Attempts to connect to the child Host Entity and it's components used for Lip Sync

Parameters:
Name Type Description
hostComponentEntity Entity

entity with host component

hostEntity Entity

child entity with the host mesh, skeleton and animation components

Methods

process(tpf)

Called on every frame - hangles gesture timers

Parameters:
Name Type Description
tpf number

time per frame in seconds