scalingrayinteractor - eisclimber/ExPresS-XR GitHub Wiki
Class in ExPresSXR.Rig
Inherits from UnityEngine.XR.Interaction.Toolkit.Interactors.XRRayInteractor
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| 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. |