public SceneNode(Node node, Func <Node, SceneNode> sceneNodeFactory, SceneContext context, Func <Mesh, MeshNode> meshNodeFactory) { _node = node; _sceneNodeFactory = sceneNodeFactory; _context = context; _meshNodeFactory = meshNodeFactory; }
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 TextureProvider(TextureSearcher textureSearcher, ITextureLoader <TBitmap> loader, SceneContext sceneContext) { _textureSearcher = textureSearcher; _loader = loader; _sceneContext = sceneContext; }