Create Dynamic Material Instance Skeletal

create-dynamic-material-instance-skeletal

DESCRIPTION:

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

INPUTS:

  • Target [MotionSensorComponent]: The Unreal Engine/MotionSensor interface object.
  • Mesh [USkeletalMeshComponent*]: Skeletal¬†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