DistorterBulge 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 bulge point.
public ref class DistorterBulge : Microsoft::MixedReality::Toolkit::Physics::Distorter
[UnityEngine.AddComponentMenu("Scripts/MRTK/Core/DistorterBulge")]
public class DistorterBulge : Microsoft.MixedReality.Toolkit.Physics.Distorter
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Core/DistorterBulge")>]
type DistorterBulge = class
inherit Distorter
Public Class DistorterBulge
Inherits Distorter
- Inheritance
- Attributes
-
UnityEngine.AddComponentMenuAttribute
Remarks
The characteristics of the distortion are also heavily controlled by the BulgeFalloff property, which should contain key frames that cover the [0, 1] time range.
Constructors
DistorterBulge() |
Properties
BulgeFalloff | |
BulgeLocalCenter | |
BulgeRadius | |
BulgeStrength | |
BulgeWorldCenter | |
DistortionEnabled | (Inherited from Distorter) |
DistortOrder | (Inherited from Distorter) |
DistortStrength | (Inherited from Distorter) |
ScaleDistort |
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) | |
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) |