Files
XCEngine/docs/api/XCEngine/Components/AudioSourceComponent/Constructor.md

29 lines
582 B
Markdown

# AudioSourceComponent::AudioSourceComponent()
构造对象。
```cpp
AudioSourceComponent();
```
该方法声明于 `XCEngine/Components/AudioSourceComponent.h`,当前页面用于固定 `AudioSourceComponent` 类目录下的方法级 canonical 路径。
**参数:** 无。
**返回:** `void` - 无返回值。
**示例:**
```cpp
#include <XCEngine/Components/AudioSourceComponent.h>
void Example() {
XCEngine::Components::AudioSourceComponent object;
}
```
## 相关文档
- [返回类总览](AudioSourceComponent.md)
- [返回模块目录](../Components.md)