Capítulo 612 de 859

Chapter 612: TrefoilKnot

Core Idea

A Trefoil Knot.

Key Concepts

  • scale : number: The curve's scale.

Code Examples

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

Reference Tables

Constructor

Signature
new TrefoilKnot( 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. TrefoilKnot extends: Curve
  2. Most relevant properties: scale.
  3. Key methods: getPoint.

Connects To