|
Used for importing 3d data into a MiddleObject.
This is a base class, to be used for importers for various
3d formats.
|
Methods
|
|
GetSupportedFeatures
SetFeaturesWanted
Start
__init__
|
|
|
GetSupportedFeatures
|
GetSupportedFeatures ( self )
Returns the features that this importer supports.
|
|
|
SetFeaturesWanted
|
SetFeaturesWanted ( self, features )
Used to tell the importer what features the importer should
pass onto the middle object.
NOTE: this does not mean that the importer should not load all
of the 3d format. If it has to load it all so be it. Just pass
the features that are wanted.
|
|
|
Start
|
Start ( self )
Starts the importer doing its import thing.
|
Exceptions
|
|
"This importer is missing an implementation of Start()"
|
|
|
|
__init__
|
__init__ (
self,
supported_features,
wanted_features={},
)
supported_features - features which the
wanted_features - defaults to all features if not specified.
|
|