public AssImpFileNode(Func <List <Mesh>, MeshesNode> meshesFactory, Func <List <Material>, MaterialsNode> materialsFactory, Func <List <EmbeddedTexture>, TexturesNode> texturesFactory, Func <Node, SceneNode> sceneNodeFactory, Func <List <Animation>, AnimationsNode> animationsNodeFactory, MaterialProvider materialProvider, SceneContext sceneContext) { _meshesFactory = meshesFactory; _materialsFactory = materialsFactory; _texturesFactory = texturesFactory; _sceneNodeFactory = sceneNodeFactory; _animationsNodeFactory = animationsNodeFactory; _materialProvider = materialProvider; _sceneContext = sceneContext; }
public MeshNode(Mesh mesh, ModelView modelView, MaterialProvider materialProvider) { _mesh = mesh; _modelView = modelView; _materialProvider = materialProvider; }