旧API

列表

由于CRIWARE UE4插件的版本更新,部分API由替代API取代。 不建议使用的API在今后的更新可能被删除。 因此请使用替代API取代。
不建议使用API列表
不建议使用API 替代API 类型 什么版本起不建议使用?
UCriWareInitializer static float GetEconomicTickMarginDistance() GetEconomicTickDistanceMargin() C++ Function v1.27.11.00
UCriWareInitializer static float GetCullingMarginDistance() GetCullDistanceMargin() C++ Function v1.27.11.00
UAtomComponent float GetCurrentMaxAttenuationDistance() const GetMaxAttenuationDistance() C++/BP Function v1.27.11.00
UAtomComponent float GetCurrentCullingMarginDistance() const GetCullDistanceMargin() C++/BP Function v1.27.11.00
UAtomComponent float GetCurrentCullingBoundaryDistance() const GetCullDistance() C++/BP Function v1.27.11.00
UAtomComponent UAtomSoundObject* DefaultSoundObject SoundObject Property v1.27.11.00
UAtomComponent static void SetDefaultAttenuationEnable() AttenuationOverrides C++ Function –> Propertyv1.27.11.00
UAtomComponent static bool GetDefaultAttenuationEnable() AttenuationOverrides C++ Function –> Propertyv1.27.11.00
UAtomComponent bool HasBeenEconomicTick() IsReducingTickFrequency() C++/BP Function v1.27.11.00
USoundAtomCue bool bEconomicTick IsEconomicTickEnabled(), EnableEconomicTick() Property –> C++/BP Function v1.27.11.00
USoundAtomCue float EconomicTickMarginDistance EconomicTickDistanceMargin Property v1.27.11.00
USoundAtomCue bool bLoopSettingByAtomCraft USoundAtomCueSheet::GetCueInfoFromName() Property v1.27.11.00
USoundAtomCue bool bCullingSoundPlayingProcessByDistance EnableDistanceCulling(), IsDistanceCullingEnabled() Property v1.27.11.00
USoundAtomCue bool bOverrideCullingSettings bOverrideCullSettings Property v1.27.11.00
USoundAtomCue float CullingMarginDistance CullDistanceMargin Property v1.27.11.00
USoundAtomCue bool bUseLegacyCullingSettings bEnableDistanceCulling Property v1.27.11.00
USoundAtomCue float MaxProcessDistance CullDistanceMargin Property v1.27.11.00
USoundAtomCue bool IsLoop() IsLooping() C++/BP Function v1.27.11.00
USoundAtomCue bool bLoop SetLoopSetting(), GetLoopSetting() Property v1.27.11.00
USoundAtomCue USoundAttenuation* DefaultAttenuation AttenuationSettings Property v1.27.11.00
USoundAtomCue float GetEconomicTickMarginDistanceToUse() const GetEconomicTickDistanceMarginToApply() C++/BP Function v1.27.11.00
USoundAtomCue float GetEconomicTickBoundaryDistanceToUse() const GetEconomicTickDistance() C++/BP Function v1.27.11.00
USoundAtomCue float GetEconomicTickFrequencyToUse() const GetEconomicTickFrequencyToApply() C++/BP Function v1.27.11.00
USoundAtomCue float GetMaxAttenuationDistanceToUse() const GetMaxAttenuationDistanceToApply() C++/BP Function v1.27.11.00
USoundAtomCue float GetCullingMarginDistanceToUse() const GetCullDistanceMarginToApply() C++/BP Function v1.27.11.00
USoundAtomCue float GetCullingBoundaryDistanceToUse() const GetCullDistance() C++/BP Function v1.27.11.00
USoundAtomCue bool IsEconomicTickEnabled() const GetEnableEconomicTick() in BP BP Function –> C++ Function v1.27.11.00
USoundAtomCue float GetMaxAcbAttenuationDistance() const USoundAtomCueSheet::GetCueInfoFromName() C++ Function v1.27.11.00
USoundAtomCue float GetMinACbAttenuationDistance() const USoundAtomCueSheet::GetCueInfoFromName() C++ Function v1.27.11.00
USoundAtomCueSheet static void ReleaseAcb(FName AcbName) None (This function has had no effect before.) C++/BP Function v1.27.11.00
USoundAtomCueSheetstatic void AttachDspBusSetting(FString SettingName) AtomAsrRack::AttachDspBusSetting() C++/BP Function v1.27.11.00
USoundAtomCueSheetstatic void DetachDspBusSetting() AtomAsrRack::DetachDspBusSetting() C++/BP Function v1.27.11.00
USoundAtomCueSheetstatic void ApplyDspBusSnapshot(FString SnapshotName, int32 Milliseconds) AtomAsrRack::ApplyDspBusSnapshot() C++/BP Function v1.27.11.00
UAtomStatics static void UpdateDistanceFactorForAllSounds(float ArgDistanceFactor)None C++/BP Function v1.27.11.00
EAtomLoopSettingID DefaultLoop EAtomLoopSetting::Inherited UENUM v1.27.11.00
EAtomLoopSettingID ForceLoop EAtomLoopSetting::Loop UENUM v1.27.11.00
EAtomLoopSettingID IgnoreLoop EAtomLoopSetting::OneShot UENUM v1.27.11.00
重命名API列表
不建议使用API中,重命名API如下。
旧API 新API 从什么版本开始重命名?
UAtomComponent UAtomSoundObject* DefaultSoundObject DefaultSoundObject_DEPRECATED v1.27.11.00
USoundAtomCue float EconomicTickMarginDistance EconomicTickMarginDistance_DEPRECATED v1.27.11.00
USoundAtomCue bool bLoopSettingByAtomCraft bLoopSettingByAtomCraft_DEPRECATED v1.27.11.00
USoundAtomCue bool bCullingSoundPlayingProcessByDistance bCullingSoundPlayingProcessByDistance_DEPRECATED v1.27.11.00
USoundAtomCue bool bOverrideCullingSettings bOverrideCullingSettings_DEPRECATED v1.27.11.00
USoundAtomCue float CullingMarginDistance CullingMarginDistance_DEPRECATED v1.27.11.00
USoundAtomCue bool bUseLegacyCullingSettings bUseLegacyCullingSettings_DEPRECATED v1.27.11.00
USoundAtomCue float MaxProcessDistance MaxProcessDistance_DEPRECATED v1.27.11.00
USoundAtomCue bool bLoop bLoop_DEPRECATED v1.27.11.00
USoundAtomCue USoundAttenuation* DefaultAttenuation AttenuationSettings v1.27.11.00
USoundAtomCue bool IsLoop() IsLooping() v1.27.11.00
EAtomLoopSettingID DefaultLoop EAtomLoopSetting::Inherited v1.27.11.00
EAtomLoopSettingID ForceLoop EAtomLoopSetting::Loop v1.27.11.00
EAtomLoopSettingID IgnoreLoop EAtomLoopSetting::OneShot v1.27.11.00
被刪除API列表
旧API 从什么版本开始重命名?
ManaComponent StopWithCompletion() v1.27.11.00
| USoundAtomCue | GetLength() | Duration | v1.27.11.00 |
注意
于CRIWARE UE4插件Ver.1.27.11.00, EAtomLoopSettingID类型重命名为EAtomLoopSetting类型。而重命名的枚举符如下。
  • EAtomLoopSettingID::DefaultLoop –> EAtomLoopSetting::Inherited
  • EAtomLoopSettingID::ForceLoop –> EAtomLoopSetting::Loop
  • EAtomLoopSettingID::IgnoreLoop –> EAtomLoopSetting::OneShot
如果在重命名之前已经使用过该名称,请将以下重定向设置添加到项目设置中(例如DefaultEngine.ini等)。
[CoreRedirects]
+EnumRedirects=(OldName="EAtomLoopSettingID",NewName="EAtomLoopSetting",ValueChanges=(("DefaultLoop","Inherited"),("ForceLoop","Loop"),("IgnoreLoop","OneShot")))

不进行上述设置时,在更新插件后,Atom Cue Asset等中的循环设置将被视为无效值,可能无法正常运行。 另外,在编辑器中打开UE4项目时会出现以下的警告: 使用EnumRedirects从EAtomLoopSettingID到EAtomLoopSetting的改写失败。