b3dCreateTorusKnot

Creates a torus knot mesh primitive (twisted mathematical knot shape). Takes textureSlots, uvMode, unique, p (number of times knot winds around major axis, clamped 1-16), q (number of times knot winds around minor axis, clamped 1-16), segments (path detail, clamped 8-256), sides (tube detail, clamped 3-32), majorRadius (knot overall size), minorRadius (tube thickness). Returns mesh entity handle or 0 on failure.

3D Graphics

Parameters & Returns

Parameters

textureSlots Int
uvMode Int
unique Int
p Int
q Int
segments Int
sides Int
majorRadius Double
minorRadius Double

Returns

Int

Quick Summary

Creates a torus knot mesh primitive (twisted mathematical knot shape). Takes textureSlots, uvMode, unique, p (number of times knot winds around major axis, clamped 1-16), q (number of times knot winds around minor axis, clamped 1-16), segments (path detail, clamped 8-256), sides (tube detail, clamped 3-32), majorRadius (knot overall size), minorRadius (tube thickness). Returns mesh entity handle or 0 on failure.

Technical Exegesis...

Creates a torus knot mesh primitive (twisted mathematical knot shape). Takes textureSlots, uvMode, unique, p (number of times knot winds around major axis, clamped 1-16), q (number of times knot winds around minor axis, clamped 1-16), segments (path detail, clamped 8-256), sides (tube detail, clamped 3-32), majorRadius (knot overall size), minorRadius (tube thickness). Returns mesh entity handle or 0 on failure.

Example

Example.bam
; No example implemented yet