API Docs for: MONO DESIGN
Show:

mono.PathCube Class

Defined in: mono.sdoc-zh.js:1221
Module: mono

PathCube对象

Constructor

mono.PathCube

(
  • path
  • width
  • height
  • curveSegements
  • repeat
)

Parameters:

  • path mono.Path

    Path对象

  • width Number

    宽度

  • height Number

    高度

  • curveSegements Number

    曲线的切片数

  • repeat Number

    重复次数

Item Index

Methods

clonePoints

(
  • points
)
Array

克隆点

Parameters:

  • points Array

Returns:

Array:

返回克隆后的点

getSideIndexMapping

() mono.PathCube.SideIndexMapping

获取PathCube.SideIndexMapping对象

Returns:

mono.PathCube.SideIndexMapping:

PathCube.SideIndexMapping对象