Table of Contents

Class MaterialTransparencyBlendFeature

Namespace
Stride.Rendering.Materials
Assembly
Stride.Rendering.dll

A transparent blend material.

[DataContract("MaterialTransparencyBlendFeature")]
[Display("Blend", null)]
public class MaterialTransparencyBlendFeature : MaterialFeature, IMaterialTransparencyFeature, IMaterialFeature, IMaterialShaderGenerator
Inheritance
MaterialTransparencyBlendFeature
Implements
Inherited Members

Constructors

MaterialTransparencyBlendFeature()

Initializes a new instance of the MaterialTransparencyBlendFeature class.

public MaterialTransparencyBlendFeature()

Fields

ShadingColorAlphaFinalCallbackOrder

public const int ShadingColorAlphaFinalCallbackOrder = 0

Field Value

int

Properties

Alpha

Gets or sets the alpha.

[DataMember(10)]
[DataMemberRange(0, 1, 0.01, 0.1, 2)]
public IComputeScalar Alpha { get; set; }

Property Value

IComputeScalar

The alpha.

DitheredShadows

[DataMember(30)]
public bool DitheredShadows { get; set; }

Property Value

bool

Tint

Gets or sets the tint color.

[DataMember(20)]
public IComputeColor Tint { get; set; }

Property Value

IComputeColor

The tint.

Methods

GenerateShader(MaterialGeneratorContext)

Generates the shader for the feature.

public override void GenerateShader(MaterialGeneratorContext context)

Parameters

context MaterialGeneratorContext

The context.