| Name | Type | Default | Description |
|---|---|---|---|
position |
Vec3Obj |
位置坐标。 |
|
radius |
Number |
0.0
|
optional
转弯半径。 |
orientation |
Vec3Obj |
new Vec3Obj(0,0,0)
|
optional
朝向,暂不启用。 |
Members
orientation : Vec3Obj
朝向。
position : Vec3Obj
位置坐标。
转弯半径。
Methods
将WayPoint实例转换成json格式的字符串。
Returns:
json格式的字符串。
staticCooWasm.WayPoint.fromJson(str, result) → WayPoint
将json格式的字符串转换成WayPoint实例。
| Name | Type | Description |
|---|---|---|
str |
String |
json格式的字符串。 |
result |
WayPoint |
optional
如果未定义,将创建一个WayPoint新实例。 |
Returns:
WayPoint实例。