Click or drag to resize

PolygonGridMapTPoint, TBasePointScale Method (IEnumerableIEnumerableVector2, Vector2)

Scales the vertices of a list of polygons (each represented as a list of vertices) compontwise with the factor.

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static IEnumerable<IEnumerable<Vector2>> Scale(
	IEnumerable<IEnumerable<Vector2>> polies,
	Vector2 factor
)

Parameters

polies
Type: System.Collections.GenericIEnumerableIEnumerableVector2
factor
Type: Vector2

Return Value

Type: IEnumerableIEnumerableVector2
See Also