Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Create(Vector2, Vector2)

Create a Segment.
Read time 1 minuteLast updated 12 days ago

Definition

public static SegmentGeometry Create(Vector2 point1, Vector2 point2)

Parameters

point1

The first local point.

point2

The second local point.

Returns

Type

Description

SegmentGeometryThe created geometry.