DistorterSphere Class

Definition

A Distorter that distorts points based on their distance and direction from the center of the sphere of size 2.

C++
public ref class DistorterSphere : Microsoft::MixedReality::Toolkit::Physics::Distorter
Inheritance
UnityEngine.MonoBehaviour
DistorterSphere
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

Properties

DistortionEnabled (Inherited from Distorter)
DistortOrder (Inherited from Distorter)
DistortStrength (Inherited from Distorter)
SphereCenter

Methods

CompareTo(Distorter) (Inherited from Distorter)
DistortPoint(Vector3, Single)

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

(Inherited from Distorter)
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

(Inherited from Distorter)
DistortScaleInternal(Vector3, Single)

Internal function where scale distortion is done

OnDisable() (Inherited from Distorter)
OnEnable() (Inherited from Distorter)

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