Contents

getParameter(handle:)

Returns the value of a parameter identified by a handle.

Declaration

func getParameter(handle: MaterialParameters.Handle) -> MaterialParameters.Value?

Parameters

Return Value

The current value of the parameter, or nil if the parameter has no value set on this material.

See Also

Accessing shader parameters