TryGetVertexColor

TryGetVertexColor(int, int, int, out Color)

public bool TryGetVertexColor(int x, int y, int index, out Color color) ;

Description

Gets the color of the vertex.

Parameters

Parameter Name Description
x The x coordinate(between 0 and 1).
y The y coordinate(between 0 and 1).
index Vertex Index.
color Obtained vertex color

Returns

Returns true if the vertex color can be obtained.