ShapeProxy
Create a shape proxy representing a single point.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Constructor
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
ShapeProxy(Vector2)
Create a shape proxy representing a single point.
public ShapeProxy(Vector2 point)
Parameters
The point to represent.
ShapeProxy(CircleGeometry)
Create a shape proxy using the specified Circle.
public ShapeProxy(CircleGeometry circleGeometry)
Parameters
The geometry to use.
ShapeProxy(CapsuleGeometry)
Create a shape proxy using the specified Capsule.
public ShapeProxy(CapsuleGeometry capsuleGeometry)
Parameters
The geometry to use.
ShapeProxy(PolygonGeometry)
Create a shape proxy using the specified Polygon.
public ShapeProxy(PolygonGeometry polygonGeometry)
Parameters
The geometry to use.
ShapeProxy(SegmentGeometry)
Create a shape proxy using the specified Segment.
public ShapeProxy(SegmentGeometry segmentGeometry)
Parameters
The geometry to use.
ShapeProxy(ChainSegmentGeometry)
Create a shape proxy using the specified ChainSegment.
public ShapeProxy(ChainSegmentGeometry chainSegmentGeometry)
Parameters
The geometry to use.