Class DistorterSphere
A Distorter that distorts points based on their distance and direction from the
center of the sphere of size 2.
Inheritance
DistorterSphere
Assembly: cs.temp.dll.dll
public class DistorterSphere : Distorter, IComparable<Distorter>
Properties
Declaration
public Vector3 SphereCenter { get; set; }
Property Value
Methods
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
Overrides
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
Overrides
Implements