ParameterKey<T> Class
Namespace: Stride.RenderingAssembly: Stride.dll
Key of an gereric effect parameter.
public abstract class ParameterKey<T> : ParameterKey, IComparable
Type Parameters
| Name | Description |
|---|---|
| T | Type of the parameter key. |
| Name | Description | |
|---|---|---|
| Constructors | ||
| ParameterKey(ParameterKeyType, String, Int32, PropertyKeyMetadata) | Initializes a new instance of the ParameterKey<T> class. |
|
| ParameterKey(ParameterKeyType, String, Int32, PropertyKeyMetadata[]) | Initializes a new instance of the ParameterKey<T> class. |
|
| Properties | ||
| DefaultValueMetadataT | ||
| IsValueType | ||
| Size | ||
| Methods | ||
| SetupMetadata(PropertyKeyMetadata) | ||
| ToString() | ||
Constructors
ParameterKey(ParameterKeyType, String, Int32, PropertyKeyMetadata)
Initializes a new instance of the ParameterKey<T> class.
protected ParameterKey(ParameterKeyType type, string name, int length, PropertyKeyMetadata metadata)
Parameters
| Type | Name | Description |
|---|---|---|
| ParameterKeyType | type | |
| System.String | name | The name. |
| System.Int32 | length | The length. |
| PropertyKeyMetadata | metadata | The metadata. |
ParameterKey(ParameterKeyType, String, Int32, PropertyKeyMetadata[])
Initializes a new instance of the ParameterKey<T> class.
protected ParameterKey(ParameterKeyType type, string name, int length = 1, params PropertyKeyMetadata[] metadatas)
Parameters
| Type | Name | Description |
|---|---|---|
| ParameterKeyType | type | |
| System.String | name | The name. |
| System.Int32 | length | The length. |
| PropertyKeyMetadata[] | metadatas | The metadatas. |
Properties
DefaultValueMetadataT
public ParameterKeyValueMetadata<T> DefaultValueMetadataT { get; }
Property Value
| Type | Description |
|---|---|
| ParameterKeyValueMetadata<T> |
IsValueType
public override bool IsValueType { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Overrides
Size
public override int Size { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Overrides
| Improve this Doc View SourceMethods
SetupMetadata(PropertyKeyMetadata)
protected override void SetupMetadata(PropertyKeyMetadata metadata)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyKeyMetadata | metadata |
Overrides
ToString()
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |