Navigation
API > API/Plugins > API/Plugins/VertexDeltaModel
Inheritance Hierarchy
- UMLDeformerModel
- UMLDeformerGeomCacheModel
- UVertexDeltaModel
References
| Module | VertexDeltaModel |
| Header | /Engine/Plugins/Animation/MLDeformer/VertexDeltaModel/Source/VertexDeltaModel/Public/VertexDeltaModel.h |
| Include | #include "VertexDeltaModel.h" |
Syntax
UCLASS ()
class UVertexDeltaModel : public UMLDeformerGeomCacheModel
Remarks
The vertex delta model, which uses a GPU based neural network. This model acts more as an example of how to implement a model that only uses the GPU. It is not as efficient as the Neural Morph Model, even though that model runs on the CPU. Unlike the Neural Morph Model this Vertex Delta Model does not generate any morph targets. All the vertex deltas are directly output by the neural network. This buffer of output deltas remains on the GPU and is then used as input buffer directly inside an optimus deformer graph.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | BatchSize | The number of frames per batch when training the model. | |
| float | LearningRate | The learning rate used during the model training. | |
| TObjectPtr< UNNEModelData > | NNEModel | The NNE neural network model. | |
| int32 | NumHiddenLayers | The number of hidden layers that the neural network model will have.\nHigher numbers will slow down performance but can deal with more complex deformations. | |
| int32 | NumIterations | The number of iterations to train the model for. | |
| int32 | NumNeuronsPerLayer | The number of units/neurons per hidden layer. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UVertexDeltaModel
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UMLDeformerModelInstance * | CreateModelInstance
(
UMLDeformerComponent* Component |
||
| int32 | GetBatchSize () |
||
| FString | |||
| FString | |||
| float | |||
| const FString | |||
| int32 | |||
| int32 | |||
| int32 | |||
| bool | |||
| bool | IsTrained () |
||
| void | SetNNEModelData
(
TObjectPtr< UNNEModelData > ModelData |
Overridden from UMLDeformerGeomCacheModel
| Type | Name | Description | |
|---|---|---|---|
| void | GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
||
| void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |