This page has been translated automatically.
Видеоуроки
Интерфейс
Основы
Продвинутый уровень
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Профессиональный уровень (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Режимы вывода изображения
Физика
Браузер SDK 2
Лицензирование и типы лицензий
Дополнения (Add-Ons)
Демонстрационные проекты
API Samples
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Контроль версий
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Эффекты
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Player-ноды
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UnigineScript
Унифицированный язык шейдеров UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Материалы и шейдеры
Rebuilding the Engine Tools
Интерфейс пользователя (GUI)
Двойная точность координат
API
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Работа с контентом
Оптимизация контента
Материалы
Визуальный редактор материалов
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Учебные материалы

Unigine::FileSystemMount Class

Header: #include <UnigineFileSystem.h>

This class represents a mount point that is used to extend the Engine's file system. Mount point is a sort of a symlink enabling you to extend the virtual file system of your project by adding any external folders and packages to the data directory.

FileSystemMount Class

Members


int getAccess ( ) #

Returns the current access mode of the mount point.

Return value

Mount point access mode, one of the ACCESS_* values.

const char * getName ( ) #

Returns the name of the mount point.

Return value

Mount point name.

const char * getDataPath ( ) #

Returns the absolute path to the mounted folder/package.

Return value

Absolute path to the mounted folder/package.

const char * getVirtualPath ( ) #

Returns the virtual path to the folder to which the contents of the external folder/package is mounted.

Return value

Virtual path to the folder to which the contents of the external folder/package is mounted.

const char * getUMountPath ( ) #

Returns the absolute path to the *.umount file.

Return value

Absolute path to the *.umount file.

void setExclusiveFilters ( Vector< String > & OUT_filters ) #

Sets the list of exclusive filters (whitelist) to be used for files as a list of wildcards.

Arguments

  • Vector< String > & OUT_filters - List of wildcards to be used to filter files in the mounted folder/package.
    Notice
    Maximum number of patterns that can be used is limited to 32.
    Notice
    This output buffer is to be filled by the Engine as a result of executing the method.

void getExclusiveFilters ( Vector< String > & OUT_filters ) #

Returns the list of exclusive filters (whitelist) used for files as a list of wildcards.

Arguments

  • Vector< String > & OUT_filters - List of wildcards currently used to filter files in the mounted folder/package.
    Notice
    Maximum number of patterns that can be used is limited to 32.
    Notice
    This output buffer is to be filled by the Engine as a result of executing the method.

void setIgnoreFilters ( Vector< String > & OUT_filters ) #

Sets the list of ignore filters (blacklist) to be used for files as a list of wildcards.

Arguments

  • Vector< String > & OUT_filters - List of wildcards to be used to filter out files to be ignored in the mounted folder/package.
    Notice
    Maximum number of patterns that can be used is limited to 32.
    Notice
    This output buffer is to be filled by the Engine as a result of executing the method.

void getIgnoreFilters ( Vector< String > & OUT_filters ) #

Returns the list of ignore filters (blacklist) used for files as a list of wildcards.

Arguments

  • Vector< String > & OUT_filters - List of wildcards currently used to filter out files to be ignored in the mounted folder/package.
    Notice
    Maximum number of patterns that can be used is limited to 32.
    Notice
    This output buffer is to be filled by the Engine as a result of executing the method.

void getVirtualFiles ( Vector< String > & OUT_files ) #

Returns the list of virtual paths to all files in the mounted folder/package.
Notice
Contents of nested mount points inside the mounted folder will not be included in the list.

Arguments

  • Vector< String > & OUT_files - Output vector to store the list of files stored in the mounted folder/package.
    Notice
    This output buffer is to be filled by the Engine as a result of executing the method.

bool isPathFilteredOut ( const char * path ) #

Returns a value indicating whether the specified path is filtered out by the exclusive and ignore filters.

Arguments

  • const char * path - Any file path.

Return value

true if the specified path is filtered out after applying exclusive and ignore filters if any; otherwise, false.
Last update: 10.07.2020
Build: ()