
prismSdf
Keywords:
- column
- cylinder
- hexagon
- octagon
- prism
- square
- triangle
sdf
prismSdf
RayTK
v0.36
A prism shape, like a cylinder but with flat sides, along the z axis.
Parameters
-
Prism Type
: The number of sides of the prism.-
Triangle
: -
Square
: -
Hexagon
: -
Octogon
: -
Custom
:
-
-
Translate
: Moves the center of the prism. -
Radius
: The radius of the prism. If the radius field input is connected, this is not used. -
Height
: The height / length of the prism. If the height field input, this is not used. -
Axis
:-
X
: -
Y
: -
Z
:
-
-
Sides
: -
Infinite Height
: -
Hollow
: -
Thickness
: -
UV Mode
:-
Cylindrical
: -
Corner-Aligned Cylindrical
: -
Faces
:
-
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
- Return Types:
float
- 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
- Return Types:
float
- Coordinate Types:
-
Thickness Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Sides Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
Variables
-
axispos
: -
normoffset
: -
normangle
: