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< MainTextureBussPropertyMainTextureSource
 
static readonly PropertyBinding< IFloatBussPropertyThreshold
 
static readonly PropertyBinding< ISpriteBussPropertySdfImage
 
static readonly PropertyBinding< SdfModeBussPropertySdfMode
 
static readonly PropertyBinding< ImageTypeBussPropertyImageType
 
static readonly PropertyBinding< FloatBussPropertyPixelsPerUnitMultiplier
 
static readonly PropertyBinding< NineSliceSourceBussPropertyNineSliceSource
 
static readonly PropertyBinding< IVertexColorBussPropertyBackgroundColor
 
static readonly PropertyBinding< IFloatFromFloatBussPropertyRoundCorners
 
static readonly PropertyBinding< ISpriteBussPropertyBackgroundImage
 
static readonly PropertyBinding< BackgroundModeBussPropertyBackgroundMode
 
static readonly PropertyBinding< BorderModeBussPropertyBorderMode
 
static readonly PropertyBinding< IFloatBussPropertyBorderWidth
 
static readonly PropertyBinding< IVertexColorBussPropertyBorderColor
 
static readonly PropertyBinding< IVector2BussPropertyShadowOffset
 
static readonly PropertyBinding< IFloatBussPropertyShadowThreshold
 
static readonly PropertyBinding< IVertexColorBussPropertyShadowColor
 
static readonly PropertyBinding< IFloatBussPropertyShadowSoftness
 
static readonly PropertyBinding< ShadowModeBussPropertyShadowMode
 
static readonly PropertyBinding< IFontBussPropertyFont
 
static readonly PropertyBinding< IFloatBussPropertyFontSize
 
static readonly PropertyBinding< IColorBussPropertyFontColor
 
static readonly PropertyBinding< TextAlignmentOptionsBussPropertyTextAlignment
 
static readonly PropertyBinding< IFloatBussPropertyTransitionDuration
 
static readonly PropertyBinding< EasingBussPropertyTransitionEasing
 

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: