rB15186f4259a2e0611a64a3aed8db8858e8ca081f.. _bpy.types.ShaderNodeObjectInfo:

Object Info Node

Nó Object Info.

The Object Info node gives information about the object instance. This can be useful to give some variation to a single material assigned to multiple instances, either manually controlled through the object index, based on the object location, or randomized for each instance. For example a Noise texture can give random colors or a Color Ramp can give a range of colors to be randomly picked from.

Inputs

Este nó não possui conectores de entrada.

Properties

Este nó não possui propriedades.

Saídas

Localização

Localização do objeto no world space.

Color

Object color, same as Color in the Properties ‣ Object Properties ‣ Viewport Display.

Alfa

The Alpha Channel component of the object’s viewport display color (see the Color output for more details).

Índice de objeto

Object pass index, same as Pass Index in the Properties ‣ Object Properties ‣ Relations.

Material Index

Material pass index, same as Pass Index in the Properties ‣ Material ‣ Settings.

Random

Random number unique to a single object instance.

Nota

Note that this node only works for material shading nodes; it does nothing for light and world shading nodes.

Exemplo

../../../_images/render_shader-nodes_input_object-info_example.png
../../../_images/render_cycles_render-settings_motion-blur_example-cubes.jpg

Example blend-file.