Metahuman: Cast variable from Control Rig?

I would like the Control Rig controller to populate the values of the material instance with Scalar U and Scalar V parameters.

  1. I have a Control Rig with a controller set to integer.: 0 - 15

  2. And I have a material instance with Scalar U and Scalar V parameters.

Is there a way to cast the Control Rig to the material instance Scalar U and Scalar V parameters?

Would a Custom Data Table work? If so, how?
This is not runtime, it is for Cinematics. The Controller would be keyframed in Sequencer.

Can I use a Data Table to link a Control Rig controller set to use integer and use those integers to populate “pre defined values” in two parameters in a material instance?

  1. If the Controller has an integer of 0, the UOffset of the material will be 0 and the VOffset of the material will be 1.
  2. If the Controller has an integer of 1, the UOffset of the material will be 1.25 and the VOffset of the material will be 0.
  3. If the Controller has an integer of 2, the UOffset of the material will be 1.25 and the VOffset of the material will be 0.
  4. If the Controller has an integer of 3, the UOffset of the material will be 1.5 and the VOffset of the material will be 0.
  5. If the Controller has an integer of 4, the UOffset of the material will be 1.5 and the VOffset of the material will be 0.
  6. If the Controller has an integer of 15, the UOffset of the material will be 1.75 and the VOffset of the material will be 1.75.

I’m new to UE.

Did you get to switch the parameters of the Materials by the Control Rig?

I would like to do the same process. To change any parameter of my material, I use a Material Parameter Collector. In my opinion, it is easy to implement, but I didn’t get any parameters from the control rig into my material.

So, I’m trying to use a “blueprint interface” to switch parameters between the control rig and material. The function can’t be used during runtime, which has been challenging.

I would like to hear about your solution. If you have found it. 8^)

Thanks,