Click or drag to resize

IMeshPainterGetColorAtPosition Method

Get the color at the local position of the mesh.

Namespace:  Demo3D.Visuals.MeshPainter
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
Color GetColorAtPosition(
	Vector3 localPosition,
	Vector3 localNormal
)

Parameters

localPosition
Type: Microsoft.DirectXVector3
The local position.
localNormal
Type: Microsoft.DirectXVector3
The local normal at the local position.

Return Value

Type: Color
The color at the local position
See Also