버전

menu_open

◆ DisplayNamesForPropValues()

virtual bool AK.Wwise::Plugin::V1::PropertyDisplayName::DisplayNamesForPropValues ( const char *  in_pszPropertyName,
char *  out_pszValuesName,
uint32_t  in_unCharCount 
) const
inlinevirtual

Get the user-friendly names of possible values for the specified property.

This function should write pairs of value and text for the specified property to the WCHAR buffer out_pszDisplayName, which is of length in_unCharCount.

Pairs are separated by commas, and each pair contains the value and the text, separated by a colon.

Here are a few examples:

  • Numeric property: "-100:Left,0:Center,100:Right"
  • Boolean property: "0:Off,1:On"
  • Numeric property seen as an enumeration: "0:Low Pass,1:High Pass,2:Band Pass,3:Notch,4:Low Shelf,5:High Shelf,6:Peaking"
참고: This function used to be deprecated, but is actually useful in case of dynamic naming. As such, it has been reinstated. However, its usage is still not preferred. By default, you should provide your naming inside the XML, and use this function only in cases where you cannot reliably name the property in your XML. For example, you might have a switch between two modes, and the same property might have two different names. This function can then be used for this particular case.
매개변수
[in]in_pszPropertyNameThe internal name of the property.
[out]out_pszValuesNameThe returned property value names, as a null-terminated string.
[in]in_unCharCountThe maximum number of char in the buffer, including the terminating null.
반환값
true if the property has a user-friendly value name.
참고

PropertyDisplayName.h 파일의 267 번째 라인에서 정의되었습니다.


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

지원이 필요하신가요?

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

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

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

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

Wwise를 시작해 보세요