EMaterialValueType

The types which can be used by materials.

Windows
MacOS
Linux

Syntax

enum EMaterialValueType
{
    MCT_Float1                = 1,
    MCT_Float2                = 2,
    MCT_Float3                = 4,
    MCT_Float4                = 8,
    MCT_Float                 = 8|4|2|1,
    MCT_Texture2D             = 16,
    MCT_TextureCube           = 32,
    MCT_VolumeTexture         = 64,
    MCT_StaticBool            = 128,
    MCT_Unknown               = 256,
    MCT_MaterialAttributes    = 512,
    MCT_TextureExternal       = 1024,
    MCT_Texture               = 16|32|64|1024,
}

Values

Name

Description

MCT_Float1

A scalar float type.

MCT_Float2

MCT_Float3

MCT_Float4

MCT_Float

Any size float type by definition, but this is treated as a scalar which can auto convert (by replication) to any other size float vector.

MCT_Texture2D

MCT_TextureCube

MCT_VolumeTexture

MCT_StaticBool

MCT_Unknown

MCT_MaterialAttributes

MCT_TextureExternal

MCT_Texture

Remarks

The types which can be used by materials.

References

Module

Engine

Header

Runtime/Engine/Public/MaterialShared.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback