setParameter(name:value:)
Sets the value of a parameter by name.
Declaration
mutating func setParameter(name: String, value newValue: MaterialParameters.Value) throwsParameters
- name:
The name of the parameter as declared in the shader graph.
Sets the value of a parameter by name.
mutating func setParameter(name: String, value newValue: MaterialParameters.Value) throwsThe name of the parameter as declared in the shader graph.