ComputeVertexStreamScalar Class
Namespace: Stride.Rendering.Materials.ComputeColorsAssembly: Stride.Rendering.dll
A compute scalar producing a scalar from a stream.
Derived from ComputeVertexStreamScalar:
[DataContract("ComputeVertexStreamScalar")]
[Display("Vertex Stream", null)]
public class ComputeVertexStreamScalar : ComputeVertexStreamBase, IComputeVertexStream, IComputeScalar, IComputeNode
| Name | Description | |
|---|---|---|
| Constructors | ||
| ComputeVertexStreamScalar() | Initializes a new instance of the ComputeVertexStreamScalar class. |
|
| Properties | ||
| Channel | Gets or sets the channel. |
|
| Methods | ||
| GetColorChannelAsString() | ||
Constructors
ComputeVertexStreamScalar()
Initializes a new instance of the ComputeVertexStreamScalar class.
public ComputeVertexStreamScalar()
Properties
Channel
Gets or sets the channel.
[DataMember(20)]
public ColorChannel Channel { get; set; }
Property Value
| Type | Description |
|---|---|
| ColorChannel | The channel. |
Methods
GetColorChannelAsString()
protected override string GetColorChannelAsString()
Returns
| Type | Description |
|---|---|
| System.String |