vectorToFloat
convert
vectorToFloat
RayTK
v0.36
Converts a vector value field to a float field using one part of the vector.
Parameters
-
Enable
: -
Use Part
: Which part of the vector to use for the float field.-
X / Red
: -
Y / Green
: -
Z / Blue
: -
W / Alpha
: -
Length(XY)
: -
Length(XYZ)
: -
Length(XYZW)
: -
Minimum(XY)
: -
Minimum(XYZ)
: -
Minimum(XYZW)
: -
Maximum(XY)
: -
Maximum(XYZ)
: -
Maximum(XYZW)
: -
Average(XY)
: -
Average(XYZ)
: -
Average(XYZW)
: -
Hue
: -
Saturation
: -
Value
: -
Luminance
: -
Sum(XY)
: -
Sum(XYZ)
: -
Sum(XYZW)
:
-
Inputs
-
definition_in
: (required)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
vec4
- Coordinate Types: