Describes material properties used by the rendering pipeline.
public readonly struct RenderMaterial
kind:method, kind:property, kind:ctor. Press Esc to clear.RenderMaterial(RenderColor, RenderColor, RenderColor, Single, Single, Single, Single, Byte)Initializes a new instance of the RenderMaterial struct with specular properties.RenderMaterial(RenderColor, RenderColor, Single, Single, Byte)Initializes a new instance of the RenderMaterial struct.AlphaGets the combined alpha after entity transparency and material opacity.AmbientColorGets the ambient color without transparency.AmbientFactorGets the ambient contribution factor in the range [0, 1].DiffuseColorGets the diffuse (base) color without transparency.DiffuseFactorGets the diffuse contribution factor in the range [0, 1].DiffuseWithAlphaGets the diffuse color with the combined alpha applied.GlossinessGets the glossiness factor in the range [0, 1].SpecularColorGets the specular color without transparency.SpecularFactorGets the specular contribution factor in the range [0, 1].SpecularWithAlphaGets the specular color with the combined alpha applied.FromColor(RenderColor)Creates a default material based on the provided color.