Beispiel #1
0
        /// <summary>
        /// Sets a custom file system implementation that is used by this importer. If it is null, then the default assimp file system
        /// is used instead.
        /// </summary>
        /// <param name="ioSystem">Custom file system implementation</param>
        public void SetIOSystem(IOSystem ioSystem)
        {
            if (ioSystem == null || ioSystem.IsDisposed)
            {
                ioSystem = null;
            }

            m_ioSystem = ioSystem;
        }
Beispiel #2
0
 /// <summary>
 /// Removes the currently set custom file system implementation from the importer.
 /// </summary>
 public void RemoveIOSystem()
 {
     m_ioSystem = null;
 }
Beispiel #3
0
 /// <summary>
 /// Removes the currently set custom file system implementation from the importer.
 /// </summary>
 public void RemoveIOSystem() {
     m_ioSystem = null;
 }
Beispiel #4
0
        /// <summary>
        /// Sets a custom file system implementation that is used by this importer. If it is null, then the default assimp file system
        /// is used instead.
        /// </summary>
        /// <param name="ioSystem">Custom file system implementation</param>
        public void SetIOSystem(IOSystem ioSystem) {
            if(ioSystem == null || ioSystem.IsDisposed)
                ioSystem = null;

            m_ioSystem = ioSystem;
        }