Enum SocketScaleMode
Enum used to determine how the socket should scale the interactable.
Namespace: UnityEngine.XR.Interaction.Toolkit
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public enum SocketScaleMode
Fields
Name | Description |
---|---|
Fixed | The interactable will be scaled to a fixed size when attached to the socket. The actual size is defined by the fixedScale value. |
None | The interactable will not be scaled when attached to the socket. |
StretchedToFitSize | The interactable will be scaled to fit the size of the socket when attached. The scaling is dynamic, computed using the interactable's bounds, with a target size defined by targetBoundsSize. |