CLASSES
TagsA - Z

LinesMesh

NodeMesh

Description

class LinesMesh extends Mesh

The LinesMesh class

Constructor

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

Parameters

Name Type Description
name string @param name
scene Scene The scene where the LinesMesh is
optional parent Node
optional source LinesMesh

Members

color : Color3

The color of the lines Mesh

alpha : number

The alpha

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

The material of the Lines Mesh

checkCollisions : boolean

True if the mesh has collision, false otherwise

Methods

createInstance(name) → InstancedMesh

Parameters

Name Type Description
name string @param name

dispose(doNotRecurse) → void

Parameters

Name Type Description
optional doNotRecurse boolean @param doNotRecurse

clone(name, newParent, doNotCloneChildren) → LinesMesh

Parameters

Name Type Description
name string @param name
optional newParent Node
optional doNotCloneChildren boolean