isLoop
Indicates a closed chain formed by connecting the first and last vertices specified. When enabled, no ghost vertices should be defined in the _vertices with all being used to define ChainSegmentGeometry with the ghost vertices being calculated automatically to force a closed loop. When disabled, the _vertices should define _ghost1 as the first vertex followed by at least two vertices or more defining the subsequent edges and finally a _ghost2 vertex, therefore there must be at least 4 vertices.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public bool isLoop { readonly get; set; }