Skip to main content

Module types

Module types 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Structs§

ContactPoint
A single contact point between two bodies.
IsoMeshResult
Isosurface mesh extracted from a grid.
RayMarchResult
Result of a ray-march query.
SdfBend
Apply a bend deformation around the Y axis to an SDF.
SdfBoundedProxy
Physics collision proxy that first checks a bounding sphere, then the detailed SDF.
SdfBox
SDF for an axis-aligned box centred at the origin.
SdfCollisionResult
Result of an SDF collision query.
SdfCone
SDF for a finite cone with apex at origin pointing along +Y.
SdfDifference
SDF difference: A minus B.
SdfEllipsoid
SDF approximation for an axis-aligned ellipsoid with semi-axes radii.
SdfExtrude
Extrude a 2-D XZ-plane profile along the Y axis.
SdfGrid
A dense 3-D grid of SDF samples.
SdfGyroid
SDF approximation for the Schoen gyroid minimal surface.
SdfHexagonalPrism
SDF for a hexagonal prism aligned with the Y axis.
SdfIntersection
SDF intersection of two shapes.
SdfLineSegment
SDF for a line-segment tube: a capsule with flat ends (cylinder).
SdfNoiseDisplace
Displace an SDF surface with procedural value noise.
SdfOffset
Expand or contract a shape by a constant offset.
SdfPlane
SDF for an infinite plane defined by n·p = d where n is the unit normal.
SdfPyramid
SDF for a square-base pyramid with apex at (0, height, 0).
SdfRepeat
Infinite repetition of an SDF along all three axes.
SdfRevolution
Revolve a 2-D profile curve (given as a function of r and y) around the Y axis.
SdfRoundedCylinder
SDF for a rounded cylinder aligned with the Y axis.
SdfScale
Scale an SDF uniformly (preserves exact signed distance).
SdfShell
Hollow (shell) version of an SDF: the region between two offset surfaces.
SdfSmoothDifference
Smooth difference (subtract B from A) with polynomial blend.
SdfSmoothIntersection
Smooth intersection using polynomial blend.
SdfSmoothUnion
Smooth union using the polynomial C¹ blend of Quilez.
SdfSphere
SDF for a sphere of given radius centred at the origin.
SdfTorus
SDF for a torus in the XZ plane centred at the origin.
SdfTranslate
Translate an SDF by a constant offset.
SdfTriangularPrism
SDF for a triangular prism (equilateral cross-section) aligned with Y axis.
SdfTwist
Apply torsion (twist around Y axis) to an SDF.
SdfUnion
SDF union of two shapes.
Triangle
A triangle in 3-D space (three vertices).

Enums§

BoolOp
Boolean operation type for the SDF expression tree.
SdfNode
Dynamic SDF expression tree node.