Class StandardMaterial
  
  
  
    Inheritance
    
    
    
    StandardMaterial
   
  
  
  Assembly: Evergine.Framework.dll
  Syntax
  
    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
  
  Properties
  
  Alpha
  
  
  Declaration
  
    [RenderProperty(Tooltip = "Specify alpha channel.")]
public float Alpha { get; set; }
   
  Property Value
  
  
  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
  
  
  BaseColor
  
  
  Declaration
  
    [RenderProperty(CustomPropertyName = "Base Color", Tooltip = "Base color.")]
public Color BaseColor { get; set; }
   
  Property Value
  
  
  BaseColorGamma
  
  
  Declaration
  
    public GammaColor BaseColorGamma { get; set; }
   
  Property Value
  
  
  BaseColorLinear
  
  
  Declaration
  
    public LinearColor BaseColorLinear { get; set; }
   
  Property Value
  
  
  BaseColorSampler
  
  
  Declaration
  
    [RenderProperty(CustomPropertyName = "Base Color Sampler")]
public SamplerState BaseColorSampler { get; set; }
   
  Property Value
  
  
  BaseColorTexture
  
  
  Declaration
  
    [RenderProperty(CustomPropertyName = "Base Color Texture", Tooltip = "Base color texture (Albedo).")]
public Texture BaseColorTexture { get; set; }
   
  Property Value
  
  
  ClearCoat
  
  
  Declaration
  
    [RenderProperty(CustomPropertyName = "ClearCoat", Tooltip = "Strength of the clear coat layer.")]
public float ClearCoat { get; set; }
   
  Property Value
  
  
  ClearCoatNormalSampler
  
  
  Declaration
  
    [RenderProperty(CustomPropertyName = "ClearCoat Normal Sampler")]
public SamplerState ClearCoatNormalSampler { get; set; }
   
  Property Value
  
  
  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
  
  
  ClearCoatRoughness
  
  
  Declaration
  
    [RenderProperty(CustomPropertyName = "ClearCoat Roughness", Tooltip = "Perceived smoothness or roughness of the clear coat layer.")]
public float ClearCoatRoughness { get; set; }
   
  Property Value
  
  
  EmissiveColor
  
  
  Declaration
  
    public Color EmissiveColor { get; set; }
   
  Property Value
  
  
  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
  
  
  EmissiveSampler
  
  
  Declaration
  
    [RenderProperty(CustomPropertyName = "Emissive Sampler")]
public SamplerState EmissiveSampler { get; set; }
   
  Property Value
  
  
  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
  
  
  IBLEnabled
  
  
  Declaration
  
    [RenderProperty(CustomPropertyName = "IBL enabled", Tooltip = "Enable ImageBasedLighting on this material.")]
public bool IBLEnabled { get; set; }
   
  Property Value
  
  
  LightingEnabled
  
  
  Declaration
  
    [RenderProperty(CustomPropertyName = "Lighting enabled", Tooltip = "Enable lighting on this material.")]
public bool LightingEnabled { get; set; }
   
  Property Value
  
  
  
  
  
  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
  
  
  
  
  
  Declaration
  
    [RenderProperty(CustomPropertyName = "MetalRoughness Sampler")]
public SamplerState MetallicRoughnessSampler { get; set; }
   
  Property Value
  
  
  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
  
  
  NormalSampler
  
  
  Declaration
  
    [RenderProperty(CustomPropertyName = "Normal Sampler")]
public SamplerState NormalSampler { get; set; }
   
  Property Value
  
  
  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
  
  
  OcclusionSampler
  
  
  Declaration
  
    [RenderProperty(CustomPropertyName = "Occlusion Sampler")]
public SamplerState OcclusionSampler { get; set; }
   
  Property Value
  
  
  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
  
  
  ReferenceAlpha
  
  
  Declaration
  
    [RenderProperty(CustomPropertyName = "Reference Alpha", Tooltip = "Reference Alpha is a threshold alpha value.")]
public float ReferenceAlpha { get; set; }
   
  Property Value
  
  
  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
  
  
  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
  
  
  UVOffset0
  
  
  Declaration
  
    [RenderProperty(CustomPropertyName = "UV Offsets 0", Tooltip = "Texture coordinate offsets on UV channel 0.")]
public Vector2 UVOffset0 { get; set; }
   
  Property Value
  
  
  VertexColorEnabled
  
  
  Declaration
  
    [RenderProperty(CustomPropertyName = "Vertex Color", Tooltip = "Enable vertex color.")]
public bool VertexColorEnabled { get; set; }
   
  Property Value
  
  Extension Methods