Class CompositeCollider2D
Inheritance
CompositeCollider2D
Assembly: UnityEngine.dll
Syntax
[RequireComponent(typeof(Rigidbody2D))]
public sealed class CompositeCollider2D : Collider2D
Properties
edgeRadius
Declaration
public float edgeRadius { get; set; }
Property Value
generationType
Declaration
public CompositeCollider2D.GenerationType generationType { get; set; }
Property Value
geometryType
Declaration
public CompositeCollider2D.GeometryType geometryType { get; set; }
Property Value
pathCount
Declaration
public int pathCount { get; }
Property Value
pointCount
Declaration
public int pointCount { get; }
Property Value
vertexDistance
Declaration
public float vertexDistance { get; set; }
Property Value
Methods
GenerateGeometry()
Declaration
public void GenerateGeometry()
|
Improve this Doc
View Source
GetPath(Int32, Vector2[])
Declaration
public int GetPath(int index, Vector2[] points)
Parameters
Returns
|
Improve this Doc
View Source
GetPathPointCount(Int32)
Declaration
public int GetPathPointCount(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Extension Methods