DistorterSphere Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A Distorter that distorts points based on their distance and direction from the center of the sphere of size 2.
public ref class DistorterSphere : Microsoft::MixedReality::Toolkit::Physics::Distorter
[UnityEngine.AddComponentMenu("Scripts/MRTK/Core/DistorterSphere")]
public class DistorterSphere : Microsoft.MixedReality.Toolkit.Physics.Distorter
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Core/DistorterSphere")>]
type DistorterSphere = class
inherit Distorter
Public Class DistorterSphere
Inherits Distorter
- Inheritance
- Attributes
-
UnityEngine.AddComponentMenuAttribute
Constructors
DistorterSphere() |
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) |