Blockbench Reference Docs
    Preparing search index...
    Index

    Constructors

    Accessors

    Methods

    • Returns {
          end: any;
          end_ctrl: any;
          end_handle: any;
          start: any;
          start_ctrl: any;
          start_handle: any;
      }

    • Splits a curve in two distinct paths using De Casteljau's algorithm. The split happens at the corresponding T (time) on the initial curve.

      Parameters

      • time: any

        Point at which the split occurs (in % from 0 to 1)

      Returns {
          end: any;
          end_ctrl: any;
          middle: any;
          middle_ctrl1: any;
          middle_ctrl2: any;
          start: any;
          start_ctrl: any;
      }

      Adjusted and new points for our two new curves, as two Objects, one per curve.