参考接口
ICFEngineHost
模块CrushformEngine头文件CFEngineHost.h
拥有者的发动机,供其发动机声音(UCFEngineAudioComponent)使用。后者会自行查找宿主:若显式指定的宿主实现了该接口则使用它,否则使用 UCFHostRegistry::FindHost。UCFVehicleAdapterComponent 实现了该接口;拥有自身物理的车辆类也可以实现。默认:熄火的发动机。
函数
AUTHORITY · 服务器,每个端LOCAL · 本机PURE · 只读
FCFEngineState GetCrushformEngineState() const
PURE
本帧的发动机。拥有者的每个发动机音效每帧请求一次;默认值为关闭状态的发动机。
- 分类
- Crushform|Engine