バージョン

menu_open
Wwise SDK 2022.1.12

◆ SetValue()

bool AK.Wwise::Plugin::V1::PropertySet::SetValue ( const GUID in_guidPlatform,
const char *  in_pszPropertyName,
const AK::WwiseAuthoringAPI::AkVariantBase &  in_varProperty 
)
inline

Modifies the value of a specific property as a variant.

Updates the property in_pszPropertyName to contain in_varProperty under the in_guidPlatform platform.

The property type, as contained by in_varProperty, should be equal to the type as defined in the plug-in XML definition file.

注釈: Your changes might be substantially altered or replaced if your property is bound to an RTPC ( PropertyHasRTPC ) or a State ( PropertyHasState ).

More than one platform will be affected if the property is linked ( PropertyPlatformIsLinked ); all platforms are linked by default.

警告: This is a semi-private function. You should use the typed SetValue methods instead.

SetValueString, SetValueInt64, SetValueInt32, SetValueInt16, SetValueInt8, SetValueUInt64, SetValueUInt32, SetValueUInt16, SetValueUInt8, SetValueReal64 SetValueReal32, SetValueBool

The function can still be useful if you want to handle parameters as a black box, getting a
value without knowing the type, and then setting that value elsewhere.
参照
引数
[in]in_guidPlatformThe unique ID of the platform whose property you want to modify.
[in]in_pszPropertyNameThe name of the property to update, based on the XML definition file.
[out]in_varPropertyThe new value of the property.
戻り値
true if successful.

HostPropertySet.h1146 行目に定義があります。

参照先 AK.Wwise::Plugin::CBaseInterfaceGlue< CHostPropertySet >::g_cinterface, MKBOOL, ak_wwise_plugin_host_property_set_v1::SetValue.


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

サポートは必要ですか?

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

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

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

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

Wwiseからはじめよう