| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorStaticMeshLibrary.h |
Include |
#include "EditorStaticMeshLibrary.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UEditorStaticMeshLibrary : public UBlueprintFunctionLibrary
Utility class to altering and analyzing a StaticMesh and use the common functionalities of the Mesh Editor. The editor should not be in play in editor mode.
Name | Description | ||
---|---|---|---|
|
AddSimpleCollisions ( |
Same as AddSimpleCollisionsWithNotification but changes are automatically applied. |
|
|
AddSimpleCollisionsWithNotification ( |
Add simple collisions to a static mesh. |
|
|
AddUVChannel ( |
Adds an empty UV channel at the end of the existing channels on the given LOD of a StaticMesh. |
|
|
BulkSetConvexDecompositionCollisions ( |
Same as SetConvexDecompositionCollisionsWithNotification but changes are automatically applied. |
|
|
BulkSetConvexDecompositionCollisionsWithNotification |
Compute convex collisions for a set of static meshes. |
|
|
EnableSectionCastShadow ( |
Enables/disables mesh section shadow casting for a specific LOD. |
|
|
EnableSectionCollision ( |
Enables/disables mesh section collision for a specific LOD. |
|
|
GenerateBoxUVChannel |
Generates box UV mapping in the specified UV channel on the given LOD of a StaticMesh. |
|
|
GenerateCylindricalUVChannel |
Generates cylindrical UV mapping in the specified UV channel on the given LOD of a StaticMesh. |
|
|
GeneratePlanarUVChannel |
Generates planar UV mapping in the specified UV channel on the given LOD of a StaticMesh. |
|
|
TEnumAsByte<... |
GetCollisionComplexity ( |
Get the Collision Trace behavior of a static mesh |
|
GetConvexCollisionCount ( |
Get number of convex collisions present on a static mesh. |
|
|
GetLodCount ( |
Get number of LODs present on a static mesh. |
|
|
TArray< floa... |
GetLodScreenSizes ( |
Get an array of LOD screen sizes for evaluation. |
|
GetNumberMaterials ( |
Get number of StaticMesh verts for an LOD |
|
|
GetNumberVerts ( |
Get number of StaticMesh verts for an LOD |
|
|
GetNumUVChannels ( |
Returns the number of UV channels for the given LOD of a StaticMesh. |
|
|
GetSimpleCollisionCount ( |
Get number of simple collisions present on a static mesh. |
|
|
HasInstanceVertexColors ( |
Check whether a static mesh component has vertex colors |
|
|
HasVertexColors ( |
Check whether a static mesh has vertex colors |
|
|
InsertUVChannel ( |
Inserts an empty UV channel at the specified channel index on the given LOD of a StaticMesh. |
|
|
IsSectionCollisionEnabled ( |
Checks if a specific LOD mesh section has collision. |
|
|
RemoveCollisions ( |
Same as RemoveCollisionsWithNotification but changes are applied. |
|
|
RemoveCollisionsWithNotification ( |
Remove collisions from a static mesh. |
|
|
RemoveLods ( |
Remove LODs on a static mesh except LOD 0. |
|
|
RemoveUVChannel ( |
Removes the UV channel at the specified channel index on the given LOD of a StaticMesh. |
|
|
SetAllowCPUAccess ( |
Sets StaticMeshFlag bAllowCPUAccess |
|
|
SetConvexDecompositionCollisions ( |
Same as SetConvexDecompositionCollisionsWithNotification but changes are automatically applied. |
|
|
SetConvexDecompositionCollisionsWithNotification ( |
Add a convex collision to a static mesh. |
|
|
SetGenerateLightmapUVs ( |
Set Generate Lightmap UVs for StaticMesh |
|
|
SetLodFromStaticMesh ( |
Adds or create a LOD at DestinationLodIndex using the geometry from SourceStaticMesh SourceLodIndex |
|
|
SetLods ( |
Same as SetLodsWithNotification but changes are applied. |
|
|
SetLodsWithNotification ( |
Remove then add LODs on a static mesh. |