MaterialSpecularCelShadingModelFeature Class
Namespace: Stride.Rendering.Materials
Assembly: Stride.Rendering.dll
The Cel Shading specular shading model.
Derived from MaterialSpecularCelShadingModelFeature:
[DataContract("MaterialSpecularCelShadingModelFeature")]
[Display("Cel Shading", null)]
public class MaterialSpecularCelShadingModelFeature : MaterialSpecularMicrofacetModelFeature, IMaterialSpecularModelFeature, IMaterialShadingModelFeature, IMaterialFeature, IMaterialShaderGenerator, IEquatable<IMaterialShadingModelFeature>, IEquatable<MaterialSpecularMicrofacetModelFeature>, IEquatable<MaterialSpecularCelShadingModelFeature>
|
Improve this Doc
View Source
Properties
RampFunction
[DataMember(5)]
[Display("Ramp Function", null)]
public IMaterialCelShadingLightFunction RampFunction { get; set; }
Property Value
|
Improve this Doc
View Source
Methods
Equals(MaterialSpecularCelShadingModelFeature)
public bool Equals(MaterialSpecularCelShadingModelFeature other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
GenerateShader(MaterialGeneratorContext)
public override void GenerateShader(MaterialGeneratorContext context)
Parameters
Overrides
GenerateShaderCompositions(MaterialGeneratorContext, ShaderMixinSource)
protected override void GenerateShaderCompositions(MaterialGeneratorContext context, ShaderMixinSource shaderSource)
Parameters
Overrides
GetHashCode()
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
Extension Methods