Description
class TorusKnot extends _Primitive
Constructor
new TorusKnot(id, scene, radius, tube, radialSegments, tubularSegments, p, q, canBeRegenerated, mesh, side)
Parameters
|
Name |
Type |
Description |
|
id |
string |
|
|
scene |
Scene |
|
|
radius |
number |
|
|
tube |
number |
|
|
radialSegments |
number |
|
|
tubularSegments |
number |
|
|
p |
number |
|
|
q |
number |
|
optional |
canBeRegenerated |
boolean |
|
optional |
mesh |
Nullable<Mesh> |
|
Members
radius : number
tube : number
radialSegments : number
tubularSegments : number
p : number
q : number
side : number
Methods
Parameters
|
Name |
Type |
Description |
|
id |
string |
|
serialize() → any
static Parse(parsedTorusKnot, scene) → Nullable<undefined>
Parameters
|
Name |
Type |
Description |
|
parsedTorusKnot |
any |
|
|
scene |
Scene |
|