Expand description
Convenience methods for an ɴsɪ context.
Names of methods that create nodes are nouns. Methods than modify the node graph afterwards use verbs.
Where ergonomically advised, creation methods names carry postfixes
that specify the type of node being created, such as shader.
Functions§
- append
- Append node
handleto nodeto. - insert
- Insert node
handlein-betweentoandfrom. - look_
at_ bounding_ box_ perspective_ camera - Creates a transformation matrix that can be used to position a camera. Its view will contains the perspective-projected bounding box under the specified field-of-view and aspect ratio (with÷height).
- look_
at_ camera - Convenience method; not part of the official ɴsɪ API.
- node
- The same as
create()but with support for automatic handle generation. - rotation
- Create a translation transform node.
- scaling
- Create a scaling transform node.
- translation
- Create a translation transform node.