FREE TRIAL

|

☀
☾

UIBlock3D.EdgeRadius

EdgeRadius

The Length configuration used to calculate an edge radius, applies to all eight edges of the body's front and back faces (XY planes).

Remarks

EdgeRadius.Percent is relative to half the minimum dimension (X, Y, or Z) of CalculatedSize. Mathematically speaking:
float unclampedEdgeRadius = EdgeRadius.Percent * 0.5f * Mathf.Min(CalculatedSize.X.Value, CalculatedSize.Y.Value, CalculatedSize.Z.Value).

When rendering, EdgeRadius will not exceed the calculated value of CornerRadius. Mathematically speaking:
float calculatedEdgeRadius = Mathf.Min(unclampedEdgeRadius, calculatedCornerRadius).

Declaration
public ref Length EdgeRadius { get; }
☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC