Documentation / Node reference / code nodes

code/Instance

Outputs the shaded point and normal moved by its instance.

Geometry

Outputs the position and normal of the vertex being shaded, rotated, scaled and moved by its instance. Unwired, instanceP and instanceQ read the instance's own position and rotation. It works in materials only.

Parameters

Name Type What it does
instanceP Vector3 Not read. Unwired, the instance's position is used.
instanceQ Vector4 Not read. Unwired, the instance's rotation is used.
scale Float Scale applied to the point.

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.