UCustomMeshComponent

Component that allows you to specify custom triangle mesh geometry

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

CustomMeshComponent

Header

/Engine/Plugins/Runtime/CustomMeshComponent/Source/CustomMeshComponent/Classes/CustomMeshComponent.h

Include

#include "CustomMeshComponent.h"

Syntax

UCLASS(HideCategories=(Object, LOD, Physics, Collision), EditInlineNew,
       Meta=(BlueprintSpawnableComponent), ClassGroup=Rendering)
class UCustomMeshComponent : public UMeshComponent

Remarks

Component that allows you to specify custom triangle mesh geometry

Constructors

Name Description

Public function

UCustomMeshComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function UFunction BlueprintCallable, Category

void

 

AddCustomMeshTriangles

(
    const TArray< FCustomMeshTriangle >...
)

Add to the geometry to use on this triangle mesh.

Public function UFunction BlueprintCallable, Category

void

 

ClearCustomMeshTriangles()

Removes all geometry from this triangle mesh.

Public function UFunction BlueprintCallable, Category

bool

 

SetCustomMeshTriangles

(
    const TArray< FCustomMeshTriangle >...
)

Set the geometry to use on this triangle mesh

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback