geomUtils.Triangle 类型

模块: cc 父模块: cc

Triangle

索引

属性(properties)
  • a Vec3
  • b Vec3
  • c Vec3
方法
  • create create a new triangle
  • clone clone a new triangle
  • copy copy the values from one triangle to another
  • fromPoints Create a triangle from three points
  • set Set the components of a triangle to the given values

Details

属性(properties)

a
meta description
类型 Vec3
定义于 cocos2d/core/geom-utils/triangle.ts:133
b
meta description
类型 Vec3
定义于 cocos2d/core/geom-utils/triangle.ts:137
c
meta description
类型 Vec3
定义于 cocos2d/core/geom-utils/triangle.ts:141

方法

create

create a new triangle

meta description
返回 geomUtils.Triangle
定义于 cocos2d/core/geom-utils/triangle.ts:38
参数列表
clone

clone a new triangle

meta description
返回 geomUtils.Triangle
定义于 cocos2d/core/geom-utils/triangle.ts:56
参数列表
copy

copy the values from one triangle to another

meta description
返回 geomUtils.Triangle
定义于 cocos2d/core/geom-utils/triangle.ts:70
参数列表
fromPoints

Create a triangle from three points

meta description
返回 geomUtils.Triangle
定义于 cocos2d/core/geom-utils/triangle.ts:85
参数列表
set

Set the components of a triangle to the given values

meta description
返回 Plane
定义于 cocos2d/core/geom-utils/triangle.ts:101
参数列表

results matching ""

    No results matching ""