boxFrameSdf
Shortcuts:
- bfs
Keywords:
- box
- cube
- frame
- rectangle
- square
sdf
boxFrameSdf
RayTK
v0.42
SDF for the squared frame of the edges of a box.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Translate | Move the center of the shape. | Runtime | Baked |
Scale | The size of the box. | Runtime | Baked |
Thickness | The thickness of the bars of the box. | Runtime | Baked |
UV Mode | Semi-Baked | Semi-Baked | |
|
Inputs
-
Scale Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Coordinate Types:
-
Thickness Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
scaleField
- Coordinate Types: