| GameObjectSetValueT Method (GamePropertyMetadataT, T) |
Set the value of the property for the given metadata.
Namespace: DigitalRune.GameAssembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax public void SetValue<T>(
GamePropertyMetadata<T> propertyMetadata,
T value
)
Public Sub SetValue(Of T) (
propertyMetadata As GamePropertyMetadata(Of T),
value As T
)
public:
generic<typename T>
void SetValue(
GamePropertyMetadata<T>^ propertyMetadata,
T value
)
member SetValue :
propertyMetadata : GamePropertyMetadata<'T> *
value : 'T -> unit
Parameters
- propertyMetadata
- Type: DigitalRune.GameGamePropertyMetadataT
The metadata of the property. - value
- Type: T
The new value.
Type Parameters
- T
- The type of the property value.
Exceptions See Also