AudioListener¶
类位于 InfEngine.components.builtin
继承自: BuiltinComponent
描述¶
音频监听器组件。场景中的耳朵——通常挂在主摄像机上。
description
属性¶
| 名称 | 类型 | 描述 |
|---|---|---|
| game_object_id | int |
The ID of the GameObject this component is attached to. (只读) |
properties
公共方法¶
| 方法 | 描述 |
|---|---|
serialize() → str |
Serialize the component to a JSON string. |
deserialize(json_str: str) → bool |
Deserialize the component from a JSON string. |
public_methods
示例¶
example
另请参阅¶
see_also