I would like the Control Rig controller to populate the values of the material instance with Scalar U and Scalar V parameters.
-
I have a Control Rig with a controller set to integer.: 0 - 15
-
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?
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.