scale
Keywords:
- scale
- transform
filter
scale
RayTK
v0.42
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 | |
| |||
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 | |||
|
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
- Coordinate Types:
-
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
- Coordinate Types:
-
Pivot Field
: (optional)- Coordinate Types:
float
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
vec4
- Coordinate Types: