Navigation
API > API/Plugins > API/Plugins/ModelingComponentsEditorOnly > API/Plugins/ModelingComponentsEditorOnly/ToolTargets
Inheritance Hierarchy
- UObject
- UToolTarget
- UPrimitiveComponentToolTarget
- UVolumeComponentToolTarget
References
| Module | ModelingComponentsEditorOnly |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponentsEditorOnly/Public/ToolTargets/VolumeComponentToolTarget.h |
| Include | #include "ToolTargets/VolumeComponentToolTarget.h" |
Syntax
UCLASS (Transient)
class UVolumeComponentToolTarget :
public UPrimitiveComponentToolTarget ,
public IMaterialProvider ,
public IPhysicsDataSource ,
public IDynamicMeshCommitter ,
public IDynamicMeshProvider ,
public IMeshDescriptionCommitter ,
public IMeshDescriptionProvider
Remarks
A tool target backed by AVolume
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FMeshDescription, ESPMode::ThreadSafe > | ConvertedMeshDescription | This isn't for caching- we have to take ownership of the mesh description because it is expected for things like a static mesh. | |
| UE::Conversion::FVolumeToMeshOptions | VolumeToMeshOptions |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const UE::Conversion::FVolumeToMeshOptions & |
Overridden from IMaterialProvider
| Type | Name | Description | |
|---|---|---|---|
| bool | CommitMaterialSetUpdate
(
const FComponentMaterialSet& MaterialSet, |
Doesn't actually do anything for a volume. | |
| UMaterialInterface * | GetMaterial
(
int32 MaterialIndex |
Get pointer to a Material provided by this Source | |
| void | GetMaterialSet
(
FComponentMaterialSet& MaterialSetOut, |
Ignores bPreferAssetMaterials. | |
| int32 | IMaterialProvider implementation. |
Overridden from IPhysicsDataSource
| Type | Name | Description | |
|---|---|---|---|
| UBodySetup * | GetBodySetup () |
IPhysicsDataSource implementation. | |
| IInterface_CollisionDataProvider * | Always returns null because volumes do not support IInterface_CollisionDataProvider |
Overridden from IDynamicMeshCommitter
| Type | Name | Description | |
|---|---|---|---|
| void | CommitDynamicMesh
(
const UE::Geometry::FDynamicMesh3& Mesh |
||
| void | CommitDynamicMesh
(
const UE::Geometry::FDynamicMesh3& Mesh, |
IDynamicMeshCommitter implementation. |
Overridden from IDynamicMeshProvider
| Type | Name | Description | |
|---|---|---|---|
| UE::Geometry::FDynamicMesh3 | IDynamicMeshProvider implementation. |
Overridden from IMeshDescriptionCommitter
| Type | Name | Description | |
|---|---|---|---|
| void | CommitMeshDescription
(
const FCommitter& Committer, |
IMeshDescritpionCommitter implementation. | |
| bool | CommitMeshDescription
(
const FMeshDescription& Mesh, |
Commits the given FMeshDescription. | |
| bool | CommitMeshDescription
(
FMeshDescription&& Mesh, |
Commits the given FMeshDescription. |
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. |