Class: Speaker
Lua
C++
Edit

Speaker::SetPosition

This method sets the speaker position in 3D space, for sound spatialization.

Syntax

  • SetPosition(Vec3 position)

Remarks

Use Entity::Listen to control which entity is used for the listener orientation.

Copyright © 2006-2026 Leadwerks Software.
All rights reserved.