Click or drag to resize

IMeshPainterPaintCircleFromWorldRay Method (Ray, MultiRayMeshPainterCircleDesc, FuncColor, Color)

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: 15.0.2.11458
Syntax
C#
void PaintCircleFromWorldRay(
	Ray worldRay,
	MultiRayMeshPainterCircleDesc desc,
	Func<Color, Color> onPaintAction
)

Parameters

worldRay
Type: Demo3D.VisualsRay
The ray at the center of the circle.
desc
Type: MultiRayMeshPainterCircleDesc
The description of the multiray.
onPaintAction
Type: SystemFuncColor, Color
The action to execute when painting occurs. The return value of the action will be the color to paint
See Also