版本

menu_open
Wwise SDK 2021.1.14

◆ SetValueReal32()

bool AK.Wwise::Plugin::V1::PropertySet::SetValueReal32 ( const GUID in_guidPlatform,
const char *  in_pszPropertyName,
float  in_propertyValue 
)
inline

Modifies a property to a 32-bit floating point value.

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

The plug-in XML definition file should define this property as a Real32 in order to use this method.

Note: 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.

See also
Parameters
[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_propertyValue The new value of the property.
Returns
true if successful.

Definition at line 1674 of file HostPropertySet.h.

References AK.Wwise::Plugin::CBaseInterfaceGlue< CHostPropertySet >::g_cinterface, MKBOOL, and ak_wwise_plugin_host_property_set_v1::SetValueReal32.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