Files
.obsidian
.vs
00-MOC
01-Diary
02-Note
03-UnrealEngine
Animation
Editor
Gameplay
AI
Animation
Code
Debug
GAS
Gameplay
Http
Lyra
Mass
Online
Other
PuerTS
UObject
UnrealSpecifiers
Flags
Meta
Actor
AnimationGraph
Asset
Blueprint
Component
Config
Container
Debug
DetailsPanel
Development
Enum
GAS
Material
Niagara
Numeric
Object
Path
Pin
RigVM
Scene
Script
Sequencer
Serialization
SparseDataType
String
Struct
TypePicker
UHT
FieldNotifyInterfaceParam
CppFromBpEvent.md
CustomThunk.md
DocumentationPolicy.md
IncludePath.md
ModuleRelativePath.md
NativeConstTemplateArg.md
Widget
Meta.md
Specifier
UnrealSpecifiers.md
Ue4 c++ UProperty反射 PostEditChangeProperty.md
Ue4Object生命周期.jpg
大钊提供的一种获取UE Private函数的方法.md
LevelScene
Math
Mobile
Physical
Plugins
Rendering
Sequence
UI
VirtualProduction
VisualEffect
卡通渲染相关资料
性能优化
流程管理与部署
.keep
03-UnrealEngine.md
04-ComputerGraphics
05-SDHGame
06-DCC
07-Other
08-Assets
09-Templates
.gitattributes
.gitignore
.gitmodules
LICENSE
BlueRoseNote/03-UnrealEngine/Gameplay/UObject/UnrealSpecifiers/Meta/UHT/CppFromBpEvent.md

26 lines
562 B
Markdown
Raw Normal View History

2024-10-12 17:19:46 +08:00
# CppFromBpEvent
- **使用位置:** Todo
- **引擎模块:** UHT
- **元数据类型:** bool
- **常用程度:** 0
指定这是个在C++中定义的蓝图事件。
早期的UHT会使用这个元数据不过现在的引擎版本已经不用这个了。
## 原理代码:
```cpp
public static class UhtFunctionParser
{
private static UhtParseResult ParseUFunction(UhtParsingScope parentScope, UhtToken token)
{
if (function.MetaData.ContainsKey(UhtNames.CppFromBpEvent))
{
function.FunctionFlags |= EFunctionFlags.Event;
}
}
}
```