LineSegments2
A series of lines drawn between pairs of vertices.
This adds functionality beyond LineSegments, like arbitrary line width and changing width to be in world units. Line2 extends this object, forming a polyline instead of individual segments.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Computes an array of distance values which are necessary for rendering dashed lines. For each vertex in the geometry, the method calculates the cumulative length from the current point to the very beginning of the line.
Computes an array of distance values which are necessary for rendering dashed lines. For each vertex in the geometry, the method calculates the cumulative length from the current point to the very beginning of the line.
Attributes
- Returns
-
A reference to this instance.
Computes intersection points between a casted ray and this instance.
Computes intersection points between a casted ray and this instance.
Value parameters
- intersects
-
- The target array that holds the intersection points.
- raycaster
-
- The raycaster.
Attributes
Inherited methods
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Returns the local-space position of the vertex at the given index, taking into account the current animation state of both morph targets and skinning.
Returns the local-space position of the vertex at the given index, taking into account the current animation state of both morph targets and skinning.
Value parameters
- index
-
The vertex index
- target
-
The target object that is used to store the method's result
Attributes
- Returns
-
The vertex position in local space
- Inherited from:
- Mesh
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Sets the values of morphTargetDictionary and morphTargetInfluences to make sure existing morph targets can influence this 3D object.
Sets the values of morphTargetDictionary and morphTargetInfluences to make sure existing morph targets can influence this 3D object.
Attributes
- Inherited from:
- Mesh
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object3D
Concrete fields
This flag can be used for type testing.
This flag can be used for type testing.
Attributes
Inherited fields
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
This flag can be used for type testing.
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
A dictionary representing the morph targets in the geometry. The key is the morph targets name, the value its attribute index. This member is undefined by default and only set when morph targets are detected in the geometry.
A dictionary representing the morph targets in the geometry. The key is the morph targets name, the value its attribute index. This member is undefined by default and only set when morph targets are detected in the geometry.
Attributes
- Inherited from:
- Mesh
An array of weights typically in the range [0,1] that specify how much of the morph is applied. This member is undefined by default and only set when morph targets are detected in the geometry.
An array of weights typically in the range [0,1] that specify how much of the morph is applied. This member is undefined by default and only set when morph targets are detected in the geometry.
Attributes
- Inherited from:
- Mesh
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D