Navigation
Unreal Engine C++ API Reference > Plugins > CustomMeshComponent
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UPrimitiveComponent
- UMeshComponent
- UCustomMeshComponent
References
Module | CustomMeshComponent |
Header | /Engine/Plugins/Runtime/CustomMeshComponent/Source/CustomMeshComponent/Classes/CustomMeshComponent.h |
Include | #include "CustomMeshComponent.h" |
Syntax
UCLASS&40;HideCategories&61;&40;Object, LOD, Physics, Collision&41;, EditInlineNew,
Meta&61;&40;BlueprintSpawnableComponent&41;, ClassGroup&61;Rendering&41;
class UCustomMeshComponent : public UMeshComponent
Remarks
Component that allows you to specify custom triangle mesh geometry
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UCustomMeshComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | AddCustomMeshTriangles
(
const TArray< FCustomMeshTriangle >& Triangles |
Add to the geometry to use on this triangle mesh. |
![]() ![]() ![]() |
void | Removes all geometry from this triangle mesh. | |
![]() ![]() ![]() |
bool | SetCustomMeshTriangles
(
const TArray< FCustomMeshTriangle >& Triangles |
Set the geometry to use on this triangle mesh |