Search found 2 matches

by Mr_jigs
Tue Jun 20, 2017 5:27 pm
Forum: Amplify Shader Editor
Topic: Access properties through scripts
Replies: 3
Views: 6582

Re: Access properties through scripts

Hello Ricardo,

I must be pretty dense at the moment. I have had a look at the code you suggested but I can't see an example of getting access to the values of a particular node. I can see getting access to properties of the material class but not to any of the amplify nodes.

Fortunately, after ...
by Mr_jigs
Mon Jun 19, 2017 6:54 am
Forum: Amplify Shader Editor
Topic: Access properties through scripts
Replies: 3
Views: 6582

Access properties through scripts

How would I go about accessing various shader properties through C# scripts? Say I wanted to animate the value Distortion which is a float in your SimpleRefraction sample shader by controlling its value through a C# script.