Distorter Class

Definition

C++
public ref class Distorter abstract : UnityEngine::MonoBehaviour, IComparable<Microsoft::MixedReality::Toolkit::Physics::Distorter ^>
Inheritance
UnityEngine.MonoBehaviour
Distorter
Derived
Implements

Constructors

Properties

Methods

CompareTo(Distorter)
DistortPoint(Vector3, Single)

Distorts a world-space point Automatically applies DistortStrength and ensures that strength never exceeds 1

DistortPointInternal(Vector3, Single)

Internal function where position distortion is done

DistortScale(Vector3, Single)

Distorts a world-space scale Automatically applies DistortStrength and ensures that strength never exceeds 1

DistortScaleInternal(Vector3, Single)

Internal function where scale distortion is done

OnDisable()
OnEnable()

Applies to

Product Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0