Click or drag to resize

ColliderExtensions Class

Extension methods for Unity's Collider class
Inheritance Hierarchy
SystemObject
  ImmerseSDK.ExtensionsColliderExtensions

Namespace:  ImmerseSDK.Extensions
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public static class ColliderExtensions

The ColliderExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetComponentFromColliderOrAnyParentT
Gets the named component from the collider's gameobject or any parent of the collider. Uses GetComponentInParentRecursive internally, so calling this many times per frame can have a performance impact.
Public methodStatic memberGetLocalControllerFromCollider
Gets the local controller associated with the given collider.
Top
See Also