The GameObject type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| GameObject()()()() |
Initializes a new instance of the GameObject class.
| |
| GameObject(String) |
Initializes a new instance of the GameObject class.
|
Methods
| Name | Description | |
|---|---|---|
| CreateEvent<(Of <<'(T>)>>) |
Defines a game object event.
| |
| CreateProperty<(Of <<'(T>)>>) |
Defines a game object property.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEventMetadata()()()() |
Gets the metadata of all game object events that were created with
CreateEvent<(Of <<'(T>)>>)(String, String, String, T).
| |
| GetEventMetadata<(Of <<'(T>)>>)(Int32) |
Gets the metadata of the event with the given ID.
| |
| GetEventMetadata<(Of <<'(T>)>>)(String) |
Gets metadata for the event with the given name.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetPropertyMetadata()()()() |
Gets the metadata of all game object properties that were created with
CreateProperty<(Of <<'(T>)>>)(String, String, String, T).
| |
| GetPropertyMetadata<(Of <<'(T>)>>)(Int32) |
Gets the metadata of the property with the given ID.
| |
| GetPropertyMetadata<(Of <<'(T>)>>)(String) |
Gets the metadata of the property with the given name.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetValue<(Of <<'(T>)>>)(Int32) |
Gets the value of the property with the given ID.
| |
| GetValue<(Of <<'(T>)>>)(String) |
Gets the value of the property with the given name.
| |
| GetValue<(Of <<'(T>)>>)(GamePropertyMetadata<(Of <<'(T>)>>)) |
Gets the value of the property with the given metadata.
| |
| Load |
Loads the content of the game object.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| NewFrame |
Tells the game object to prepare itself for the next time step.
| |
| OnLoad |
Called when the game object should load its content.
| |
| OnPropertyChanged(PropertyChangedEventArgs) |
Raises the PropertyChanged event.
| |
| OnPropertyChanged<(Of <<'(T>)>>)(GameProperty<(Of <<'(T>)>>), T, T) |
Is called after a game object property was changed.
| |
| OnTemplateChanged |
Raises the TemplateChanged event.
| |
| OnUnload |
Called when the game object should unload its content.
| |
| OnUpdate |
Called when the game object should be updated.
| |
| SetValue<(Of <<'(T>)>>)(Int32, T) |
Sets the value of the property with the given ID.
| |
| SetValue<(Of <<'(T>)>>)(String, T) |
Sets the value of the property with the given name.
| |
| SetValue<(Of <<'(T>)>>)(GamePropertyMetadata<(Of <<'(T>)>>), T) |
Set the value of the property for the given metadata.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Unload |
Unloads the content of the game object.
| |
| Update |
Updates this game object.
|
Properties
| Name | Description | |
|---|---|---|
| Events |
Gets the game object events.
| |
| IsLoaded |
Gets a value indicating whether the content of this object was loaded.
| |
| Name |
Gets or sets the name.
| |
| Properties |
Gets the game object properties.
| |
| Template |
Gets or sets the template.
|
Events
| Name | Description | |
|---|---|---|
| PropertyChanged |
Occurs when a property value has changed.
| |
| TemplateChanged |
Event raised after the Template has changed.
|
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| INotifyPropertyChanged..::..PropertyChanged |
Occurs when a property value has changed.
| |
| IAnimatableObject..::..GetAnimatableProperty<(Of <<'(T>)>>) |
Gets the property with given name and type which can be animated.
| |
| IAnimatableObject..::..GetAnimatedProperties |
Gets either the properties which are currently animated, or all properties which can be
animated. (See remarks.)
|