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](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss