Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/ProceduralMeshComponent/Source/ProceduralMeshComponent/Public/ProceduralMeshComponent.h |
Include |
#include "ProceduralMeshComponent.h" |
UCLASS(HideCategories=(Object, LOD), Meta=(BlueprintSpawnableComponent), ClassGroup=Rendering)
class UProceduralMeshComponent :
public UMeshComponent,
public IInterface_CollisionDataProvider
Component that allows you to specify custom triangle mesh geometry Beware! This feature is experimental and may be substantially changed in future releases.
Name | Description | ||
---|---|---|---|
|
bUseAsyncCooking |
Controls whether the physics cooking should be done off the game thread. |
|
|
bUseComplexAsSimpleCollision |
Controls whether the complex (Per poly) geometry should be treated as 'simple' collision. |
|
|
TObjectPtr< cla... |
ProcMeshBodySetup |
Collision data |
Name | Description | |
---|---|---|
|
UProceduralMeshComponent ( |
Name | Description | ||
---|---|---|---|
|
AddCollisionConvexMesh |
Add simple collision convex to this component |
|
|
ClearAllMeshSections() |
Clear all mesh sections and reset to empty state |
|
|
ClearCollisionConvexMeshes() |
Remove collision meshes from this component |
|
|
ClearMeshSection ( |
Clear a section of the procedural mesh. Other sections do not change index. |
|
|
CreateMeshSection ( |
||
|
CreateMeshSection |
Create/replace a section for this procedural mesh component. |
|
|
CreateMeshSection_LinearColor ( |
Create/replace a section for this procedural mesh component. |
|
|
CreateMeshSection_LinearColor |
||
|
GetNumSections() |
Returns number of sections currently created for this component |
|
|
FProcMeshSec... |
GetProcMeshSection ( |
Get pointer to internal data for one section of this procedural mesh component. |
|
IsMeshSectionVisible ( |
Returns whether a particular section is currently visible |
|
|
SetCollisionConvexMeshes |
Function to replace all simple collision in one go |
|
|
SetMeshSectionVisible |
Control visibility of a particular section |
|
|
SetProcMeshSection ( |
Replace a section with new section geometry |
|
|
UpdateMeshSection |
Updates a section of this procedural mesh component. |
|
|
UpdateMeshSection |
||
|
UpdateMeshSection_LinearColor |
||
|
UpdateMeshSection_LinearColor |
Updates a section of this procedural mesh component. |
Name | Description | ||
---|---|---|---|
|
FPrimitiveSc... |
CreateSceneProxy() |
Creates a proxy to represent the primitive to the scene manager in the rendering thread. |
|
UBodySetup &... |
GetBodySetup() |
Return the BodySetup to use for this PrimitiveComponent (single body case) |
|
UMaterialInt... |
GetMaterialFromCollisionFaceIndex |
Try and retrieve the material applied to a particular collision face of mesh. |
|
GetNumMaterials() |
Return number of material elements in this primitive |
Name | Description | ||
---|---|---|---|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
Name | Description | ||
---|---|---|---|
|
ContainsPhysicsTriMeshData ( |
Interface for checking if the implementing objects contains triangle mesh collision data |
|
|
GetPhysicsTriMeshData ( |
Interface for retrieving triangle mesh collision data from the implementing object |
|
|
WantsNegXTriMesh() |
Do we want to create a negative version of this mesh |