MeshBakerInteractibleManagerLink Public class
Description
Links the GRPLInteractableManager to the MeshBaker component. This script is used to bake the current mesh when the GRPLInteractableManager freezes an interaction check. It subscribes to events from the GRPLInteractableManager to pause and resume interactables, and to track interactables that are currently paused. The class also provides a default bake option for cases where the GRPLInteractableBakeSettings component is not found. When an interactible is paused, the script uses the bake option specified in the interactables GRPLInteractableBakeSettings component to bake the mesh using the MeshBaker component. When the interactible is resumed or left proximity, the baked mesh is destroyed.
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph Rhinox.XR.Grapple.It
Rhinox.XR.Grapple.It.MeshBakerInteractibleManagerLink[[MeshBakerInteractibleManagerLink]]
end
subgraph UnityEngine
UnityEngine.MonoBehaviour[[MonoBehaviour]]
end
UnityEngine.MonoBehaviour --> Rhinox.XR.Grapple.It.MeshBakerInteractibleManagerLink
Details
Summary
Links the GRPLInteractableManager to the MeshBaker component. This script is used to bake the current mesh when the GRPLInteractableManager freezes an interaction check. It subscribes to events from the GRPLInteractableManager to pause and resume interactables, and to track interactables that are currently paused. The class also provides a default bake option for cases where the GRPLInteractableBakeSettings component is not found. When an interactible is paused, the script uses the bake option specified in the interactables GRPLInteractableBakeSettings component to bake the mesh using the MeshBaker component. When the interactible is resumed or left proximity, the baked mesh is destroyed.
Inheritance
MonoBehaviour
Constructors
MeshBakerInteractibleManagerLink
public MeshBakerInteractibleManagerLink()
Generated with ModularDoc