Navigation
API > API/Plugins > API/Plugins/CustomMeshComponent
Component that allows you to specify custom triangle mesh geometry
| Name | UCustomMeshComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/CustomMeshComponent/Source/CustomMeshComponent/Classes/CustomMeshComponent.h |
| Include Path | #include "CustomMeshComponent.h" |
Syntax
UCLASS (MinimalAPI, HideCategories=(Object, LOD, Physics, Collision), EditInlineNew,
Meta=(BlueprintSpawnableComponent), ClassGroup=Rendering)
class UCustomMeshComponent : public UMeshComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → UPrimitiveComponent → UMeshComponent → UCustomMeshComponent
Implements Interfaces
- IAsyncPhysicsStateProcessor
- IInterface_AssetUserData
- IInterface_AsyncCompilation
- INavRelevantInterface
- IPhysicsComponent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UCustomMeshComponent
(
const FObjectInitializer& ObjectInitializer |
CustomMeshComponent.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CustomMeshTris | TArray< FCustomMeshTriangle > | CustomMeshComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddCustomMeshTriangles
(
const TArray< FCustomMeshTriangle >& Triangles |
Add to the geometry to use on this triangle mesh. | CustomMeshComponent.h |
|
void ClearCustomMeshTriangles () |
Removes all geometry from this triangle mesh. | CustomMeshComponent.h |
|
bool SetCustomMeshTriangles
(
const TArray< FCustomMeshTriangle >& Triangles |
Set the geometry to use on this triangle mesh | CustomMeshComponent.h |
|