prismSdf
Keywords:
- column
- cylinder
- hexagon
- octagon
- prism
- square
- triangle
sdf
prismSdf
RayTK
v0.42
A prism shape, like a cylinder but with flat sides, along the z axis.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Prism Type | The number of sides of the prism. | Runtime | Semi-Baked |
| |||
Translate | Moves the center of the prism. | Runtime | Baked |
Radius | The radius of the prism. If the radius field input is connected, this is not used. | Runtime | Baked |
Height | The height / length of the prism. If the height field input, this is not used. | Runtime | Baked |
Axis | Runtime | Semi-Baked | |
| |||
Sides | Runtime | Baked | |
Rounding | Runtime | Baked | |
Infinite Height | Runtime | Semi-Baked | |
Hollow | Runtime | Semi-Baked | |
Thickness | Runtime | Baked | |
UV Mode | Semi-Baked | Semi-Baked | |
|
Inputs
-
Height field
: (optional) Float value field that controls the height of the prism.- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables:
axispos
normangle
- Coordinate Types:
-
Radius field
: (optional) Float value field that controls the radius of the prism.- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables:
axispos
normangle
normoffset
- Supports Variables From Inputs:
heightField
- Coordinate Types:
-
Thickness Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables:
axispos
normangle
normoffset
- Supports Variables From Inputs:
heightField
radiusField
- Coordinate Types:
-
Sides Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables:
axispos
normangle
normoffset
- Supports Variables From Inputs:
heightField
radiusField
thicknessField
- Coordinate Types:
-
Rounding Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables:
axispos
normangle
normoffset
- Supports Variables From Inputs:
heightField
radiusField
thicknessField
sidesField
- Coordinate Types:
Variables
-
Position Along Axis
: -
Normalized Axis Position (0..1)
: -
Normalized Angle (0..1)
: