Static Mesh Utilities

Static Mesh Utilities

Choose your operating system:

Windows

macOS

Linux

On this page

Actions

Add Simple Collisions

Same as AddSimpleCollisionsWithNotification but changes are automatically applied.

Target is Static Mesh Editor Subsystem

Add Simple Collisions with Notification

Add simple collisions to a static mesh. This method replicates what is done when invoking menu entries "Collision > Add [...] Simplified Collision" in the Mesh Editor.

Target is Static Mesh Editor Subsystem

Add UVChannel

Adds an empty UV channel at the end of the existing channels on the given LOD of a StaticMesh.

Target is Static Mesh Editor Subsystem

Bulk Set Convex Decomposition Collisions

Same as SetConvexDecompositionCollisionsWithNotification but changes are automatically applied.

Target is Static Mesh Editor Subsystem

Bulk Set Convex Decomposition Collisions with Notification

Compute convex collisions for a set of static meshes. Any existing collisions will be removed from the static meshes. This method replicates what is done when invoking menu entry "Collision > Auto Convex Collision" in the Mesh Editor.

Target is Static Mesh Editor Subsystem

Enable Section Cast Shadow

Enables/disables mesh section shadow casting for a specific LOD.

Target is Static Mesh Editor Subsystem

Enable Section Collision

Enables/disables mesh section collision for a specific LOD.

Target is Static Mesh Editor Subsystem

Generate Box UVChannel

Generates box UV mapping in the specified UV channel on the given LOD of a StaticMesh.

Target is Static Mesh Editor Subsystem

Generate Cylindrical UVChannel

Generates cylindrical UV mapping in the specified UV channel on the given LOD of a StaticMesh.

Target is Static Mesh Editor Subsystem

Generate Planar UVChannel

Generates planar UV mapping in the specified UV channel on the given LOD of a StaticMesh.

Target is Static Mesh Editor Subsystem

Get Collision Complexity

Get the Collision Trace behavior of a static mesh

Target is Static Mesh Editor Subsystem

Get Convex Collision Count

Get number of convex collisions present on a static mesh.

Target is Static Mesh Editor Subsystem

Get Lod Count

Get number of LODs present on a static mesh.

Target is Static Mesh Editor Subsystem

Get Lod Screen Sizes

Get an array of LOD screen sizes for evaluation.

Target is Static Mesh Editor Subsystem

Get LODMaterial Slot

Gets the material slot used for a specific LOD section.

Target is Static Mesh Editor Subsystem

Get Nanite Settings

Get the Nanite Settings for the mesh

Target is Static Mesh Editor Subsystem

Get Num UVChannels

Returns the number of UV channels for the given LOD of a StaticMesh.

Target is Static Mesh Editor Subsystem

Get Number Materials

Get number of Materials for a StaticMesh

Target is Static Mesh Editor Subsystem

Get Number Verts

Get number of StaticMesh verts for an LOD

Target is Static Mesh Editor Subsystem

Get Simple Collision Count

Get number of simple collisions present on a static mesh.

Target is Static Mesh Editor Subsystem

Has Instance Vertex Colors

Check whether a static mesh component has vertex colors

Target is Static Mesh Editor Subsystem

Has Vertex Colors

Check whether a static mesh has vertex colors

Target is Static Mesh Editor Subsystem

Insert UVChannel

Inserts an empty UV channel at the specified channel index on the given LOD of a StaticMesh.

Target is Static Mesh Editor Subsystem

Is Section Collision Enabled

Checks if a specific LOD mesh section has collision.

Target is Static Mesh Editor Subsystem

Remove Collisions

Same as RemoveCollisionsWithNotification but changes are applied.

Target is Static Mesh Editor Subsystem

Remove Collisions with Notification

Remove collisions from a static mesh. This method replicates what is done when invoking menu entries "Collision > Remove Collision" in the Mesh Editor.

Target is Static Mesh Editor Subsystem

Remove Lods

Remove LODs on a static mesh except LOD 0.

Target is Static Mesh Editor Subsystem

Remove UVChannel

Removes the UV channel at the specified channel index on the given LOD of a StaticMesh.

Target is Static Mesh Editor Subsystem

Replace Mesh Components Materials

Find the references of the material MaterialToReplaced on all the MeshComponents provided and replace it by NewMaterial.

Target is Static Mesh Editor Subsystem

Replace Mesh Components Materials on Actors

Find the references of the material MaterialToReplaced on all the MeshComponents of all the Actors provided and replace it by NewMaterial.

Target is Static Mesh Editor Subsystem

Replace Mesh Components Meshes

Find the references of the mesh MeshToBeReplaced on all the MeshComponents provided and replace it by NewMesh. The editor should not be in play in editor mode.

Target is Static Mesh Editor Subsystem

Replace Mesh Components Meshes on Actors

Find the references of the mesh MeshToBeReplaced on all the MeshComponents of all the Actors provided and replace it by NewMesh.

Target is Static Mesh Editor Subsystem

Set Allow CPUAccess

Sets StaticMeshFlag bAllowCPUAccess

Target is Static Mesh Editor Subsystem

Set Convex Decomposition Collisions

Same as SetConvexDecompositionCollisionsWithNotification but changes are automatically applied.

Target is Static Mesh Editor Subsystem

Set Convex Decomposition Collisions with Notification

Add a convex collision to a static mesh. Any existing collisions will be removed from the static mesh. This method replicates what is done when invoking menu entry "Collision > Auto Convex Collision" in the Mesh Editor.

Target is Static Mesh Editor Subsystem

Set Generate Lightmap UVs

Set Generate Lightmap UVs for StaticMesh

Target is Static Mesh Editor Subsystem

Set Lod from Static Mesh

Adds or create a LOD at DestinationLodIndex using the geometry from SourceStaticMesh SourceLodIndex

Target is Static Mesh Editor Subsystem

Set LODMaterial Slot

Sets the material slot for a specific LOD.

Target is Static Mesh Editor Subsystem

Set Lods

Same as SetLodsWithNotification but changes are applied.

Target is Static Mesh Editor Subsystem

Set Lods with Notification

Remove then add LODs on a static mesh. The static mesh must have at least LOD 0. The LOD 0 of the static mesh is kept after removal. The build settings of LOD 0 will be applied to all subsequent LODs.

Target is Static Mesh Editor Subsystem

Set Nanite Settings

Get the Nanite Settings for the mesh

Target is Static Mesh Editor Subsystem