Click or drag to resize

IMeshPainterPaintCircleFromWorldRay Method (Ray, MeshPainterCircleMultiRayDesc, ActionVertexHitDesc)

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: 17.00.05
Syntax
C#
void PaintCircleFromWorldRay(
	Ray worldRay,
	MeshPainterCircleMultiRayDesc desc,
	Action<VertexHitDesc> onIntersectAction
)

Parameters

worldRay
Type: Demo3D.VisualsRay
The ray at the center of the circle.
desc
Type: Demo3D.Visuals.MeshPainterMeshPainterCircleMultiRayDesc
The description of the multiray.
onIntersectAction
Type: SystemActionVertexHitDesc
The action to execute when an intersect occurs. The return value of the action will be the color to paint
See Also