FMX.Mobile.LowLevel3D Sample

From RAD Studio Code Examples
Jump to: navigation, search

This sample illustrates basic usage of low level 3D objects in mobile applications, using FireMonkey.


You can find the FireMonkeyMobile LowLevel3D sample project at:


This application defines a new Material using two predefined bitmaps and a random color. The new material is used to render a rotating rectangular shape within the 3D context of the application form.

How to Use the Sample

  1. Navigate to the one of the locations given above, and open:
    • Delphi: LowLevel3D.dproj
    • C++: LowLevel3D.cbproj
  2. Press F9 or choose Run > Run.

Notice the animated rectangular shape with the customized material.


  • TForm1 represents the main window of the sample. It contains the following:
    • two TBitmapObject objects used to set the two bitmaps used to create the new material.
    • a TTimer used to create the animated rotation.
  • TMyMaterial class defines the new material.



See Also