Capítulo 613 de 859

Chapter 613: TrefoilPolynomialKnot

Core Idea

A Trefoil Polynomial Knot.

Key Concepts

  • scale : number: The curve's scale.

Code Examples

import { TrefoilPolynomialKnot } from 'three/addons/curves/CurveExtras.js';
  • What it demonstrates: Typical usage of TrefoilPolynomialKnot.

Reference Tables

Constructor

Signature
new TrefoilPolynomialKnot( scale : number )

Properties

PropertyDescription
.scale : numberThe curve's scale.

Methods

MethodDescription
.getPoint( t : number, optionalTarget : Vector3 ) : Vector3This method returns a vector in 3D space for the given interpolation factor.

Key Takeaways

  1. TrefoilPolynomialKnot extends: Curve
  2. Most relevant properties: scale.
  3. Key methods: getPoint.

Connects To