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
Return value
Node, if it exists in the project; otherwise, null.Last update:
2021-12-13
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)