Show / Hide Table of Contents

Class CompositeCollider2D

Inheritance
Object
Object
Component
Behaviour
Collider2D
CompositeCollider2D
Inherited Members
Collider2D.density
Collider2D.isTrigger
Collider2D.usedByEffector
Collider2D.usedByComposite
Collider2D.composite
Collider2D.offset
Collider2D.attachedRigidbody
Collider2D.shapeCount
Collider2D.bounds
Collider2D.sharedMaterial
Collider2D.friction
Collider2D.bounciness
Collider2D.IsTouching(Collider2D)
Collider2D.IsTouching(Collider2D, ContactFilter2D)
Collider2D.IsTouching(ContactFilter2D)
Collider2D.IsTouchingLayers()
Collider2D.IsTouchingLayers(Int32)
Collider2D.OverlapPoint(Vector2)
Collider2D.Distance(Collider2D)
Collider2D.OverlapCollider(ContactFilter2D, Collider2D[])
Collider2D.GetContacts(ContactPoint2D[])
Collider2D.GetContacts(ContactFilter2D, ContactPoint2D[])
Collider2D.GetContacts(Collider2D[])
Collider2D.GetContacts(ContactFilter2D, Collider2D[])
Collider2D.Cast(Vector2, RaycastHit2D[])
Collider2D.Cast(Vector2, RaycastHit2D[], Single)
Collider2D.Cast(Vector2, RaycastHit2D[], Single, Boolean)
Collider2D.Cast(Vector2, ContactFilter2D, RaycastHit2D[])
Collider2D.Cast(Vector2, ContactFilter2D, RaycastHit2D[], Single)
Collider2D.Cast(Vector2, ContactFilter2D, RaycastHit2D[], Single, Boolean)
Collider2D.Raycast(Vector2, RaycastHit2D[])
Collider2D.Raycast(Vector2, RaycastHit2D[], Single)
Collider2D.Raycast(Vector2, RaycastHit2D[], Single, Int32)
Collider2D.Raycast(Vector2, RaycastHit2D[], Single, Int32, Single)
Collider2D.Raycast(Vector2, RaycastHit2D[], Single, Int32, Single, Single)
Collider2D.Raycast(Vector2, ContactFilter2D, RaycastHit2D[])
Collider2D.Raycast(Vector2, ContactFilter2D, RaycastHit2D[], Single)
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.transform
Component.gameObject
Component.GetComponent(Type)
Component.GetComponent<T>()
Component.GetComponent(String)
Component.GetComponentInChildren(Type, Boolean)
Component.GetComponentInChildren(Type)
Component.GetComponentInChildren<T>(Boolean)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren(Type, Boolean)
Component.GetComponentsInChildren(Type)
Component.GetComponentsInChildren<T>(Boolean)
Component.GetComponentsInChildren<T>(Boolean, List<T>)
Component.GetComponentsInChildren<T>()
Component.GetComponentsInChildren<T>(List<T>)
Component.GetComponentInParent(Type)
Component.GetComponentInParent<T>()
Component.GetComponentsInParent(Type, Boolean)
Component.GetComponentsInParent(Type)
Component.GetComponentsInParent<T>(Boolean)
Component.GetComponentsInParent<T>(Boolean, List<T>)
Component.GetComponentsInParent<T>()
Component.GetComponents(Type)
Component.GetComponents(Type, List<Component>)
Component.GetComponents<T>(List<T>)
Component.tag
Component.GetComponents<T>()
Component.CompareTag(String)
Component.SendMessageUpwards(String, Object, SendMessageOptions)
Component.SendMessageUpwards(String, Object)
Component.SendMessageUpwards(String)
Component.SendMessageUpwards(String, SendMessageOptions)
Component.SendMessage(String, Object)
Component.SendMessage(String)
Component.SendMessage(String, Object, SendMessageOptions)
Component.SendMessage(String, SendMessageOptions)
Component.BroadcastMessage(String, Object, SendMessageOptions)
Component.BroadcastMessage(String, Object)
Component.BroadcastMessage(String)
Component.BroadcastMessage(String, SendMessageOptions)
Object.GetInstanceID()
Object.GetHashCode()
Object.Equals(Object)
Object.name
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate(Object, Transform, Boolean)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Instantiate<T>(T, Transform, Boolean)
Object.Destroy(Object, Single)
Object.Destroy(Object)
Object.DestroyImmediate(Object, Boolean)
Object.DestroyImmediate(Object)
Object.FindObjectsOfType(Type)
Object.DontDestroyOnLoad(Object)
Object.hideFlags
Object.DestroyObject(Object, Single)
Object.DestroyObject(Object)
Object.FindSceneObjectsOfType(Type)
Object.FindObjectsOfTypeIncludingAssets(Type)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.FindObjectsOfTypeAll(Type)
Object.FindObjectOfType(Type)
Object.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
[RequireComponent(typeof(Rigidbody2D))]
public sealed class CompositeCollider2D : Collider2D

Properties

edgeRadius

Declaration
public float edgeRadius { get; set; }
Property Value
Type Description
Single

generationType

Declaration
public CompositeCollider2D.GenerationType generationType { get; set; }
Property Value
Type Description
CompositeCollider2D.GenerationType

geometryType

Declaration
public CompositeCollider2D.GeometryType geometryType { get; set; }
Property Value
Type Description
CompositeCollider2D.GeometryType

pathCount

Declaration
public int pathCount { get; }
Property Value
Type Description
Int32

pointCount

Declaration
public int pointCount { get; }
Property Value
Type Description
Int32

vertexDistance

Declaration
public float vertexDistance { get; set; }
Property Value
Type Description
Single

Methods

GenerateGeometry()

Declaration
public void GenerateGeometry()
| Improve this Doc View Source

GetPath(Int32, Vector2[])

Declaration
public int GetPath(int index, Vector2[] points)
Parameters
Type Name Description
Int32 index
Vector2[] points
Returns
Type Description
Int32
| Improve this Doc View Source

GetPathPointCount(Int32)

Declaration
public int GetPathPointCount(int index)
Parameters
Type Name Description
Int32 index
Returns
Type Description
Int32

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX