ProtoFlux:Sample ColorX

From Resonite Wiki
Sample ColorX
*
OnSampleStart
Point
OnSampled
Direction
SampledColor
Reference
NearClip
FarClip
Rendering

The Sample ColorX node takes in the point and direction, along with the bounds of the a near and far clip to sample a color. This node will attempt to return a color that was found and sampled.

Inputs

* (Call)

Calls an impulse to begin sampling the color with the provided parameters.

Point (float3)

Where should this node start in 3D space when sampling the color.

Direction (float3)

Which direction should this node look when sampling the color.

Reference (Slot)

...

NearClip (float)

How close this node should check for sampling the color.

FarClip (float)

How far this node should check for sampling the color.

Outputs

OnSampleStart (AsyncCall)

Fires when the sampling has started.

OnSampled (Continuation)

Fires when the color has been sampled.

SampledColor (colorX)

Returns the sampled color.