M3D / M3D / Animation / PathPassingPoints
Class: PathPassingPoints
M3D.Animation.PathPassingPoints
Memberof
M3D.Animation
Description
路径通过点类
Author
YF
Table of contents
Constructors
Methods
Constructors
constructor
• new PathPassingPoints(): PathPassingPoints
Returns
Memberof
PathPassingPoints
Methods
addPoint
▸ addPoint(pos
): boolean
Parameters
Name | Type | Description |
---|---|---|
pos | Vector3 | 点位置 |
Returns
boolean
Description
添加点
Memberof
PathPassingPoints
clearData
▸ clearData(): void
Returns
void
Description
释放数据
Memberof
PathPassingPoints
getPointCount
▸ getPointCount(): number
Returns
number
Description
获取点数量
Memberof
PathPassingPoints
getPoints
▸ getPoints(): Object
Returns
Object
Description
获取点集合
Memberof
PathPassingPoints
release
▸ release(): void
Returns
void
Description
释放数据
Memberof
PathPassingPoints
processXMLData
▸ processXMLData(buffer
, outerProcess
): void
Parameters
Name | Type | Description |
---|---|---|
buffer | any | XML格式数据 |
outerProcess | AniPath | 父级节点对象 |
Returns
void
Description
解析数据
Static
Memberof
PathPassingPoints