Struct CompositeIcon
A structure defining an icon in Socially Distant.
Inherited Members
Namespace: SociallyDistant.Core.Shell.Common
Assembly: SociallyDistant.Framework.dll
Syntax
public struct CompositeIconFields
IconColor
The icon's color.
Declaration
public Color? IconColorField Value
| Type | Description | 
|---|---|
| Color? | 
SpriteIcon
A texture that should be used as an image icon.
Declaration
public Texture2D? SpriteIconField Value
| Type | Description | 
|---|---|
| Texture2D | 
TextIcon
Value representing a Unicode text icon.
Declaration
public string TextIconField Value
| Type | Description | 
|---|---|
| string | 
Operators
implicit operator CompositeIcon(string)
Implicit conversion from strings to CompositeIcon, for convenience.
Declaration
public static implicit operator CompositeIcon(string unicodeTextIcon)Parameters
| Type | Name | Description | 
|---|---|---|
| string | unicodeTextIcon | Any valid Unicode icon recognized by the game. | 
Returns
| Type | Description | 
|---|---|
| CompositeIcon | A CompositeIcon value representing the icon. |