Points
A component for displaying points.
It accepts any geometry and <PointsMaterial>
as a material.
Example
Code
template
<Points>
<PointsMaterial color="blue" />
<SphereGeometry />
</Points>
Props
Prop name | Description | Type | Default |
---|---|---|---|
name | Name of the Points mesh. | string | "" |
position | A Vector3Like representing the object's local position. | Vector3Like | [0, 0, 0] |
rotation | A Vector3Like representing local rotation (see Euler angles), in radians. | Vector3Like | [0, 0, 0] |
scale | A Vector3Like representing the object's local scale. | Vector3Like | [1, 1, 1] |
Slots
Name | Description | Bindings |
---|---|---|
default |