The M3G API consists of 30 classes. Many are dedicated to the creation of scene graph nodes and their attributes. This section describes some aspects of the API that are relevant to the example.
M3G is an optional J2ME package and, as such, applications should check
whether it is available in the device. The microedition.m3g.version
system
property will indicate the m3g implementation's version; otherwise, it will
indicate null.