MaterialCelShadingLightRamp Class
Namespace: Stride.Rendering.MaterialsAssembly: Stride.Rendering.dll
Default Cel Shading ramp function applied
System.Object →
MaterialCelShadingLightRamp
Derived from MaterialCelShadingLightRamp:
[DataContract("MaterialCelShadingLightRamp")]
[Display("Ramp", null)]
public class MaterialCelShadingLightRamp : IMaterialCelShadingLightFunction
| Name | Description | |
|---|---|---|
| Properties | ||
| RampTexture | The texture Reference. |
|
| Methods | ||
| Equals(Object) | ||
| Generate(MaterialGeneratorContext) | ||
| GetHashCode() | ||
Properties
RampTexture
The texture Reference.
[DataMember(10)]
[Display("Ramp Texture", null)]
public Texture RampTexture { get; set; }
Property Value
| Type | Description |
|---|---|
| Texture |
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()