Navigation
API > API/Plugins > API/Plugins/ModelingComponentsEditorOnly > API/Plugins/ModelingComponentsEditorOnly/ToolTargets
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UToolTarget
- UPrimitiveComponentToolTarget
- UDynamicMeshComponentToolTarget
References
| Module | ModelingComponentsEditorOnly |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponentsEditorOnly/Public/ToolTargets/DynamicMeshComponentToolTarget.h |
| Include | #include "ToolTargets/DynamicMeshComponentToolTarget.h" |
Syntax
UCLASS&40;Transient&41;
class UDynamicMeshComponentToolTarget :
public UPrimitiveComponentToolTarget,
public IMeshDescriptionCommitter,
public IMeshDescriptionProvider,
public IDynamicMeshProvider,
public IDynamicMeshCommitter,
public IMaterialProvider,
public IPersistentDynamicMeshSource,
public IPhysicsDataSource
Remarks
A ToolTarget backed by a DynamicMeshComponent
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bHaveMeshDescription | ||
| TUniquePtr< FMeshDescription > | ConvertedMeshDescription |
Overridden from UToolTarget
| Type | Name | Description | |
|---|---|---|---|
| bool | IsValid () |
UToolTarget. |
Overridden from IMeshDescriptionCommitter
| Type | Name | Description | |
|---|---|---|---|
| void | CommitMeshDescription
(
const FCommitter& Committer, |
IMeshDescritpionCommitter implementation. |
Overridden from IMeshDescriptionProvider
| Type | Name | Description | |
|---|---|---|---|
| FMeshDescription | Returns an empty mesh description appropriate for the provider, i.e. configured with appropriate mesh attributes but otherwise devoid of topology or element data. | ||
| const FMeshDescription * | GetMeshDescription
(
const FGetMeshParameters& GetMeshParams |
IMeshDescriptionProvider implementation. |
Overridden from IDynamicMeshProvider
| Type | Name | Description | |
|---|---|---|---|
| UE::Geometry::FDynamicMesh3 | IDynamicMeshProvider implementation. |
Overridden from IDynamicMeshCommitter
| Type | Name | Description | |
|---|---|---|---|
| void | CommitDynamicMesh
(
const UE::Geometry::FDynamicMesh3& Mesh, |
IDynamicMeshCommitter implementation. |
Overridden from IMaterialProvider
| Type | Name | Description | |
|---|---|---|---|
| bool | CommitMaterialSetUpdate
(
const FComponentMaterialSet& MaterialSet, |
Commit an update to the material set. | |
| UMaterialInterface * | GetMaterial
(
int32 MaterialIndex |
Get pointer to a Material provided by this Source | |
| void | GetMaterialSet
(
FComponentMaterialSet& MaterialSetOut, |
Get material set provided by this source | |
| int32 | IMaterialProvider implementation. |
Overridden from IPersistentDynamicMeshSource
| Type | Name | Description | |
|---|---|---|---|
| void | CommitDynamicMeshChange
(
TUniquePtr< FToolCommandChange > Change, |
Commit a change to the UDynamicMesh. | |
| UDynamicMeshComponent * | |||
| UDynamicMesh * | IPersistentDynamicMeshSource implementation. | ||
| bool | Optional |
Overridden from IPhysicsDataSource
| Type | Name | Description | |
|---|---|---|---|
| UBodySetup * | GetBodySetup () |
IPhysicsDataSource implementation. | |
| IInterface_CollisionDataProvider * |