Saga
Saga Game Engine
Loading...
Searching...
No Matches
Saga::AudioEngine::EventAttributes Struct Reference

A collection of vectors that specify an object in 3D space. This allows the AudioEngine to determine where listeners as well as AudioEventInstance are situated in space. More...

#include <audioEngine.h>

Public Member Functions

 EventAttributes ()
 Construct a new Event Attributes object.
 
 EventAttributes (glm::vec3 position, glm::vec3 velocity, glm::vec3 forward, glm::vec3 up)
 Construct a new Event Attributes object.
 

Public Attributes

glm::vec3 position
 
glm::vec3 velocity
 
glm::vec3 forward
 
glm::vec3 up
 

Detailed Description

A collection of vectors that specify an object in 3D space. This allows the AudioEngine to determine where listeners as well as AudioEventInstance are situated in space.

Constructor & Destructor Documentation

◆ EventAttributes() [1/2]

Saga::AudioEngine::EventAttributes::EventAttributes ( )

Construct a new Event Attributes object.

◆ EventAttributes() [2/2]

Saga::AudioEngine::EventAttributes::EventAttributes ( glm::vec3  position,
glm::vec3  velocity,
glm::vec3  forward,
glm::vec3  up 
)

Construct a new Event Attributes object.

Parameters
positionposition of the event.
velocityvelocity of the object emitting this event.
forwardforward direction of the event.
upthe up direction of the event.

Member Data Documentation

◆ forward

glm::vec3 Saga::AudioEngine::EventAttributes::forward

◆ position

glm::vec3 Saga::AudioEngine::EventAttributes::position

◆ up

glm::vec3 Saga::AudioEngine::EventAttributes::up

◆ velocity

glm::vec3 Saga::AudioEngine::EventAttributes::velocity

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