Bearbeiten

Freigeben über


DistorterBulge Class

Definition

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
UnityEngine.MonoBehaviour
DistorterBulge
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)

Applies to