Skip to main content Link Menu Expand (external link) Document Search Copy Copied

floatToVector

Converts one or more float value field inputs into a single vector value field.

Parameters

  • Enable:
  • Part Source X: Which source to use for the X part of the vector field.
    • Input 1:
    • Input 2:
    • Input 3:
    • Input 4:
    • Zero:
    • One:
  • Part Source Y:
    • Input 1:
    • Input 2:
    • Input 3:
    • Input 4:
    • Zero:
    • One:
  • Part Source Z:
    • Input 1:
    • Input 2:
    • Input 3:
    • Input 4:
    • Zero:
    • One:
  • Part Source W:
    • Input 1:
    • Input 2:
    • Input 3:
    • Input 4:
    • Zero:
    • One:
  • Context Type:
    • Auto:
    • Context:
    • MaterialContext:
    • CameraContext:
    • LightContext:
    • RayContext:

Inputs

  • definition_in_1: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • definition_in_2: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • definition_in_3: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • definition_in_4: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float