class LineMesh
LineMesh
(
width
, color
, name
)
|
Signature
constructor(width: Float, color: Int = Color.WHITE, name: String = "line_mesh") Parameters width: Floatcolor: Intname: StringReturns LineMesh |
LineMesh
(
material
, width
, name
)
|
Signature
constructor(material: SceneMaterial, width: Float, name: String = "line_mesh") Parameters Returns LineMesh |
clearPath
()
|
Signature
fun clearPath() |
create
(
scene
)
|
Signature
fun create(scene: Scene) Parameters scene: Scene |
destroy
()
|
Signature
fun destroy() |
setPath
(
points
)
|
Signature
fun setPath(points: List<Vector3>) Parameters points: List |
setPosition
(
position
)
|
Signature
fun setPosition(position: Vector3) Parameters position: Vector3 |
setVisible
(
visible
)
|
Signature
fun setVisible(visible: Boolean) Parameters visible: Boolean |
update
()
|
Signature
fun update() |