Click or drag to resize

IMeshPainterPaintCircleFromWorldRay(Ray, MeshPainterCircleMultiRayDesc, ActionVertexHitDesc) Method

Paint a circle using a series of rays. This will result in more accurate painting but will perform slower.

Namespace: Demo3D.Visuals.MeshPainter
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
void PaintCircleFromWorldRay(
	Ray worldRay,
	MeshPainterCircleMultiRayDesc desc,
	Action<VertexHitDesc> onIntersectAction
)

Parameters

worldRay  Ray
The ray at the center of the circle.
desc  MeshPainterCircleMultiRayDesc
The description of the multiray.
onIntersectAction  ActionVertexHitDesc
The action to execute when an intersect occurs. The return value of the action will be the color to paint
See Also