![]() |
Paradox Game Engine
v1.0.0 beta06
|
Public Member Functions | |
void | Clear () |
Clear the reference, making it represent a null or empty object. More... | |
void | Refresh (object newObjectValue) |
Refresh this reference and its nested references. More... | |
bool | UpdateTarget (ModelContainer modelContainer) |
Updates the target node of this reference or its nested references from a ModelContainer. More... | |
Properties | |
object | ObjectValue [get] |
Gets the data object targeted by this reference, if available. More... | |
Type | Type [get] |
Gets the type of object targeted by this reference, if available. More... | |
object | Index [get] |
Gets the index of this reference in its parent collection. If the reference is not in a collection, this will return Reference.NotInCollection. More... | |
Definition at line 7 of file IReference.cs.
void SiliconStudio.Quantum.References.IReference.Clear | ( | ) |
Clear the reference, making it represent a null or empty object.
Implemented in SiliconStudio.Quantum.References.ReferenceEnumerable, and SiliconStudio.Quantum.References.ObjectReference.
void SiliconStudio.Quantum.References.IReference.Refresh | ( | object | newObjectValue | ) |
Refresh this reference and its nested references.
Implemented in SiliconStudio.Quantum.References.ReferenceEnumerable, and SiliconStudio.Quantum.References.ObjectReference.
bool SiliconStudio.Quantum.References.IReference.UpdateTarget | ( | ModelContainer | modelContainer | ) |
Updates the target node of this reference or its nested references from a ModelContainer.
modelContainer | A ModelContainer in which the corresponding model node may have been registered. |
true
if the model node was found in the ModelContainer and the target nodes has been updated, false
otherwise.Implemented in SiliconStudio.Quantum.References.ReferenceEnumerable, and SiliconStudio.Quantum.References.ObjectReference.
|
get |
Gets the index of this reference in its parent collection. If the reference is not in a collection, this will return Reference.NotInCollection.
Definition at line 22 of file IReference.cs.
|
get |
Gets the data object targeted by this reference, if available.
Definition at line 12 of file IReference.cs.
|
get |
Gets the type of object targeted by this reference, if available.
Definition at line 17 of file IReference.cs.