Summary
	
    Sets a blittable value of the material pass parameter. Cloning the Material if required.
    
		
	Syntax
	public static void SetMaterialParameter<T>(this ModelComponent modelComponent, ValueParameter<T> parameter, T value, int materialIndex = 0, int passIndex = 0) 
    where T : struct
	Type Parameters
	
		
			
				
					
						| Name | 
						Description | 
					
				
					
						| T | 
						The type of value. | 
					
			
		 
	 	
	Parameters
	
		
			
				
					
						| Name | 
						Type | 
						Description | 
					
				
					
						| modelComponent | 
						ModelComponent | 
						The ModelComponent to update material parameter on. | 
					
					
						| parameter | 
						ValueParameter<T> | 
						The parameter to update. | 
					
					
						| value | 
						T | 
						The value. | 
					
					
						| materialIndex | 
						int | 
						The index of the material to update. Default is 0. | 
					
					
						| passIndex | 
						int | 
						The index of the pass of the material to update. Default is 0. | 
					
			
		 
	 	
	Return Value