axisRotate
filter
axisRotate
RayTK
v0.42
A simplified and optimized version of rotate
, which only supports rotating around a single axis (x, y, or z).
In many cases this will be more efficient than rotate
.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
Axis | Runtime | Semi-Baked | |
| |||
Rotate | Runtime | Baked | |
Apply To | |||
|
Inputs
-
definition_in
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
Sdf
Volume
Ray
Light
Particle
- Supports Variables From Inputs:
rotateField
- Coordinate Types:
-
Rotate Field
: (optional) Field providing the amount of rotation, in degrees.- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Coordinate Types: