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:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
vec4
- Coordinate Types: