Class HeaderAttribute
Inserts a header control with a custom text into the editor layout.
Inheritance
System.Object
HeaderAttribute
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class HeaderAttribute : Attribute
Constructors
HeaderAttribute()
HeaderAttribute(String, Int32, UInt32)
Initializes a new instance of the HeaderAttribute class.
Declaration
public HeaderAttribute(string text, int fontSize = -1, uint color = 0U)
Parameters
System.String
text
The header text. |
System.Int32
fontSize
The header text font size (-1 to use default which is 14). |
System.UInt32
color
The header color (as 32-bit uint, 0 to use default). |
Fields
Color
The custom header color (as 32-bit uint in RGB order, bottom bits contain Blue).
Declaration
public uint Color
Field Value
System.UInt32
|
FontSize
The custom header font size.
Declaration
public int FontSize
Field Value
System.Int32
|
Text
The header text.
Declaration
public string Text
Field Value
System.String
|
Extension Methods
See Also
System.Attribute