summaryrefslogtreecommitdiff
path: root/libs/assimp/port/swig/interface/aiScene.i
diff options
context:
space:
mode:
Diffstat (limited to 'libs/assimp/port/swig/interface/aiScene.i')
-rw-r--r--libs/assimp/port/swig/interface/aiScene.i17
1 files changed, 17 insertions, 0 deletions
diff --git a/libs/assimp/port/swig/interface/aiScene.i b/libs/assimp/port/swig/interface/aiScene.i
new file mode 100644
index 0000000..7278f33
--- /dev/null
+++ b/libs/assimp/port/swig/interface/aiScene.i
@@ -0,0 +1,17 @@
+%{
+#include "aiScene.h"
+%}
+
+
+ASSIMP_ARRAY(aiScene, aiAnimation*, mAnimations, $self->mNumAnimations);
+ASSIMP_ARRAY(aiScene, aiCamera*, mCameras, $self->mNumCameras);
+ASSIMP_ARRAY(aiScene, aiLight*, mLights, $self->mNumLights);
+ASSIMP_ARRAY(aiScene, aiMaterial*, mMaterials, $self->mNumMaterials);
+ASSIMP_ARRAY(aiScene, aiMesh*, mMeshes, $self->mNumMeshes);
+ASSIMP_ARRAY(aiScene, aiTexture*, mTextures, $self->mNumTextures);
+
+ASSIMP_ARRAY(aiNode, aiNode*, mChildren, $self->mNumChildren);
+ASSIMP_ARRAY(aiNode, unsigned int, mMeshes, $self->mNumMeshes);
+
+
+%include "aiScene.h"