Announcement

Collapse
No announcement yet.

Can I get the color parameter value of a non-dynamic material instance?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can I get the color parameter value of a non-dynamic material instance?

    I have "On Begin Overlap" event where I need to get (only) the color value of the material of the overlapping component.
    Something along these lines:

    Click image for larger version

Name:	getcolor.png
Views:	160
Size:	68.0 KB
ID:	1383668

    It seems, however, that the only way to do it is by first creating a dynamic material instance out of the incoming material.
    I might be wrong, but this sound like an overkill. Any insight would be appreciated.

    #2
    I could be wrong, but I think you will have to make a DMI for it. I think it will be the only way to call the value of the parameter. I'm not a programmer, so i'm not sure what is actually going on "behind the scenes", but it might be something along the lines of promoting the material to a variable.

    Comment

    Working...
    X