Constructor
new FiberSkeleton(fiber, parametersopt)
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fiber |
FiberSource | Reference fiber. | |||||||||||||||||||||
parameters |
Object |
<optional> |
Optional parameters
Properties
|
Properties:
Name | Type | Description |
---|---|---|
line |
THREE.Line | The thread representing the path. Ready for scene .add. |
spheres |
THREE.Mesh | Big mesh containing all control-point marking spheres. Ready for scene .add. |
fiber |
FiberSource | Reference to source fiber object. |
color |
THREE.Color | Color of the thread. |
sphereSegments |
Number | Amount of segments (in each dimension) each controlpoint sphere will feature. |
lineSegments |
Number | Amount of segments the thread will feature. |
- Source:
Methods
(static) refresh()
Updates thread and spheres position from self properties. Must be fired when those change.
- Source: