バージョン

menu_open
Wwise SDK 2023.1.6

◆ SetGeometryInstance()

AKSOUNDENGINE_API AKRESULT AK::SpatialAudio::SetGeometryInstance ( AkGeometryInstanceID  in_GeometryInstanceID,
const AkGeometryInstanceParams in_params 
)

Add or update a geometry instance from the SpatialAudio module for geometric reflection and diffraction processing. A geometry instance is a unique instance of a geometry set with a specified transform (position, rotation and scale). It is necessary to create at least one geometry instance for each geometry set that is to be used for diffraction and reflection simulation. The ID (in_GeomSetInstanceID) must be unique amongst all geometry instances, including geometry instances referencing different geometry sets. The ID is chosen by the client in a manner similar to AkGameObjectID's. To update the transform of an existing geometry instance, call SetGeometryInstance again, passing the same AkGeometryInstanceID, with the updated transform.

参照
引数
in_GeometryInstanceIDUnique geometry set instance ID, chosen by client.
in_paramsGeometry instance parameters to set.

このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう