Log inGet started
Package

scene.nodebox

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

scene.input (procNode)

The entity the graph stands on (a Generator's) as one point: scene.fetch on that entity. Its pose in the graph's space is the origin; in the world it is where the graph stands. With no entity under the graph, such as a graph cooked by proc.eval outside a Generator, there is no point.

Inputs

  • transform (Bool, default true): bring the entity's rotation as orient and its own scale as scale.
  • space (String, default "graph"): where the pose is read: "graph" is the graph's own space, so the point is at the origin; "world" is the scene's; "local" is the entity's offset from its own parent.
  • components (List<String>, default empty): components to bring, native or script, each as a point attribute named after it holding the component's record.

Outputs

  • points (Points): the one point, carrying what scene.fetch gives it.

Example

local here = g.scene.input({ space = "world", components = { "Name" } })