StreamingQuality Struct
Namespace: Stride.StreamingAssembly: Stride.Rendering.dll
Resources streaming quality level value type.
public struct StreamingQuality
Name | Description | |
---|---|---|
Constructors | ||
StreamingQuality(Single) | Initializes a new instance of the StreamingQuality struct. |
|
Fields | ||
Maximum | The maximum quality value. |
|
Mininum | The mininum quality value. |
|
Value | The quality value in range: [0; 1]. |
|
Methods | ||
Normalize() | Normalizes this quality value to range [0;1]. |
|
Operators | ||
Implicit(StreamingQuality to Single) | Performs an implicit conversion from StreamingQuality to System.Single. |
|
Implicit(Single to StreamingQuality) | Performs an implicit conversion from System.Single to StreamingQuality. |
Constructors
StreamingQuality(Single)
Initializes a new instance of the StreamingQuality struct.
public StreamingQuality(float value)
Parameters
Type | Name | Description |
---|---|---|
System.Single | value | The quality value (range [0;1]). |
Fields
Maximum
The maximum quality value.
public static readonly StreamingQuality Maximum
Field Value
Type | Description |
---|---|
StreamingQuality |
Mininum
The mininum quality value.
public static readonly StreamingQuality Mininum
Field Value
Type | Description |
---|---|
StreamingQuality |
Value
The quality value in range: [0; 1].
public float Value
Field Value
Type | Description |
---|---|
System.Single |
Methods
Normalize()
Normalizes this quality value to range [0;1].
public void Normalize()
Operators
Implicit(StreamingQuality to Single)
Performs an implicit conversion from StreamingQuality to System.Single.
public static implicit operator float (StreamingQuality value)
Parameters
Type | Name | Description |
---|---|---|
StreamingQuality | value | The value. |
Returns
Type | Description |
---|---|
System.Single | The result of the conversion. |
Implicit(Single to StreamingQuality)
Performs an implicit conversion from System.Single to StreamingQuality.
public static implicit operator StreamingQuality(float value)
Parameters
Type | Name | Description |
---|---|---|
System.Single | value | The value. |
Returns
Type | Description |
---|---|
StreamingQuality | The result of the conversion. |