scale

Keywords:
  • scale
  • transform

Scales space.

Scaling works for either 3D or 2D inputs.

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Scale

Scale to apply to each axis. If input is 2D only X and Y are used.

Runtime Baked
Scale Type Semi-Baked Semi-Baked
  • Separate XYZ:
  • Uniform:
Uniform Scale Runtime Baked
Use Pivot

Optionally pivot the rotation around a specific point instead of around the origin (0, 0, 0).

Runtime Semi-Baked
Pivot

The point around which to apply the rotation. For 2D coordinates, only the X and Y parts are used.

Runtime Baked
Apply To
  • Coordinates:
  • SDF UV:
  • SDF Secondary UV:
  • UV In Material:
  • Field Values:

Inputs

  • definition_in: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4 Sdf Volume Ray Light Particle
  • Scale Field: (optional) If provided, this field is used to modify the scaling at different points in space. If the field returns float values, the value of all the `Scale` parameters are multiplied by that value. If it returns vec4 values, each part of the `Scale` parameter is multiplied by the corresponding value in the vec4.
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float Sdf
  • Pivot Field: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: vec4