버전

menu_open
Wwise SDK 2018.1.11
Quick Start Sample Integration - RTPCs

RTPC Example

RTPCs let the sound engine compute a property's value by evaluating a curve, defined by the Wwise user, for the X value that corresponds to a parameter within the game. For example, the following code sets the value of the "RPM" game parameter:

// Set the game parameter's value using its name. We could use its
// ID instead, AK::GAME_PARAMETERS::RPM (from Wwise_IDs.h)

In the sample program you can experiment with RTPCs in two ways:

  • In the Car section, select the Play_Engine event, click Post, then move the RPM slider. This changes the value of the RPM game parameter which the engine sound uses to alter its volume and pitch properties
  • In the Human section, check/uncheck the "Enable Effect" checkbox, then click on Talk. When the checkbox is checked, the "Enable_Effect" game parameter is set to 100. When its unchecked the game parameter is set to 0. The Voices control bus uses this game parameter to set/clear its "Bypass Effect" property.

Refer to Integration Details - RTPCs for more details.

Note: This sample code comes from the Sound Engine Integration Sample Project available in the Samples section. Refer to Integration Demo Sample for more information.

이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요