MeshUtilities.

PlanarMapXY(MeshBuilder, int, int, Rect, Rect) Method

Summary

Planar maps the UV values for a range of vertices into the `uvArea` based on their XY positions relative to `vertexArea`.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
MeshUtilities

Syntax

public static void PlanarMapXY(MeshBuilder builder, int start, int length, Rect vertexArea, Rect uvArea)

Parameters

Name Type Description
builder MeshBuilder
start int
length int
vertexArea Rect
uvArea Rect

Return Value

Type Description
void