Search Results for

    Show / Hide Table of Contents

    Class StandardMaterial

    Inheritance
    object
    BaseMaterialDecorator
    MaterialDecorator
    StandardMaterial
    Inherited Members
    MaterialDecorator.Material
    MaterialDecorator.AllowInstancing
    MaterialDecorator.Id
    MaterialDecorator.OrderBias
    MaterialDecorator.LayerDescription
    BaseMaterialDecorator.material
    BaseMaterialDecorator.ActiveDirectivesNames
    BaseMaterialDecorator.Effect
    BaseMaterialDecorator.GetMaterialPassResources(string, bool)
    BaseMaterialDecorator.Prepare(CommandBuffer)
    BaseMaterialDecorator.Dispose()
    Namespace: Evergine.Framework.Graphics.Materials
    Assembly: Evergine.Framework.dll
    Syntax
    [MaterialDecorator("daa1f60a-82ad-40fc-8fbb-7b85caa6de0a")]
    public class StandardMaterial : MaterialDecorator

    Constructors

    StandardMaterial(Effect)

    Declaration
    public StandardMaterial(Effect effect)
    Parameters
    Type Name Description
    Effect effect

    StandardMaterial(Material)

    Declaration
    public StandardMaterial(Material material)
    Parameters
    Type Name Description
    Material material

    Properties

    Alpha

    Declaration
    [RenderProperty(Tooltip = "Specify alpha channel.")]
    public float Alpha { get; set; }
    Property Value
    Type Description
    float

    AlphaCutout

    Declaration
    [RenderProperty(CustomPropertyName = "Alpha Cutout", Tooltip = "Discard pixels when alpha value is less than the specified value.")]
    public float AlphaCutout { get; set; }
    Property Value
    Type Description
    float

    BaseColor

    Declaration
    [RenderProperty(CustomPropertyName = "Base Color", Tooltip = "Base color.")]
    public Color BaseColor { get; set; }
    Property Value
    Type Description
    Color

    BaseColorGamma

    Declaration
    public GammaColor BaseColorGamma { get; set; }
    Property Value
    Type Description
    GammaColor

    BaseColorLinear

    Declaration
    public LinearColor BaseColorLinear { get; set; }
    Property Value
    Type Description
    LinearColor

    BaseColorSampler

    Declaration
    [RenderProperty(CustomPropertyName = "Base Color Sampler")]
    public SamplerState BaseColorSampler { get; set; }
    Property Value
    Type Description
    SamplerState

    BaseColorTexture

    Declaration
    [RenderProperty(CustomPropertyName = "Base Color Texture", Tooltip = "Base color texture (Albedo).")]
    public Texture BaseColorTexture { get; set; }
    Property Value
    Type Description
    Texture

    ClearCoat

    Declaration
    [RenderProperty(CustomPropertyName = "ClearCoat", Tooltip = "Strength of the clear coat layer.")]
    public float ClearCoat { get; set; }
    Property Value
    Type Description
    float

    ClearCoatNormalSampler

    Declaration
    [RenderProperty(CustomPropertyName = "ClearCoat Normal Sampler")]
    public SamplerState ClearCoatNormalSampler { get; set; }
    Property Value
    Type Description
    SamplerState

    ClearCoatNormalTexture

    Declaration
    [RenderProperty(CustomPropertyName = "ClearCoat Normal Texture", Tooltip = "Normal map texture that affects to the clear coat layer.")]
    public Texture ClearCoatNormalTexture { get; set; }
    Property Value
    Type Description
    Texture

    ClearCoatRoughness

    Declaration
    [RenderProperty(CustomPropertyName = "ClearCoat Roughness", Tooltip = "Perceived smoothness or roughness of the clear coat layer.")]
    public float ClearCoatRoughness { get; set; }
    Property Value
    Type Description
    float

    EmissiveColor

    Declaration
    public Color EmissiveColor { get; set; }
    Property Value
    Type Description
    Color

    EmissiveCompensation

    Declaration
    [RenderProperty(CustomPropertyName = "Emissive Compensation", Tooltip = "The exposure compensation value of the emissive property can be used to force the emissive color to be brighter (positive values) or darker (negative values) than the current exposure.")]
    public float EmissiveCompensation { get; set; }
    Property Value
    Type Description
    float

    EmissiveSampler

    Declaration
    [RenderProperty(CustomPropertyName = "Emissive Sampler")]
    public SamplerState EmissiveSampler { get; set; }
    Property Value
    Type Description
    SamplerState

    EmissiveTexture

    Declaration
    [RenderProperty(CustomPropertyName = "Emissive Texture", Tooltip = "The emissive texture can be used to simulate additional light emitted by the surface.")]
    public Texture EmissiveTexture { get; set; }
    Property Value
    Type Description
    Texture

    IBLEnabled

    Declaration
    [RenderProperty(CustomPropertyName = "IBL enabled", Tooltip = "Enable ImageBasedLighting on this material.")]
    public bool IBLEnabled { get; set; }
    Property Value
    Type Description
    bool

    LightingEnabled

    Declaration
    [RenderProperty(CustomPropertyName = "Lighting enabled", Tooltip = "Enable lighting on this material.")]
    public bool LightingEnabled { get; set; }
    Property Value
    Type Description
    bool

    Metallic

    Declaration
    [RenderProperty(CustomPropertyName = "Metallic", Tooltip = "Whether a surface appears to be dielectric (0.0) or conductor (1.0). Often used as a binary value (0 or 1)")]
    public float Metallic { get; set; }
    Property Value
    Type Description
    float

    MetallicRoughnessSampler

    Declaration
    [RenderProperty(CustomPropertyName = "MetalRoughness Sampler")]
    public SamplerState MetallicRoughnessSampler { get; set; }
    Property Value
    Type Description
    SamplerState

    MetallicRoughnessTexture

    Declaration
    [RenderProperty(CustomPropertyName = "MetalRoughness Texture", Tooltip = "Indicates in the same texture the Metallic value (blue channel) and Roughness (green channel)")]
    public Texture MetallicRoughnessTexture { get; set; }
    Property Value
    Type Description
    Texture

    NormalSampler

    Declaration
    [RenderProperty(CustomPropertyName = "Normal Sampler")]
    public SamplerState NormalSampler { get; set; }
    Property Value
    Type Description
    SamplerState

    NormalTexture

    Declaration
    [RenderProperty(CustomPropertyName = "Normal Texture", Tooltip = "Texture that specify at pixel level the normal of the surface.")]
    public Texture NormalTexture { get; set; }
    Property Value
    Type Description
    Texture

    OcclusionSampler

    Declaration
    [RenderProperty(CustomPropertyName = "Occlusion Sampler")]
    public SamplerState OcclusionSampler { get; set; }
    Property Value
    Type Description
    SamplerState

    OcclusionTexture

    Declaration
    [RenderProperty(CustomPropertyName = "Occlusion Texture", Tooltip = "Defines how much of the ambient light is accessible to a surface point. It is a per-pixel shadowing factor between 0.0 and 1.0.")]
    public Texture OcclusionTexture { get; set; }
    Property Value
    Type Description
    Texture

    ReferenceAlpha

    Declaration
    [RenderProperty(CustomPropertyName = "Reference Alpha", Tooltip = "Reference Alpha is a threshold alpha value.")]
    public float ReferenceAlpha { get; set; }
    Property Value
    Type Description
    float

    Reflectance

    Declaration
    [RenderProperty(CustomPropertyName = "Reflectance", Tooltip = "Fresnel reflectance at normal incidence for dielectric surfaces. This directly controls the strength of the reflections")]
    public float Reflectance { get; set; }
    Property Value
    Type Description
    float

    Roughness

    Declaration
    [RenderProperty(CustomPropertyName = "Roughness", Tooltip = "Perceived smoothness (0.0) or roughness (1.0) of a surface. Smooth surfaces exhibit sharp reflections")]
    public float Roughness { get; set; }
    Property Value
    Type Description
    float

    UVOffset0

    Declaration
    [RenderProperty(CustomPropertyName = "UV Offsets 0", Tooltip = "Texture coordinate offsets on UV channel 0.")]
    public Vector2 UVOffset0 { get; set; }
    Property Value
    Type Description
    Vector2

    VertexColorEnabled

    Declaration
    [RenderProperty(CustomPropertyName = "Vertex Color", Tooltip = "Enable vertex color.")]
    public bool VertexColorEnabled { get; set; }
    Property Value
    Type Description
    bool

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX