Material

Material

Windows
MacOS
Linux
On this page

Actions

CopyMaterialInstanceParameters

Copies over parameters given a material interface (copy each instance following the hierarchy) Very slow implementation, avoid using at runtime. Hopefully we can replace it later with something like CopyInterpParameters() The output is the object itself (this). Copying 'quick parameters only' will result in a much faster copy process but will only copy dynamic scalar, vector and texture parameters on clients.

Target is Material Instance Dynamic

CopyParameterOverrides

Copy parameter values from another material instance. This will copy only parameters explicitly overridden in that material instance!!

Target is Material Instance Dynamic

Create Dynamic Material Instance

Creates a Dynamic Material Instance which you can modify during gameplay.

Target is Kismet Material Library

Create Named Dynamic Material Instance

Creates a Dynamic Material Instance for the specified named material override, optionally from the supplied material.

Target is Particle System Component

Get Base Material

Walks up parent chain and finds the base Material that this is an instance of. Just calls the virtual GetMaterial()

Target is Material Interface

Get Material

Returns the material used by the element at the specified index

Target is Primitive Component

Get Named Material

Returns a named material. If this named material is not found, returns NULL.

Target is Particle System Component

Get Num Materials

Return number of material elements in this primitive

Target is Primitive Component

Get Parameter Info

Get Parameter Info

Target is Material Interface

Get Rendering Material Quality Level

Get the clamped state of r.MaterialQualityLevel, see console variable help (allows for scalability, cannot be used in construction scripts) 0: low 1: high 2: medium

Target is Kismet System Library

Get Scalar Parameter Value

Gets a scalar parameter value from the material collection instance. Logs if ParameterName is invalid.

Target is Kismet Material Library

Get Vector Parameter Value

Gets a vector parameter value from the material collection instance. Logs if ParameterName is invalid.

Target is Kismet Material Library

GetScalarParameterValue

Get the scalar (float) parameter value from an MIC

Target is Material Instance Constant

GetScalarParameterValueByInfo

Get the current scalar (float) parameter value from an MID, using MPI (to allow access to layer parameters)

Target is Material Instance Dynamic

GetTextureParameterValue

Get the MIC texture parameter value

Target is Material Instance Constant

GetTextureParameterValueByInfo

Get the current MID texture parameter value, using MPI (to allow access to layer parameters)

Target is Material Instance Dynamic

GetVectorParameterValue

Get the current MID vector parameter value

Target is Material Instance Dynamic

GetVectorParameterValueByInfo

Get the current MID vector parameter value, using MPI (to allow access to layer parameters)

Target is Material Instance Dynamic

InterpolateMaterialInstanceParameters

Interpolates the scalar and vector parameters of this material instance based on two other material instances, and an alpha blending factor The output is the object itself (this). Supports the case SourceA==this || SourceB==this Both material have to be from the same base material

Target is Material Instance Dynamic

Set Custom Primitive Data Float

Set custom primitive data at index DataIndex.

Target is Primitive Component

Set Custom Primitive Data Vector 2

Set custom primitive data, two floats at once, from index DataIndex to index DataIndex + 1.

Target is Primitive Component

Set Custom Primitive Data Vector 3

Set custom primitive data, three floats at once, from index DataIndex to index DataIndex + 2.

Target is Primitive Component

Set Custom Primitive Data Vector 4

Set custom primitive data, four floats at once, from index DataIndex to index DataIndex + 3.

Target is Primitive Component

Set Force Mip Levels to be Resident

Force the streaming system to disregard the normal logic for the specified duration and instead always load all mip-levels for all textures used by this material.

Target is Material Interface

Set Material

Changes the material applied to an element of the mesh.

Target is Primitive Component

Set Material by Name

Changes the material applied to an element of the mesh.

Target is Primitive Component

Set Scalar Parameter Value

Sets a scalar parameter value on the material collection instance. Logs if ParameterName is invalid.

Target is Kismet Material Library

Set Scalar Parameter Value by Info

Set a MID scalar (float) parameter value using MPI (to allow access to layer parameters)

Target is Material Instance Dynamic

Set Scalar Parameter Value on Materials

Set all occurrences of Scalar Material Parameters with ParameterName in the set of materials of the SkeletalMesh to ParameterValue

Target is Mesh Component

Set Texture Parameter Value

Set an MID texture parameter value

Target is Material Instance Dynamic

Set Texture Parameter Value by Info

Set an MID texture parameter value using MPI (to allow access to layer parameters)

Target is Material Instance Dynamic

Set Vector Parameter Value

Sets a vector parameter value on the material collection instance. Logs if ParameterName is invalid.

Target is Kismet Material Library

Set Vector Parameter Value by Info

Set an MID vector parameter value, using MPI (to allow access to layer parameters)

Target is Material Instance Dynamic

Set Vector Parameter Value on Materials

Set all occurrences of Vector Material Parameters with ParameterName in the set of materials of the SkeletalMesh to ParameterValue

Target is Mesh Component

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss