Show frames
Go to:
Related nodes. Attributes.
This node defines light linking relationships between lights and objects.
Connecting a light to the "light" child of the "link" compound will cause
it to illuminate the object connected to the "object" child of the same
index of the "link" compound. For example, if you connect a light to
link[4].light and an object to link[4].object, then the light will
illuminate the object.
Similarly the "ignore" compound can be used to create ignore relationships
between lights and objects. For example, if you connect a light to
ignore[6].lightIgnored and an object to ignore[6].objectIgnored, then the
object will ignore illumination from the light.
Note that the entity used as a light may be a light shape, or a set
containing light shapes, or a set containing transforms which are above
light shapes in a hierarchy. An object may be an object shape (NURBS,
polygon, particle...), a set containing object shapes, or a set containing
transforms which are above object shapes in a hierarchy. Shading groups are
an example of set containing object shapes.
In all situations, a connection is made using the "message" attribute of
the light or object.
This node is MP safe
Node name | Parents | Classification | MFn type | Compatible function sets |
---|
lightLinker | node | auxiliary/light | kLightLink | kBase kNamedObject kDependencyNode kLightLink |
Related nodes
lightFog, envFog, lightList
Attributes (12)
ignore, light, lightIgnored, link, object, objectIgnored, shadowIgnore, shadowLight, shadowLightIgnored, shadowLink, shadowObject, shadowObjectIgnored
Long name (short name) | Type | Default | Flags |
---|
|
ignore
(ign )
| compound | n/a |      |
|
| lightIgnored
(lign )
| Message | n/a |    | |
|
| objectIgnored
(oign )
| Message | n/a |    | |
|
|
link
(lnk )
| compound | n/a |      |
|
|
|
|
shadowIgnore
(sign )
| compound | n/a |      |
|
| shadowLightIgnored
(slig )
| Message | n/a |    | |
|
| shadowObjectIgnored
(soig )
| Message | n/a |    | |
|
|
shadowLink
(slnk )
| compound | n/a |      |
|
| shadowLight
(sllk )
| Message | n/a |    | |
|
| shadowObject
(solk )
| Message | n/a |    | |
|