Click or drag to resize

MeshHelperGenerateQuad Method

Generates a new Mesh with four vertices.

Namespace:  Kit
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public static Mesh GenerateQuad(
	float size,
	Vector2 pivot
)
Request Example View Source

Parameters

size
Type: SystemSingle
Size of the mesh.
pivot
Type: Vector2
Center of the mesh.

Return Value

Type: Mesh
See Also