Click or drag to resize

IMeshPainterPaintFromWorldRay(Ray, MeshPainterRayDesc, ActionVertexHitDesc) Method

Paint a point where the local ray intersects the mesh.

Namespace: Demo3D.Visuals.MeshPainter
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
void PaintFromWorldRay(
	Ray worldRay,
	MeshPainterRayDesc rayDesc,
	Action<VertexHitDesc> onHitAction
)

Parameters

worldRay  Ray
The ray in local coordinates.
rayDesc  MeshPainterRayDesc
The description of the ray.
onHitAction  ActionVertexHitDesc
The call back when a vertex is hit
See Also