Material
class · namespace Hazel
Inherits Asset<Material>
public sealed class Material : Asset<Material>
Properties
AlbedoColor
public Vector3 AlbedoColor { get; set; }
Emission
public float Emission { get; set; }
public float Metalness { get; set; }
Roughness
public float Roughness { get; set; }
Methods
Set(string, Texture2D)
public void Set(string uniform, Texture2D texture)
Set(string, Vector3)
public void Set(string uniform, Vector3 value)
Set(string, Vector4)
public void Set(string uniform, Vector4 value)
Set(string, float)
public void Set(string uniform, float value)
SetTexture(string, Texture2D)
public void SetTexture(string uniform, Texture2D texture)
Source: Hazel/Renderer/Material.cs