Click or drag to resize

SnappedColliderCombiner Class

Merges Meshes together when snapped
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDK.InteractionSnappedColliderCombiner

Namespace:  ImmerseSDK.Interaction
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
[UnityEngine.RequireComponent(typeof(TransformSync))]
[HelpURLAttribute("https://immerse.readme.io/")]
public class SnappedColliderCombiner : UnityEngine.MonoBehaviour

The SnappedColliderCombiner type exposes the following members.

Constructors
  NameDescription
Public methodSnappedColliderCombiner
Initializes a new instance of the SnappedColliderCombiner class
Top
Properties
  NameDescription
Public propertyIsCollidersEnabled
Is the component enabled?
Public propertyMaximumExtent
The maximum extent of the bounds of all the colliders combined
Top
Methods
  NameDescription
Public methodCalculateCombinedWorldBounds
Calculate the world bounds of all the objects that are snapped together
Public methodCollectAndDisableColliders
Collect a new list of tracked colliders, and disable them. This does not yet generate the copies since we expect them to move and will generate the copies later
Public methodCombineColliders
Generate copies of all the colliders we are tracking
Public methodEnableColliders
Show/Hide the copied colliders
Public methodReleaseCollider
Remove and deactivate a collider attached to a TransformSync and re-enable original collider
Public methodReleaseColliders
Clear and deactivate list of copied collders and re-enable original colliders we were tracking
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also