Beamable SDK
All Classes Namespaces Functions Variables Properties Events
Public Member Functions | Public Attributes | List of all members
Beamable.UI.MSDF.MSDFPropertyCollection Class Reference
Collaboration diagram for Beamable.UI.MSDF.MSDFPropertyCollection:
Collaboration graph
[legend]

Public Member Functions

void ApplyProperties (Material material)
 
override int GetHashCode ()
 

Public Attributes

Color ForegroundColor = Color.white
 
Color StrokeColor = Color.black
 
float Threshold = .5f
 
float StrokeThreshold = .5f
 
float Softness = 0
 
float Erosion = 1
 
float StrokeErosion = 1
 
float RadiusAmount = 0
 
Color ForegroundGradientStart = Color.white
 
Color ForegroundGradientEnd = Color.black
 
float ForegroundGradientAmount = 0
 
float ForegroundGradientDegrees = 0
 
float ForegroundGradientOffset = 0
 
float ForegroundGradientScale = 1
 
Texture BackgroundTexture
 
float BackgroundLeftPosition = 0
 
float BackgroundRightPosition = 1
 
float BackgroundTopPosition = 1
 
float BackgroundBottomPosition = 0
 
bool BackgroundPreserveAspect = false
 
Vector2 BackgroundScale = Vector2.one
 
Vector2 BackgroundOffset = Vector2.zero
 
float DropShadowSoftness = 0
 
Vector2 DropShadowOffset = Vector2.one
 
Color DropShadowColor = Color.black
 
Vector2 VertexPadding = Vector2.zero
 
float BackgroundPreserveAspectFloat => BackgroundPreserveAspect ? 1 : 0
 
Vector4 BackgroundRect
 
Vector4 DropShadowData => new Vector4(DropShadowOffset.x, DropShadowOffset.y, DropShadowSoftness, 0)
 

Member Data Documentation

◆ BackgroundRect

Vector4 Beamable.UI.MSDF.MSDFPropertyCollection.BackgroundRect
Initial value:
=>
new Vector4(BackgroundLeftPosition, BackgroundBottomPosition, BackgroundRightPosition,
BackgroundTopPosition)

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