Crate nsi_toolbelt

Crate nsi_toolbelt 

Source
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 handle to node to.
insert
Insert node handle in-between to and from.
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.