isoscelesTriangleSdf2d
sdf2d
isoscelesTriangleSdf2d
RayTK
v0.42
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Direction | Runtime | Baked | |
| |||
Position Mode | Runtime | Baked | |
| |||
Height | The distance from the base of an iscosceles triangle to the opposite tip. | Runtime | Baked |
Width | The width of the base of an isosceles triangle. | Runtime | Baked |
Inputs
-
Height Field
: (optional)- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Coordinate Types:
-
Width Field
: (optional)- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
heightField
- Coordinate Types: