Navigation
API > API/Runtime > API/Runtime/Engine
Enumeration of material usage types.
| Name | EMaterialUsage |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialInterface.h |
| Include Path | #include "Materials/MaterialInterface.h" |
Syntax
enum EMaterialUsage
{
MATUSAGE_SkeletalMesh,
MATUSAGE_ParticleSprites,
MATUSAGE_BeamTrails,
MATUSAGE_MeshParticles,
MATUSAGE_StaticLighting,
MATUSAGE_MorphTargets,
MATUSAGE_SplineMesh,
MATUSAGE_InstancedStaticMeshes,
MATUSAGE_GeometryCollections,
MATUSAGE_Clothing,
MATUSAGE_NiagaraSprites,
MATUSAGE_NiagaraRibbons,
MATUSAGE_NiagaraMeshParticles,
MATUSAGE_GeometryCache,
MATUSAGE_Water,
MATUSAGE_HairStrands,
MATUSAGE_LidarPointCloud,
MATUSAGE_VirtualHeightfieldMesh,
MATUSAGE_Nanite,
MATUSAGE_Voxels,
MATUSAGE_VolumetricCloud,
MATUSAGE_HeterogeneousVolumes,
MATUSAGE_StaticMesh,
MATUSAGE_EditorCompositing,
MATUSAGE_NeuralNetworks,
MATUSAGE_MeshDeformer,
MATUSAGE_InstancedSkinnedMesh,
MATUSAGE_Curves,
MATUSAGE_MAX,
}
Values
| Name | Remarks |
|---|---|
| MATUSAGE_SkeletalMesh | Indicates that the material and its instances can be used with skeletal meshes. |
| MATUSAGE_ParticleSprites | Indicates that the material and its instances can be used with particle sprites. |
| MATUSAGE_BeamTrails | Indicates that the material and its instances can be used with beam trails. |
| MATUSAGE_MeshParticles | Indicates that the material and its instances can be used with mesh particles. |
| MATUSAGE_StaticLighting | Indicates that the material and its instances can be used with static lighting. |
| MATUSAGE_MorphTargets | Indicates that the material and its instances can be used with morph targets. |
| MATUSAGE_SplineMesh | Indicates that the material and its instances can be used with spline meshes. |
| MATUSAGE_InstancedStaticMeshes | Indicates that the material and its instances can be used with instanced static meshes. |
| MATUSAGE_GeometryCollections | Indicates that the material and its instances can be use with geometry collections. |
| MATUSAGE_Clothing | Indicates that the material and its instances can be used with clothing. |
| MATUSAGE_NiagaraSprites | Indicates that the material and its instances can be used with Niagara sprites. |
| MATUSAGE_NiagaraRibbons | Indicates that the material and its instances can be used with Niagara ribbons. |
| MATUSAGE_NiagaraMeshParticles | Indicates that the material and its instances can be used with Niagara meshes. |
| MATUSAGE_GeometryCache | Indicates that the material and its instances can be use with geometry caches. |
| MATUSAGE_Water | Indicates that the material and its instances can be use with water. |
| MATUSAGE_HairStrands | Indicates that the material and its instances can be use with hair strands. |
| MATUSAGE_LidarPointCloud | Indicates that the material and its instances can be use with LiDAR Point Clouds. |
| MATUSAGE_VirtualHeightfieldMesh | Indicates that the material and its instances can be used with Virtual Heightfield Mesh. |
| MATUSAGE_Nanite | Indicates that the material and its instances can be used with Nanite meshes. |
| MATUSAGE_Voxels | Indicates that the material and its instances can be used with Nanite voxel meshes. |
| MATUSAGE_VolumetricCloud | Indicates that the material and its instances with volumetric cloud. |
| MATUSAGE_HeterogeneousVolumes | Indicates that the material and its instances with heterogeneous volumes. |
| MATUSAGE_StaticMesh | Indicates that the material and its instances can be used on static meshes. |
| MATUSAGE_EditorCompositing | Indicates that the material and its instances can be used with editor compositing. |
| MATUSAGE_NeuralNetworks | Indicates that the material and its instances can be used with neural network engine. |
| MATUSAGE_MeshDeformer | Indicates that the material and its instances can be used with mesh deformers. |
| MATUSAGE_InstancedSkinnedMesh | Indicates that the material and its instances can be used with instanced skinned meshes. |
| MATUSAGE_Curves | Indicates that the material and its instances can be used with Nanite curve meshes. |
| MATUSAGE_MAX |