Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
1.0.0:custommesh [2023/03/23 13:59] – [Add a Skin-Animation] admin | 1.0.0:custommesh [2023/03/23 14:01] (current) – [Create FMX Components from Definition] admin | ||
---|---|---|---|
Line 522: | Line 522: | ||
=== Add a Skin-Animation === | === Add a Skin-Animation === | ||
- | To animate the armature | + | To animate the armature it's necessary to have compatible animation stages and interpolators. |
- | Related to our armature and bones before, the code could look something like this: | + | Related to our armature and bones (joints) |
<file pascal> | <file pascal> | ||
Line 609: | Line 609: | ||
=== Create FMX Components from Definition === | === Create FMX Components from Definition === | ||
+ | |||
+ | After we have build our TModelDef object, we can visualize it easily by pushing it into the **TGorillaModel.LoadNewModelFromDef()** method. | ||
+ | It will take care of all necessary actions and will automatically build all FMX components for you. | ||
<file pascal> | <file pascal> |