This page has been translated automatically.
Видеоуроки
Интерфейс
Основы
Продвинутый уровень
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Профессиональный уровень (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор 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
Filesystem Functionality
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
Учебные материалы

Inherits from: AssetLink

The AssetLinkNode class is used in C# components (Component Class) to link node assets with the application logic.

See Also#

  • The video tutorial that illustrates the usage of the AssetLinkNode class.

AssetLinkNode Class

Members


Node Load ( ) #

Loads a node using the referenced asset, if it exists in the project. The content of the .node asset will be cached on the first loading, making the further loadings faster.

Return value

Node, if it exists in the project; otherwise, null.

Node Load ( Mat4 transform ) #

Loads and caches a node using the referenced asset, if it exists in the project, and applies the transformation matrix to it.

Arguments

  • Mat4 transform - Transformation matrix of the node.

Return value

Node, if it exists in the project; otherwise, null.

Node Load ( Vec3 position, quat rotation ) #

Loads and caches a node using the referenced asset, if it exists in the project, and applies the specified position and rotation to it.

Arguments

  • Vec3 position - Position of the node.
  • quat rotation - Rotation of the node.

Return value

Node, if it exists in the project; otherwise, null.
Last update: 30.11.2021
Build: ()