AudioListener¶
class in InfEngine.components.builtin
Inherits from: BuiltinComponent
Description¶
Represents the listener for 3D audio in the scene.
description
Properties¶
| Name | Type | Description |
|---|---|---|
| game_object_id | int |
The ID of the GameObject this component is attached to. (read-only) |
properties
Public Methods¶
| Method | Description |
|---|---|
serialize() → str |
Serialize the component to a JSON string. |
deserialize(json_str: str) → bool |
Deserialize the component from a JSON string. |
public_methods
Example¶
example
See Also¶
see_also