c4d.plugins.SceneLoaderData
¶
A data class for creating scene loaders. Use
RegisterSceneLoaderPlugin()
to register the plugin.
Note
Before you start writing your own SceneLoaderData plugin, you should read NodeData Management before.
c4d.plugins.
SceneLoaderData
¶
c4d.plugins.NodeData
SceneLoaderData.
Identify
(
self
,
node
,
name
,
probe
,
size
)
¶
Override - Identify the file type as one that can be loaded using this plugin. If possible, the file should not be identified through the suffix, but through the probe data.
Parameters: |
|
---|---|
Return type: |
bool |
Returns: |
True if your plugin recognises this file. |
SceneLoaderData.
Load
(
self
,
node
,
name
,
doc
,
filterflags
,
error
,
bt
)
¶
Override - Load the file into the document.
Parameters: |
|
||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Return type: |
int |
||||||||||||||||||||||||||||
Returns: |
The return values:
|