Tanoda
UnityEngine.UI.Extensions.SuperellipsePoints Class Reference
Inheritance diagram for UnityEngine.UI.Extensions.SuperellipsePoints:

Public Attributes

float xLimits = 1f
 
float yLimits = 1f
 
float superness = 4f
 
int levelOfDetail = 4
 
Material material
 

Detailed Description

The formula for a basic superellipse is Mathf.Pow(Mathf.Abs(x / a), n) + Mathf.Pow(Mathf.Abs(y / b), n) = 1

Definition at line 15 of file SuperellipsePoints.cs.

Member Data Documentation

◆ levelOfDetail

int UnityEngine.UI.Extensions.SuperellipsePoints.levelOfDetail = 4

Definition at line 28 of file SuperellipsePoints.cs.

◆ material

Material UnityEngine.UI.Extensions.SuperellipsePoints.material

Definition at line 33 of file SuperellipsePoints.cs.

◆ superness

float UnityEngine.UI.Extensions.SuperellipsePoints.superness = 4f

Definition at line 20 of file SuperellipsePoints.cs.

◆ xLimits

float UnityEngine.UI.Extensions.SuperellipsePoints.xLimits = 1f

Definition at line 17 of file SuperellipsePoints.cs.

◆ yLimits

float UnityEngine.UI.Extensions.SuperellipsePoints.yLimits = 1f

Definition at line 18 of file SuperellipsePoints.cs.


The documentation for this class was generated from the following file: