Class SkinMaterial
Assembly: Evergine.Framework.dll
Syntax
[MaterialDecorator("940bd66d-a00e-43ef-9321-a637338f3064")]
public class SkinMaterial : MaterialDecorator
Constructors
SkinMaterial(Effect)
Declaration
public SkinMaterial(Effect effect)
Parameters
Type |
Name |
Description |
Effect |
effect |
|
SkinMaterial(Material)
Declaration
public SkinMaterial(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
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
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
SSSBias
Declaration
[RenderProperty(CustomPropertyName = "SSS Bias", Tooltip = "The suf-surface scattering bias used for the transmitance effect, used for avoiding artifacts.")]
public float SSSBias { get; set; }
Property Value
SSSIntensity
Declaration
[RenderProperty(CustomPropertyName = "SSS Intensity", Tooltip = "Intensity of the suf-surface scattering effect. Value usally go from 0 to 1.")]
public float SSSIntensity { get; set; }
Property Value
SSSScatter
Declaration
[RenderProperty(CustomPropertyName = "SSS Scatter", Tooltip = "The thickness or width of the sub-surface scattering effect, expressed in size units.")]
public float SSSScatter { get; set; }
Property Value
SSSScatterTexture
Declaration
[RenderProperty(CustomPropertyName = "SSS Scatter Texture", Tooltip = "Texture that sets the thickness of the SSS effect around the surface.")]
public Texture SSSScatterTexture { get; set; }
Property Value
SSSTranslucencyColor
Declaration
[RenderProperty(CustomPropertyName = "SSS Trasnlucency Color", Tooltip = "The suf-surface translucency color used for transmitance effect.")]
public Color SSSTranslucencyColor { get; set; }
Property Value
SSSTranslucencyTexture
Declaration
public Texture SSSTranslucencyTexture { 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