Class XURealization
Executes the behaviour of a relation on relationnal objects.
Inheritance
XURealization
Assembly: Xareus.Relations.Unity.dll
Syntax
public class XURealization
Properties
AssociatedTypes
All the types associated to this realization
Declaration
public Dictionary<TypeMatch, XUType> AssociatedTypes { get; }
Property Value
GuiToXuRealizationMap
Declaration
public static Dictionary<Guid, XURealization> GuiToXuRealizationMap { get; }
Property Value
IsBeingDestroyed
Is the realization in the process of being destroyed before the next frame
Declaration
public bool IsBeingDestroyed { get; }
Property Value
IsRunning
Is the Run() method of this realization called
Declaration
public bool IsRunning { get; }
Property Value
RealizationRoot
Declaration
public static Transform RealizationRoot { get; }
Property Value
RealizationToXuRealizationMap
Declaration
public static Dictionary<Realization, XURealization> RealizationToXuRealizationMap { get; }
Property Value
Relation
Declaration
public XURelation Relation { get; set; }
Property Value
XuRealizationToRealizationMap
Declaration
public static Dictionary<XURealization, Realization> XuRealizationToRealizationMap { get; }
Property Value
guidRealizationMap
Declaration
[Obsolete("Use GuiToXuRealizationMap instead.")]
public static Dictionary<Guid, XURealization> guidRealizationMap { get; }
Property Value
realizationUfRealizationMap
Declaration
[Obsolete("Use RealizationToXuRealizationMap instead.")]
public static Dictionary<Realization, XURealization> realizationUfRealizationMap { get; }
Property Value
ufRealizationRealizationMap
Declaration
[Obsolete("Use XuRealizationToRealizationMap instead.")]
public static Dictionary<XURealization, Realization> ufRealizationRealizationMap { get; }
Property Value
ufRelation
Declaration
[Obsolete("Use Relation instead.")]
public XURelation ufRelation { get; }
Property Value
Methods
Create(Realization)
Declaration
public static XURealization Create(Realization realization)
Parameters
Type |
Name |
Description |
Realization |
realization |
The #FIVE equivalent
|
Returns
Destroy()
Destroys this realization.
Declaration
public virtual void Destroy()
GetRealization(XURealization)
Declaration
public static Realization GetRealization(XURealization xuRealization)
Parameters
Returns
GetXuRealization(Guid)
Declaration
public static XURealization GetXuRealization(Guid id)
Parameters
Type |
Name |
Description |
Guid |
id |
|
Returns
GetXuRealization(Realization)
Declaration
public static XURealization GetXuRealization(Realization realization)
Parameters
Returns
IsRunnable()
Determines whether the behaviour of the relation is runnable.
Declaration
Returns
Type |
Description |
bool |
true whether the behaviour of the relation is runnable; false otherwise
|
Run(Action)
Runs the behaviour of the relation.
Declaration
public void Run(Action resultCallback)
Parameters
Type |
Name |
Description |
Action |
resultCallback |
Returns on completion.
|
TryGetRealization(XURealization, out Realization)
Declaration
public static void TryGetRealization(XURealization xuRealization, out Realization realization)
Parameters
TryGetXuRealization(Guid, out XURealization)
Declaration
public static void TryGetXuRealization(Guid id, out XURealization xuRealization)
Parameters
TryGetXuRealization(Realization, out XURealization)
Declaration
public static void TryGetXuRealization(Realization realization, out XURealization xuRealization)
Parameters