Represents a property of a GameObject
Namespace: DigitalRune.GameAssembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.0.0.0 (1.0.1.9459)
Syntax
| C# |
|---|
public struct GameProperty<T> : IGameProperty, INamedObject, IEquatable<GameProperty<T>> |
| Visual Basic |
|---|
Public Structure GameProperty(Of T) _ Implements IGameProperty, INamedObject, IEquatable(Of GameProperty(Of T)) |
| Visual C++ |
|---|
generic<typename T> public value class GameProperty : IGameProperty, INamedObject, IEquatable<GameProperty<T>> |
Type Parameters
- T
- The type of the property value.
Remarks
Animation: Game objects and their game object properties can be animated
using the DigitalRune Animation system. In order to animate a specific property
AsAnimatable()()()() needs to be called. This method returns an
IAnimatableProperty<(Of <(<'T>)>)> for the given property which can be passed to the
animation system.