Navigation
API > API/Plugins > API/Plugins/DynamicMaterialEditor
Convert engine linear enum to bitflag enum.
| Name | EDMMaterialFlagsUsage |
| Type | enum |
| Header File | /Engine/Plugins/VirtualProduction/DynamicMaterial/Source/DynamicMaterialEditor/Public/Model/DynamicMaterialModelEditorOnlyData.h |
| Include Path | #include "Model/DynamicMaterialModelEditorOnlyData.h" |
Syntax
enum EDMMaterialFlagsUsage
{
DMMFU_None = 0,
DMMFU_StaticMesh = 1 << EMaterialUsage::MATUSAGE_StaticMesh,
DMMFU_SkeletalMesh = 1 << EMaterialUsage::MATUSAGE_SkeletalMesh,
DMMFU_SplineMesh = 1 << EMaterialUsage::MATUSAGE_SplineMesh,
DMMFU_InstancedStaticMeshes = 1 << EMaterialUsage::MATUSAGE_InstancedStaticMeshes,
DMMFU_ParticleSprites = 1 << EMaterialUsage::MATUSAGE_ParticleSprites,
DMMFU_BeamTrails = 1 << EMaterialUsage::MATUSAGE_BeamTrails,
DMMFU_MeshParticles = 1 << EMaterialUsage::MATUSAGE_MeshParticles,
DMMFU_StaticLighting = 1 << EMaterialUsage::MATUSAGE_StaticLighting,
DMMFU_MorphTargets = 1 << EMaterialUsage::MATUSAGE_MorphTargets,
DMMFU_GeometryCollections = 1 << EMaterialUsage::MATUSAGE_GeometryCollections,
DMMFU_GeometryCache = 1 << EMaterialUsage::MATUSAGE_GeometryCache,
DMMFU_Clothing = 1 << EMaterialUsage::MATUSAGE_Clothing,
DMMFU_NiagaraSprites = 1 << EMaterialUsage::MATUSAGE_NiagaraSprites,
DMMFU_NiagaraRibbons = 1 << EMaterialUsage::MATUSAGE_NiagaraRibbons,
DMMFU_NiagaraMeshParticles = 1 << EMaterialUsage::MATUSAGE_NiagaraMeshParticles,
DMMFU_Water = 1 << EMaterialUsage::MATUSAGE_Water,
DMMFU_HairStrands = 1 << EMaterialUsage::MATUSAGE_HairStrands,
DMMFU_LidarPointCloud = 1 << EMaterialUsage::MATUSAGE_LidarPointCloud,
DMMFU_VirtualHeightfieldMesh = 1 << EMaterialUsage::MATUSAGE_VirtualHeightfieldMesh,
DMMFU_Nanite = 1 << EMaterialUsage::MATUSAGE_Nanite,
DMMFU_Voxels = 1 << EMaterialUsage::MATUSAGE_Voxels,
DMMFU_VolumetricCloud = 1 << EMaterialUsage::MATUSAGE_VolumetricCloud,
DMMFU_HeterogeneousVolumes = 1 << EMaterialUsage::MATUSAGE_HeterogeneousVolumes,
DMMFU_EditorCompositing = 1 << EMaterialUsage::MATUSAGE_EditorCompositing,
DMMFU_NeuralNetworks = 1 << EMaterialUsage::MATUSAGE_NeuralNetworks,
}
Values
| Name | Remarks |
|---|---|
| DMMFU_None | |
| DMMFU_StaticMesh | Indicates that the material and its instances can be used on static meshes. |
| DMMFU_SkeletalMesh | Indicates that the material and its instances can be used with skeletal meshes. |
| DMMFU_SplineMesh | Indicates that the material and its instances can be used with spline meshes. |
| DMMFU_InstancedStaticMeshes | Indicates that the material and its instances can be used with instanced static meshes. |
| DMMFU_ParticleSprites | Indicates that the material and its instances can be used with particle sprites. |
| DMMFU_BeamTrails | Indicates that the material and its instances can be used with beam trails. |
| DMMFU_MeshParticles | Indicates that the material and its instances can be used with mesh particles. |
| DMMFU_StaticLighting | Indicates that the material and its instances can be used with static lighting. |
| DMMFU_MorphTargets | Indicates that the material and its instances can be used with morph targets. |
| DMMFU_GeometryCollections | Indicates that the material and its instances can be use with geometry collections. |
| DMMFU_GeometryCache | Indicates that the material and its instances can be use with geometry caches. |
| DMMFU_Clothing | Indicates that the material and its instances can be used with clothing. |
| DMMFU_NiagaraSprites | Indicates that the material and its instances can be used with Niagara sprites. |
| DMMFU_NiagaraRibbons | Indicates that the material and its instances can be used with Niagara ribbons. |
| DMMFU_NiagaraMeshParticles | Indicates that the material and its instances can be used with Niagara meshes. |
| DMMFU_Water | Indicates that the material and its instances can be use with water. |
| DMMFU_HairStrands | Indicates that the material and its instances can be use with hair strands. |
| DMMFU_LidarPointCloud | Indicates that the material and its instances can be use with LiDAR Point Clouds. |
| DMMFU_VirtualHeightfieldMesh | Indicates that the material and its instances can be used with Virtual Heightfield Mesh. |
| DMMFU_Nanite | Indicates that the material and its instances can be used with Nanite meshes. |
| DMMFU_Voxels | Indicates that the material and its instances can be used with Nanite voxel meshes. |
| DMMFU_VolumetricCloud | Indicates that the material and its instances with volumetric cloud. |
| DMMFU_HeterogeneousVolumes | Indicates that the material and its instances with heterogeneous volumes. |
| DMMFU_EditorCompositing | Indicates that the material and its instances can be used with editor compositing. |
| DMMFU_NeuralNetworks | Indicates that the material and its instances can be used with neural network engine. |