Beamable SDK
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | Properties | List of all members
Beamable.UI.Buss.BussStyle Class Reference
Inheritance diagram for Beamable.UI.Buss.BussStyle:
Inheritance graph
[legend]
Collaboration diagram for Beamable.UI.Buss.BussStyle:
Collaboration graph
[legend]

Classes

interface  IPropertyBinding
 
class  PropertyBinding
 

Public Member Functions

void Clear ()
 
BussStyle GetCombinedStyle ()
 
void SetPseudoStyle (string pseudoClass, bool enabled, bool withTransition=true)
 
void SetStyleAnimatedListener (Action listener)
 

Static Public Member Functions

static bool IsKeyValid (string key)
 
static Type GetBaseType (string key)
 
static IBussProperty GetDefaultValue (string key)
 

Static Public Attributes

static readonly PropertyBinding< MainTextureBussProperty > MainTextureSource
 
static readonly PropertyBinding< IFloatBussProperty > Threshold
 
static readonly PropertyBinding< ISpriteBussProperty > SdfImage
 
static readonly PropertyBinding< SdfModeBussProperty > SdfMode
 
static readonly PropertyBinding< ImageTypeBussProperty > ImageType
 
static readonly PropertyBinding< FloatBussProperty > PixelsPerUnitMultiplier
 
static readonly PropertyBinding< NineSliceSourceBussProperty > NineSliceSource
 
static readonly PropertyBinding< IVertexColorBussProperty > BackgroundColor
 
static readonly PropertyBinding< IFloatFromFloatBussProperty > RoundCorners
 
static readonly PropertyBinding< ISpriteBussProperty > BackgroundImage
 
static readonly PropertyBinding< BackgroundModeBussProperty > BackgroundMode
 
static readonly PropertyBinding< BorderModeBussProperty > BorderMode
 
static readonly PropertyBinding< IFloatBussProperty > BorderWidth
 
static readonly PropertyBinding< IVertexColorBussProperty > BorderColor
 
static readonly PropertyBinding< IVector2BussProperty > ShadowOffset
 
static readonly PropertyBinding< IFloatBussProperty > ShadowThreshold
 
static readonly PropertyBinding< IVertexColorBussProperty > ShadowColor
 
static readonly PropertyBinding< IFloatBussProperty > ShadowSoftness
 
static readonly PropertyBinding< ShadowModeBussProperty > ShadowMode
 
static readonly PropertyBinding< IFontBussProperty > Font
 
static readonly PropertyBinding< IFloatBussProperty > FontSize
 
static readonly PropertyBinding< IColorBussProperty > FontColor
 
static readonly PropertyBinding< TextAlignmentOptionsBussProperty > TextAlignment
 
static readonly PropertyBinding< IFloatBussProperty > TransitionDuration
 
static readonly PropertyBinding< EasingBussProperty > TransitionEasing
 

Protected Attributes

readonly Dictionary< string, IBussProperty > _properties = new Dictionary<string, IBussProperty>()
 

Properties

IBussProperty this[string key] [getset]
 
IBussProperty this[string pseudoClass, string key] [getset]
 
static IEnumerable< string > Keys [get]
 

Member Data Documentation

◆ BackgroundColor

readonly PropertyBinding<IVertexColorBussProperty> Beamable.UI.Buss.BussStyle.BackgroundColor
static
Initial value:
=
new PropertyBinding<IVertexColorBussProperty>("backgroundColor", new SingleColorBussProperty(Color.white))

◆ BackgroundImage

readonly PropertyBinding<ISpriteBussProperty> Beamable.UI.Buss.BussStyle.BackgroundImage
static
Initial value:
=
new PropertyBinding<ISpriteBussProperty>("backgroundImage", new SpriteBussProperty())

◆ BackgroundMode

readonly PropertyBinding<BackgroundModeBussProperty> Beamable.UI.Buss.BussStyle.BackgroundMode
static
Initial value:
=
new PropertyBinding<BackgroundModeBussProperty>("backgroundMode", new BackgroundModeBussProperty())

◆ BorderColor

readonly PropertyBinding<IVertexColorBussProperty> Beamable.UI.Buss.BussStyle.BorderColor
static
Initial value:
=
new PropertyBinding<IVertexColorBussProperty>("borderColor", new SingleColorBussProperty())

◆ BorderMode

readonly PropertyBinding<BorderModeBussProperty> Beamable.UI.Buss.BussStyle.BorderMode
static
Initial value:
=
new PropertyBinding<BorderModeBussProperty>("borderMode", new BorderModeBussProperty())

◆ BorderWidth

readonly PropertyBinding<IFloatBussProperty> Beamable.UI.Buss.BussStyle.BorderWidth
static
Initial value:
=
new PropertyBinding<IFloatBussProperty>("borderWidth", new FloatBussProperty())

◆ Font

readonly PropertyBinding<IFontBussProperty> Beamable.UI.Buss.BussStyle.Font
static
Initial value:
=
new PropertyBinding<IFontBussProperty>("font", new FontBussAssetProperty())

◆ FontColor

