ComputeValueBase<T> Class
Namespace: Stride.Rendering.Materials.ComputeColorsAssembly: Stride.Rendering.dll
Base class for a constant value for ComputeNode.
[DataContract(Inherited = true)]
public abstract class ComputeValueBase<T> : ComputeKeyedBase, IComputeNode
Type Parameters
| Name | Description |
|---|---|
| T |
| Name | Description | |
|---|---|---|
| Constructors | ||
| ComputeValueBase() | Initializes a new instance of the ComputeValueBase<T> class. |
|
| ComputeValueBase(T) | Initializes a new instance of the ComputeValueBase<T> class. |
|
| Properties | ||
| Value | The property to access the internal value |
|
Constructors
ComputeValueBase()
Initializes a new instance of the ComputeValueBase<T> class.
protected ComputeValueBase()
ComputeValueBase(T)
Initializes a new instance of the ComputeValueBase<T> class.
protected ComputeValueBase(T value)
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | The value. |
Properties
Value
The property to access the internal value
[DataMember(20)]
public T Value { get; set; }
Property Value
| Type | Description |
|---|---|
| T |