文档

Unity Engine

Unity Engine

ShapeProxy

Create a shape proxy representing a single point.
阅读时间1 分钟最后更新于 1 个月前

Definition

ShapeProxy(Vector2)

Create a shape proxy representing a single point.
public ShapeProxy(Vector2 point)

Parameters

point

The point to represent.

ShapeProxy(CircleGeometry)

Create a shape proxy using the specified Circle.
public ShapeProxy(CircleGeometry circleGeometry)

Parameters

circleGeometry

The geometry to use.

ShapeProxy(CapsuleGeometry)

Create a shape proxy using the specified Capsule.
public ShapeProxy(CapsuleGeometry capsuleGeometry)

Parameters

capsuleGeometry

The geometry to use.

ShapeProxy(PolygonGeometry)

Create a shape proxy using the specified Polygon.
public ShapeProxy(PolygonGeometry polygonGeometry)

Parameters

polygonGeometry

The geometry to use.

ShapeProxy(SegmentGeometry)

Create a shape proxy using the specified Segment.
public ShapeProxy(SegmentGeometry segmentGeometry)

Parameters

segmentGeometry

The geometry to use.

ShapeProxy(ChainSegmentGeometry)

Create a shape proxy using the specified ChainSegment.
public ShapeProxy(ChainSegmentGeometry chainSegmentGeometry)

Parameters

chainSegmentGeometry

The geometry to use.