Optionalradius: numberOptionaltube: numberOptionalradialSegments: numberOptionaltubularSegments: numberOptionalp: numberOptionalq: numberOptionalsideOrientation: sideOrientationEnumOptionalenableShadows: booleanOverall radius of the knot, in scene units
Radius of the tube, in scene units
Number of segments along the length of the tube; more is smoother
Number of segments around the tube; more is rounder
How many times the tube winds around the axis of the ring; 2 with q 3 gives a trefoil
How many times the tube winds through the hole of the ring; 3 with p 2 gives a trefoil
Which side of each face is drawn: the front, the back or both; single-sided meshes are invisible from behind
When true, the mesh casts and receives shadows from the lights that have them enabled
Feeds
babylon.meshBuilder.createTorusKnot: the size of a knotted tube, its segment counts and the two winding numbers that shape the knot.