scalingrayinteractor - eisclimber/ExPresS-XR GitHub Wiki

ScalingRayInteractor

Class in ExPresSXR.Rig

Inherits from UnityEngine.XR.Interaction.Toolkit.Interactors.XRRayInteractor

Summary

Allows ray interactions with XRInteractables whilst also allowing them to be scaled, if they were configured as a ExPresSXRInteractable.

Uses the RayInteractors anchorControl-Mode to de-/activate scaling or translation. The differentiation for anchorControl and scaling is handled via the anchorControlMode.

public class ScalingRayInteractor : XRRayInteractor

Properties

Name Description
AnchorControlMode Determines how the anchorControl/scaling InputActions (Joystick up/down) are handled.
ScaleSpeed How fast the scale is in-/decreased. Will be synchronized with deltaTime.
⚠️ **GitHub.com Fallback** ⚠️