Helper object to assist with visualizing a [[PointLight]]'s position in the scene. This consists of a spherical wireframe mesh.
Attributes
- Example
-
val light = new PointLight(0xffffff, 1, 100) light.position.set(10, 10, 10) scene.add(light) val helper = new PointLightHelper(light, 1) scene.add(helper) - Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
Attributes
Updates the helper to match the position of the light being visualized.
Updates the helper to match the position of the light being visualized.
Attributes
Inherited methods
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
The type property of the helper.
The type property of the helper.
Attributes
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
Attributes
- Inherited from:
- Mesh
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