Click or drag to resize

IMeshPainterPaintFromWorldRays Method

Paint a point where the local ray intersects the mesh.

Namespace:  Demo3D.Visuals.MeshPainter
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 18.04.00
Syntax
C#
void PaintFromWorldRays(
	Ray[] worldRays,
	MeshPainterRayDesc rayDesc,
	Action<VertexHitDesc> onHitAction
)

Parameters

worldRays
Type: Demo3D.VisualsRay
The rays in local coordinates.
rayDesc
Type: Demo3D.Visuals.MeshPainterMeshPainterRayDesc
The description of the ray.
onHitAction
Type: SystemActionVertexHitDesc
The call back when a vertex is hit
See Also