Show / Hide Table of Contents

    Class DistorterBulge

    A Distorter that distorts points based on their distance and direction from the center of the bulge point.

    Inheritance
    Object
    Distorter
    DistorterBulge
    Implements
    IComparable<Distorter>
    Inherited Members
    Distorter.DistortionEnabled
    Distorter.DistortStrength
    Distorter.DistortOrder
    Distorter.CompareTo(Distorter)
    Distorter.DistortPoint(Vector3, Single)
    Distorter.DistortScale(Vector3, Single)
    Distorter.OnEnable()
    Distorter.OnDisable()
    Namespace: Microsoft.MixedReality.Toolkit.Physics
    Assembly: cs.temp.dll.dll
    Syntax
    public class DistorterBulge : Distorter, IComparable<Distorter>
    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.

    Properties

    BulgeFalloff

    Declaration
    public AnimationCurve BulgeFalloff { get; set; }
    Property Value
    Type Description
    AnimationCurve

    BulgeLocalCenter

    Declaration
    public Vector3 BulgeLocalCenter { get; set; }
    Property Value
    Type Description
    Vector3

    BulgeRadius

    Declaration
    public float BulgeRadius { get; set; }
    Property Value
    Type Description
    Single

    BulgeStrength

    Declaration
    public float BulgeStrength { get; set; }
    Property Value
    Type Description
    Single

    BulgeWorldCenter

    Declaration
    public Vector3 BulgeWorldCenter { get; set; }
    Property Value
    Type Description
    Vector3

    ScaleDistort

    Declaration
    public float ScaleDistort { get; set; }
    Property Value
    Type Description
    Single

    Methods

    DistortPointInternal(Vector3, Single)

    Declaration
    protected override Vector3 DistortPointInternal(Vector3 point, float strength)
    Parameters
    Type Name Description
    Vector3 point
    Single strength
    Returns
    Type Description
    Vector3
    Overrides
    Distorter.DistortPointInternal(Vector3, Single)

    DistortScaleInternal(Vector3, Single)

    Declaration
    protected override Vector3 DistortScaleInternal(Vector3 point, float strength)
    Parameters
    Type Name Description
    Vector3 point
    Single strength
    Returns
    Type Description
    Vector3
    Overrides
    Distorter.DistortScaleInternal(Vector3, Single)

    Implements

    System.IComparable<T>
    Back to top Generated by DocFX