MaterialCelShadingLightDefault Class
Namespace: Stride.Rendering.MaterialsAssembly: Stride.Rendering.dll
Default Cel Shading ramp function applied
System.Object →
MaterialCelShadingLightDefault
Derived from MaterialCelShadingLightDefault:
[DataContract("MaterialCelShadingLightDefault")]
[Display("Default", null)]
public class MaterialCelShadingLightDefault : IMaterialCelShadingLightFunction
Name | Description | |
---|---|---|
Properties | ||
IsBlackAndWhite | ||
Methods | ||
Equals(Object) | ||
Generate(MaterialGeneratorContext) | ||
GetHashCode() |
Properties
IsBlackAndWhite
[DataMember(5)]
[Display("Black and White", null)]
public bool IsBlackAndWhite { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Equals(Object)
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
Generate(MaterialGeneratorContext)
public ShaderSource Generate(MaterialGeneratorContext context)
Parameters
Type | Name | Description |
---|---|---|
MaterialGeneratorContext | context |
Returns
Type | Description |
---|---|
ShaderSource |
GetHashCode()
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()