Navigation
API > API/Plugins > API/Plugins/ModelingComponentsEditorOnly > API/Plugins/ModelingComponentsEditorOnly/ToolTargets
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UToolTarget
- UPrimitiveComponentToolTarget
- UStaticMeshComponentToolTarget
References
| Module | ModelingComponentsEditorOnly |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponentsEditorOnly/Public/ToolTargets/StaticMeshComponentToolTarget.h |
| Include | #include "ToolTargets/StaticMeshComponentToolTarget.h" |
Syntax
UCLASS&40;Transient&41;
class UStaticMeshComponentToolTarget :
public UPrimitiveComponentToolTarget,
public IMeshDescriptionCommitter,
public IMeshDescriptionProvider,
public IMaterialProvider,
public IStaticMeshBackedTarget,
public IDynamicMeshProvider,
public IDynamicMeshCommitter,
public IPhysicsDataSource
Remarks
A tool target backed by a static mesh component that can provide and take a mesh description.
Variables
| Type | Name | Description | |
|---|---|---|---|
| EMeshLODIdentifier | EditingLOD |
Functions
| Type | Name | Description | |
|---|---|---|---|
| EMeshLODIdentifier | |||
| void | SetEditingLOD
(
EMeshLODIdentifier RequestedEditingLOD |
Configure active LOD to edit. |
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 | |
|---|---|---|---|
| TArray< EMeshLODIdentifier > | GetAvailableLODs
(
bool bSkipAutoGenerated |
For providers that have LODs (i.e. if SupportsLODs returns true), returns an array of all available LODs. | |
| 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. | |
| FMeshDescription | GetMeshDescriptionCopy
(
const FGetMeshParameters& GetMeshParams |
Get a copy of the MeshDescription available through this Provider. | |
| EMeshLODIdentifier | For providers that have LODs (i.e. if SupportsLODs returns true), returns the LOD that GetMeshDescription/etc will return. | ||
| bool | SupportsLODs () |
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 IStaticMeshBackedTarget
| Type | Name | Description | |
|---|---|---|---|
| UStaticMesh * | IStaticMeshBackedTarget. |
Overridden from IDynamicMeshProvider
| Type | Name | Description | |
|---|---|---|---|
| UE::Geometry::FDynamicMesh3 | IDynamicMeshProvider. |
Overridden from IDynamicMeshCommitter
| Type | Name | Description | |
|---|---|---|---|
| void | CommitDynamicMesh
(
const UE::Geometry::FDynamicMesh3& Mesh, |
IDynamicMeshCommitter. |
Overridden from IPhysicsDataSource
| Type | Name | Description | |
|---|---|---|---|
| UBodySetup * | GetBodySetup () |
IPhysicsDataSource. | |
| IInterface_CollisionDataProvider * |