en:toolworks:docs:apparatus:detail

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:toolworks:docs:apparatus:detail [2021/06/18 22:48] vladiusen:toolworks:docs:apparatus:detail [2022/01/05 13:59] (current) – поправил пункты jispar
Line 15: Line 15:
 In order to create a Detail visible in your C++ source code you have to do the following: In order to create a Detail visible in your C++ source code you have to do the following:
  
-- Open the main UE File menu and choose the "New C++ Class..." option: {{ :en:toolworks:docs:apparatus:ue-file-create-cpp-class.png?nolink |}}+  - Open the main UE File menu and choose the "New C++ Class..." option: {{ :en:toolworks:docs:apparatus:ue-file-create-cpp-class.png?nolink |}}
   - In the opened window mark the "Show All Classes" checkbox: {{ :en:toolworks:docs:apparatus:ue-add-show-all-cpp-classes.png?nolink |}}   - In the opened window mark the "Show All Classes" checkbox: {{ :en:toolworks:docs:apparatus:ue-add-show-all-cpp-classes.png?nolink |}}
   - Now you can select any of the base classes available including the Apparatus ones. Choose the Detail as a base class: {{ :en:toolworks:docs:apparatus:ue-create-cpp-detail.png?nolink |}}   - Now you can select any of the base classes available including the Apparatus ones. Choose the Detail as a base class: {{ :en:toolworks:docs:apparatus:ue-create-cpp-detail.png?nolink |}}
Line 35: Line 35:
  */  */
 UCLASS() UCLASS()
-class ME_API UMyDetail : public UDetail+class MY_API UMyDetail : public UDetail
 { {
  GENERATED_BODY()  GENERATED_BODY()
Line 48: Line 48:
  
 </code> </code>
-  - Now you can add some data fields to the class as usually in, right in the C++ header:<code cpp>+  - Now you can add some data fields to the class as usually, right in the C++ header:<code cpp>
 float X = 0; float X = 0;
 float Y = 0; float Y = 0;
  • en/toolworks/docs/apparatus/detail.1624045700.txt.gz
  • Last modified: 2021/06/18 22:48
  • by vladius