FBGeometryReferenceMode Class Reference

FBGeometryReferenceMode Class Reference

#include <mobu-python-api.h>

Class Description

Determine how the mapping information is stored in the array of coordinate.

  • kFBGeometryReference_DIRECT This indicates that the mapping information for the n'th element is found in the n'th place of DirectArray.
  • kFBGeometryReference_INDEX, This indicates that the mapping information for the n'th element is found in the n'th place of IndexArray.
  • kFBGeometryReference_INDEX_TO_DIRECT This indicates that the KLayerElementTemplate::mIndexArray contains, for the n'th element, an index in the KLayerElementTemplate::mDirectArray array of mapping elements. eINDEX_TO_DIRECT is usually useful to store coordinates for eBY_POLYGON_VERTEX mapping mode elements. Since the same coordinates are usually repeated a large number of times, it saves spaces to store the coordinate only one time and refer to them with an index. Materials and Textures are also referenced with this mode and the actual Material/Texture can be accessed via the KLayerElementTemplate::mDirectArray
+ Inheritance diagram for FBGeometryReferenceMode:

Public Attributes

object kFBGeometryReference_DIRECT
 
object kFBGeometryReference_INDEX
 
object kFBGeometryReference_INDEX_TO_DIRECT
 

Member Data Documentation

object kFBGeometryReference_DIRECT
object kFBGeometryReference_INDEX
object kFBGeometryReference_INDEX_TO_DIRECT