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
(string) Name of the slot. [name]
(Texture) The texture. [texture]
public void SetGenericColor(string name, LuaColor color)
Set a color for the given material color slot.
Arguments
(string) Name of the slot. [name]
(Color) The color. [color]
public void SetGenericFloat(string name, float value)
Set a float for the given material float slot.
Arguments
(string) Name of the slot. [name]
(float) The float. [value]
public void SetGenericVector(string name, LuaVector3 vector)
Set a vector for the given material vector slot.
Arguments
(string) Name of the slot. [name]
(Vector3) The vector. [vector]