Class DistorterSphere
A Distorter that distorts points based on their distance and direction from the center of the sphere of size 2.
Implements
IComparable<Distorter>
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Physics
Assembly: cs.temp.dll.dll
Syntax
public class DistorterSphere : Distorter, IComparable<Distorter>
Properties
SphereCenter
Declaration
public Vector3 SphereCenter { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Methods
DistortPointInternal(Vector3, Single)
Internal function where position distortion is done
Declaration
protected override Vector3 DistortPointInternal(Vector3 point, float strength)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | point | |
Single | strength |
Returns
Type | Description |
---|---|
Vector3 |
Overrides
DistortScaleInternal(Vector3, Single)
Internal function where scale distortion is done
Declaration
protected override Vector3 DistortScaleInternal(Vector3 point, float strength)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | point | |
Single | strength |
Returns
Type | Description |
---|---|
Vector3 |
Overrides
Implements
IComparable<>