Point¶
Point represented by a sphere.
Example
import meshcat
import meshcat_shapes
vis = meshcat.Visualizer().open()
meshcat_shapes.point(
vis["red_point"],
opacity=0.3,
radius=0.05,
color=0xFF0000,
)
- meshcat_shapes.point.point(handle, radius=0.01, color=0, opacity=1.0)¶
Set MeshCat handle to a point, represented by a sphere.
- Parameters:
handle (
Visualizer
) – MeshCat handle to attach the frame to.radius (
float
) – Radius of the sphere, in [m].color (
int
) – Color of the sphere.opacity (
float
) – Opacity of all three unit vectors.
- Return type:
None