uniformNamed(_:)
Returns the uniform object corresponding to a particular uniform variable.
Declaration
func uniformNamed(_ name: String) -> SKUniform?Parameters
- name:
The name of the uniform to search for.
Return Value
The uniform object corresponding to the name, or nil if that uniform cannot be found.