vectorToFloat
convert
vectorToFloat
RayTK
v0.42
Converts a vector value field to a float field, e.g. using one part of the vector.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
Use Part | Which part of the vector to use for the float field. | Semi-Baked | Semi-Baked |
|
Inputs
-
definition_in
: (required)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
vec4
- Coordinate Types: