This page has been translated automatically.
Видеоуроки
Interface
Essentials
Advanced
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Настройки и предпочтения
Работа с проектами
Настройка параметров узла
Setting Up Materials
Настройка свойств
Освещение
Landscape Tool
Sandworm
Использование инструментов редактора для конкретных задач
Extending Editor Functionality
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Эффекты
Декали
Источники света
Geodetics
World Objects
Звуковые объекты
Объекты поиска пути
Players
Программирование
Основы
Настройка среды разработки
Примеры использования
UnigineScript
C++
C#
Унифицированный язык шейдеров UUSL
File Formats
Rebuilding the Engine Tools
GUI
Двойная точность координат
API
Containers
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
Работа с контентом
Оптимизация контента
Материалы
Art Samples
Tutorials
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

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: 29.04.2021
Build: ()