ComputeColorParameters Class
Namespace: Stride.Rendering.Materials.ComputeColors
Assembly: Stride.Rendering.dll
A custom dictionary to keep track of the order the elements were inserted.
System.Object →
ComputeColorParameters
Derived from ComputeColorParameters:
[DataSerializer(typeof(ComputeColorParameters.Serializer))]
[DataContract("ComputeColorParameters")]
public class ComputeColorParameters : IDictionary<string, IComputeColorParameter>, ICollection<KeyValuePair<string, IComputeColorParameter>>, IEnumerable<KeyValuePair<string, IComputeColorParameter>>, IEnumerable
|
Improve this Doc
View Source
Constructors
ComputeColorParameters()
public ComputeColorParameters()
|
Improve this Doc
View Source
Properties
Count
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
IsReadOnly
public bool IsReadOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
Item[String]
public IComputeColorParameter this[string key] { get; set; }
Parameters
Type |
Name |
Description |
System.String |
key |
|
Property Value
Keys
public ICollection<string> Keys { get; }
Property Value
Type |
Description |
System.Collections.Generic.ICollection<System.String> |
|
Values
public ICollection<IComputeColorParameter> Values { get; }
Property Value
|
Improve this Doc
View Source
Methods
Add(KeyValuePair<String, IComputeColorParameter>)
public void Add(KeyValuePair<string, IComputeColorParameter> item)
Parameters
Add(String, IComputeColorParameter)
public void Add(string key, IComputeColorParameter value)
Parameters
Clear()
Contains(KeyValuePair<String, IComputeColorParameter>)
public bool Contains(KeyValuePair<string, IComputeColorParameter> item)
Parameters
Returns
Type |
Description |
System.Boolean |
|
ContainsKey(String)
public bool ContainsKey(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
CopyTo(KeyValuePair<String, IComputeColorParameter>[], Int32)
public void CopyTo(KeyValuePair<string, IComputeColorParameter>[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<System.String, IComputeColorParameter>[] |
array |
|
System.Int32 |
arrayIndex |
|
GetEnumerator()
public IEnumerator<KeyValuePair<string, IComputeColorParameter>> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.String, IComputeColorParameter>> |
|
Remove(KeyValuePair<String, IComputeColorParameter>)
public bool Remove(KeyValuePair<string, IComputeColorParameter> item)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Remove(String)
public bool Remove(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
TryGetValue(String, out IComputeColorParameter)
public bool TryGetValue(string key, out IComputeColorParameter value)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Explicit Interface Implementations
IEnumerable.GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Extension Methods