public class MaterialResource : UnityObjectWrapper

A material.


public void SetBaseAlbedo(TextureResource texture)

Set the base albedo texture for this material.

Arguments


public void SetBaseColor(LuaColor color)

Set the base color for this material.

Arguments


public void SetGenericTexture(string name, TextureResource texture)

Set a texture for the given material texture slot.

Arguments


public void SetGenericColor(string name, LuaColor color)

Set a color for the given material color slot.

Arguments


public void SetGenericFloat(string name, float value)

Set a float for the given material float slot.

Arguments


public void SetGenericVector(string name, LuaVector3 vector)

Set a vector for the given material vector slot.

Arguments