Toast Engine
Loading...
Searching...
No Matches
event::PlayHaptic Struct Reference

Requests that a controller play a haptic effect. More...

#include <input_events.hpp>

Inheritance diagram for event::PlayHaptic:
Collaboration diagram for event::PlayHaptic:

Public Member Functions

 PlayHaptic (std::string target, assets::Handle< assets::Haptic > haptic)

Public Attributes

std::string target
assets::Handle< assets::Haptic > haptic
Public Attributes inherited from event::Event< PlayHaptic >
friend T

Additional Inherited Members

Public Types inherited from event::Event< PlayHaptic >
using callback_t
 callbacks that return 'true' are consumed and do not propogate
using iterator_t

Detailed Description

Requests that a controller play a haptic effect.

Constructor & Destructor Documentation

◆ PlayHaptic()

event::PlayHaptic::PlayHaptic ( std::string target,
assets::Handle< assets::Haptic > haptic )
inline
Parameters
targetName of the PlayerController's parent

The documentation for this struct was generated from the following file: