Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:toolworks:docs:apparatus:mechanism [2021/09/01 14:17] – created vladius | en:toolworks:docs:apparatus:mechanism [2021/12/30 17:52] (current) – [C++ Workflow] vladius | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Mechanisms ====== | ====== Mechanisms ====== | ||
| - | Mechanisms are the main parts of the Machine which contain scoped Subject, Subjectives, | + | Mechanisms are the main parts of the Machine which contain scoped Subject, Subjectives, | 
| Each UE World, that has any Apparatus-specific entities is accompanied by a Mechanism automatically, | Each UE World, that has any Apparatus-specific entities is accompanied by a Mechanism automatically, | ||
| Line 11: | Line 11: | ||
| ===== C++ Workflow ===== | ===== C++ Workflow ===== | ||
| - | To obtain a Mechanism for a World one would do something  | + | To obtain a Mechanism for a World one would call [[appi> | 
| - | UMechanism* Mechanism = UMachine:: | + | AMechanism* Mechanism = UMachine:: | 
| </ | </ | ||
| Line 18: | Line 18: | ||
| FSubjectHandle Subject = Mechanism-> | FSubjectHandle Subject = Mechanism-> | ||
| </ | </ | ||
| + | |||
| + | Creating your separate (possibly transient) Mechanisms is also supported and can be handy. You instantiate the Mechanism like you would any other '' | ||
| + | AMechanism* Mechanism = NewObject< | ||
| + | </ | ||
| + | |||
| + | Please, see the corresponding [[appi> | ||
| + | |||