|
◆ SetValue
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_this | Current instance of this interface. |
[in] | in_guidPlatform | The unique ID of the platform whose property you want to modify. |
[in] | in_pszPropertyName | The name of the property to update, based on the XML definition file. |
[out] | in_varProperty | The new value of the property. |
- 戻り値
- true if successful.
HostPropertySet.h の 161 行目に定義があります。
参照元 AK.Wwise::Plugin::V1::PropertySet::SetValue().
|