FREE TRIAL

|

☀
☾

UIBlock3D.CornerRadius

CornerRadius

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

Remarks

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

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