menu
版本
2022.1.18.8567
2024.1.4.8780
2023.1.12.8706
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
2024.1.4.8780
2023.1.12.8706
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
Wwise SDK 2022.1.18
|
设置游戏对象的位置。参阅 AK::SoundEngine::SetPosition
章节。
名称 | 类型 | 说明 |
---|---|---|
gameObject * | integer | 游戏对象标识符。 游戏对象 ID,64 位无符号整数。范围:[0,18446744073709551615] |
position * | object | 要为游戏对象设置的 3D 位置。 |
position.orientationFront * | object | 听者的朝向。 |
position.orientationFront.x * | number | X 位置。 |
position.orientationFront.y * | number | Y 位置。 |
position.orientationFront.z * | number | Z 位置。 |
position.orientationTop * | object | 听者的顶部朝向。 |
position.orientationTop.x * | number | X 位置。 |
position.orientationTop.y * | number | Y 位置。 |
position.orientationTop.z * | number | Z 位置。 |
position.position * | object | 听者的位置。 |
position.position.x * | number | X 位置。 |
position.position.y * | number | Y 位置。 |
position.position.z * | number | Z 位置。 |
(必填 *)
有关 Wwise Authoring API 的详细信息,请参阅 使用 Wwise Authoring API(WAAPI) 章节。