readonly PropertyBinding<IColorBussProperty> Beamable.UI.Buss.BussStyle.FontColor
static
Initial value:
=
new PropertyBinding<IColorBussProperty>("fontColor", new SingleColorBussProperty(Color.white))

◆ FontSize

readonly PropertyBinding<IFloatBussProperty> Beamable.UI.Buss.BussStyle.FontSize
static
Initial value:
=
new PropertyBinding<IFloatBussProperty>("fontSize", new FloatBussProperty(18f))

◆ ImageType

readonly PropertyBinding<ImageTypeBussProperty> Beamable.UI.Buss.BussStyle.ImageType
static
Initial value:
=
new PropertyBinding<ImageTypeBussProperty>("imageType", new ImageTypeBussProperty())

◆ MainTextureSource

readonly PropertyBinding<MainTextureBussProperty> Beamable.UI.Buss.BussStyle.MainTextureSource
static
Initial value:
=
new PropertyBinding<MainTextureBussProperty>("mainTexture", new MainTextureBussProperty(MainTextureBussProperty.Options.SdfSprite))

◆ NineSliceSource

readonly PropertyBinding<NineSliceSourceBussProperty> Beamable.UI.Buss.BussStyle.NineSliceSource
static
Initial value:
=
new PropertyBinding<NineSliceSourceBussProperty>("nineSliceSource", new NineSliceSourceBussProperty(Sdf.SdfImage.NineSliceSource.SdfFirst))

◆ PixelsPerUnitMultiplier

readonly PropertyBinding<FloatBussProperty> Beamable.UI.Buss.BussStyle.PixelsPerUnitMultiplier
static
Initial value:
=
new PropertyBinding<FloatBussProperty>("pixelsPerUnitMultiplier", new FloatBussProperty(1f))

◆ RoundCorners

readonly PropertyBinding<IFloatFromFloatBussProperty> Beamable.UI.Buss.BussStyle.RoundCorners
static
Initial value:
=
new PropertyBinding<IFloatFromFloatBussProperty>("roundCorners", new FloatBussProperty())

◆ SdfImage

readonly PropertyBinding<ISpriteBussProperty> Beamable.UI.Buss.BussStyle.SdfImage
static
Initial value:
=
new PropertyBinding<ISpriteBussProperty>("sdfImage", new SpriteBussProperty())

◆ SdfMode

readonly PropertyBinding<SdfModeBussProperty> Beamable.UI.Buss.BussStyle.SdfMode
static
Initial value:
=
new PropertyBinding<SdfModeBussProperty>("sdfMode", new SdfModeBussProperty())

◆ ShadowColor

readonly PropertyBinding<IVertexColorBussProperty> Beamable.UI.Buss.BussStyle.ShadowColor
static
Initial value:
=
new PropertyBinding<IVertexColorBussProperty>("shadowColor", new SingleColorBussProperty())

◆ ShadowMode

readonly PropertyBinding<ShadowModeBussProperty> Beamable.UI.Buss.BussStyle.ShadowMode
static
Initial value:
=
new PropertyBinding<ShadowModeBussProperty>("shadowMode", new ShadowModeBussProperty())

◆ ShadowOffset

readonly PropertyBinding<IVector2BussProperty> Beamable.UI.Buss.BussStyle.ShadowOffset
static
Initial value:
=
new PropertyBinding<IVector2BussProperty>("shadowOffset", new Vector2BussProperty())

◆ ShadowSoftness

readonly PropertyBinding<IFloatBussProperty> Beamable.UI.Buss.BussStyle.ShadowSoftness
static
Initial value:
=
new PropertyBinding<IFloatBussProperty>("shadowSoftness", new FloatBussProperty())

◆ ShadowThreshold

readonly PropertyBinding<IFloatBussProperty> Beamable.UI.Buss.BussStyle.ShadowThreshold
static
Initial value:
=
new PropertyBinding<IFloatBussProperty>("shadowThreshold", new FloatBussProperty())

◆ TextAlignment

readonly PropertyBinding<TextAlignmentOptionsBussProperty> Beamable.UI.Buss.BussStyle.TextAlignment
static
Initial value:
=
new PropertyBinding<TextAlignmentOptionsBussProperty>("textAlignment",
new TextAlignmentOptionsBussProperty(
TextAlignmentOptions.TopLeft))

◆ Threshold

readonly PropertyBinding<IFloatBussProperty> Beamable.UI.Buss.BussStyle.Threshold
static
Initial value:
=
new PropertyBinding<IFloatBussProperty>("threshold", new FloatBussProperty())

◆ TransitionDuration

readonly PropertyBinding<IFloatBussProperty> Beamable.UI.Buss.BussStyle.TransitionDuration
static
Initial value:
=
new PropertyBinding<IFloatBussProperty>("transitionDuration", new FloatBussProperty(0f))

◆ TransitionEasing

readonly PropertyBinding<EasingBussProperty> Beamable.UI.Buss.BussStyle.TransitionEasing
static
Initial value:
=
new PropertyBinding<EasingBussProperty>("transitionEasing", new EasingBussProperty(Easing.InOutQuad))

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