Navigation
API > API/Plugins > API/Plugins/NNE > API/Plugins/NNE/UNNEModelData
References
| Module | NNE |
| Header | /Engine/Plugins/Experimental/NNE/Source/NNE/Public/NNEModelData.h |
| Include | #include "NNEModelData.h" |
| Source | /Engine/Plugins/Experimental/NNE/Source/NNE/Private/NNEModelData.cpp |
TConstArrayView< uint8 > GetModelData
&40;
const FString & RuntimeName
&41;
Remarks
Get the cached (editor) or cooked (game) optimized model data for a given runtime.
This function is used by runtimes when creating a model. In editor, the function will create the optimized model data with the passed runtime in case it has not been cached in the DCC yet. In game, the cooked data is accessed. The optimized and runtime specific model data or an empty view in case of a failure.
Parameters
| Name | Description |
|---|---|
| RuntimeName | The name of the runtime for which the data should be returned. |