Navigation
API > API/Plugins > API/Plugins/MLDeformerFrameworkEditor
Inheritance Hierarchy
- TSharedFromThis< IDetailCustomization >
- IDetailCustomization
- FMLDeformerModelDetails
- FMLDeformerGeomCacheModelDetails
- FMLDeformerMorphModelDetails
- FNearestNeighborModelDetails
- FNeuralMorphModelDetails
- FVertexDeltaModelDetails
References
| Module | MLDeformerFrameworkEditor |
| Header | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerModelDetails.h |
| Include | #include "MLDeformerModelDetails.h" |
Syntax
class FMLDeformerModelDetails : public IDetailCustomization
Remarks
The ML Deformer model detail customization base class. This adds the shared properties, inserts error messages, creates some groups, etc. Model detail customizations should all inherit from this class. If you use a geometry cache based model however, you will likely inherit from other classes such as FMLDeformerGeomCacheModelDetails or FMLDeformerMorphModelDetails. Those classes are also inherited from this one though.
Variables
| Type | Name | Description | |
|---|---|---|---|
| IDetailCategoryBuilder * | BaseMeshCategoryBuilder | The category related to the base mesh. | |
| IDetailLayoutBuilder * | DetailLayoutBuilder | Associated detail layout builder. | |
| FMLDeformerEditorModel * | EditorModel | A pointer to the editor model of the runtime model. | |
| IDetailCategoryBuilder * | InputOutputCategoryBuilder | The category related to the inputs and outputs. | |
| IDetailCategoryBuilder * | LODSettingsCategoryBuilder | The LOD generation category. | |
| TObjectPtr< UMLDeformerModel > | Model | A pointer to the model we are customizing details for. | |
| IDetailCategoryBuilder * | TrainingSettingsCategoryBuilder | The training settings category. You most likely add your model properties to this. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Add additional errors related to the training animation sequence. | ||
| void | Add additional errors related to the base mesh. | ||
| void | Add additional errors related to bone inputs. | ||
| void | Add additional errors related to curve inputs. | ||
| void | Show errors about skeletons being incompatible. | ||
| void | Add the target mesh property. | ||
| void | Add the property that shows the input animations. | ||
| void | Add additional training input errors. | ||
| void | Add additional training input filters. Filters are things like a list of bones, or curves. | ||
| void | Add training input flags, which basically are things like the check boxes that specify whether bones or curves (or both) should be included. | ||
| void | Add training settings errors. | ||
| void | Create the categories that we can add properties to. This will update the category member pointers. | ||
| bool | FilterAnimSequences
(
const FAssetData& AssetData, |
The filter that only shows anim sequences that are compatible with the given skeleton. | |
| bool | Is the "include bones" checkbox visible? | ||
| bool | Is the "include curves" checkbox visible? | ||
| FReply | Executed when we press the Animated Bones Only button. | ||
| FReply | Executed when we press the Animated Curves Only button. | ||
| bool | UpdateMemberPointers
(
const TArray< TWeakObjectPtr< UObject > >& Objects |
Update the class member pointers, which includes the pointer to the model, and its editor model. |
Overridden from IDetailCustomization
| Type | Name | Description | |
|---|---|---|---|
| void | CustomizeDetails
(
IDetailLayoutBuilder& DetailBuilder |
Called when details should be customized |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| IDetailCategoryBuilder * | TargetMeshCategoryBuilder_DEPRECATED | The category related to the target mesh. |