Create Dynamic Material Instance

create-dynamic-material-instance

DESCRIPTION:

Creates a new dynamic material instance based on the source material.

INPUTS:

  • Target [MotionSensorComponent]: The Unreal Engine/MotionSensor interface object.
  • Mesh [UStaticMeshComponent*]: Static mesh component which will use the texture.
  • Source Material [UMaterial*]: New dynamic material instance will be created based on this source material.

OUTPUTS:

  • Return Value¬†[UMaterialInstanceDynamic*]: Dynamic Material Instance