Sample Color (LogiX node)
The Sample Color outputs the visible color sampled in a line along the input
Direction vector from the input
Origin when an impulse is received at
The color is sampled after applying all effects of lighting, shadows, emissives, alpha blending of materials etc. along the sampling direction.
Reference input is the slot in whose local coordinate space the Origin and Direction vectors are interpreted. This is the root slot by default, meaning the global coordinate space is used.
NearClip input sets a lower bound on the distance at which objects will be included in the sampling. Anything closer to the input
Origin than the
NearClip value will be ignored.
FarClip input sets an upper bound on the distance at which objects will be included in the sampling. Anything further from the input
Origin than the
FarClip value will be ignored.
OnSampleStart output fires an impulse when the sampling operation begins. This is the impulse passthrough output for the
Sample input. Note that the
Color output will not yet have the sampled color value!
OnSampled output fires an impulse when the sampling operation completes. The sampled color will be available from the
Color output for the duration of the impulse chain stared by
OnSampled. Note that other transient values available during the impulse chain which arrives at
Sample and continues from
OnSampleStart may not be available during the impulse chain initiated from
|Back||Bake Reflection Probe||Bake Reflection Probes||Render To Texture Asset||Sample Color|