CLASSES
TagsA - Z

LinesMesh

NodeMesh

Description

class LinesMesh extends Mesh

Constructor

new LinesMesh(name, scene, parent, source, doNotCloneChildren, useVertexColor)

Parameters

Name Type Description
name string
scene Scene
optional parent Node
optional source LinesMesh
optional doNotCloneChildren boolean

Members

useVertexColor : boolean

color : Color3

alpha : number

intersectionThreshold : number

The intersection Threshold is the margin applied when intersection a segment of the LinesMesh with a Ray.

This margin is expressed in world space coordinates, so its value may vary.

Default value is 0.1

@returns the intersection Threshold value.

The intersection Threshold is the margin applied when intersection a segment of the LinesMesh with a Ray.

This margin is expressed in world space coordinates, so its value may vary.

@param value the new threshold to apply

material : Material

checkCollisions : boolean

Methods

getClassName() string

Returns the string "LineMesh"

createInstance(name) InstancedMesh

Parameters

Name Type Description
name string

dispose(doNotRecurse) void

Parameters

Name Type Description
optional doNotRecurse boolean

clone(name, newParent, doNotCloneChildren) LinesMesh

Returns a new LineMesh object cloned from the current one.

Parameters

Name Type Description
name string
optional newParent Node
optional doNotCloneChildren boolean