HologramOptions
Namespace Mc.Scripting · Kind class (sealed)
public sealed class HologramOptionsThe look of a hologram (the fields of the client’s text display; the defaults are vanilla’s).
Constructors
Section titled “Constructors”| Member | Description |
|---|---|
HologramOptions() |
Constructor
Section titled “Constructor”public HologramOptions()Properties
Section titled “Properties”| Member | Description |
|---|---|
HologramAlign Align { get; set; } |
The alignment of the lines. |
int Background { get; set; } |
The background colour, ARGB (0x40000000 is vanilla’s translucent black). |
HologramBillboard Billboard { get; set; } |
How the text turns towards the players. |
bool DefaultBackground { get; set; } |
Uses the client’s default background instead of HologramOptions.Background. |
int LineWidth { get; set; } |
The wrap width in pixels (1..1024). |
float Scale { get; set; } |
The uniform scale (0 .. |
bool SeeThrough { get; set; } |
The text shows through blocks. |
bool Shadow { get; set; } |
Draws a shadow under the text. |
float ShadowRadius { get; set; } |
The shadow radius (0..16). |
float ShadowStrength { get; set; } |
The shadow strength (0..1). |
int? TextOpacity { get; set; } |
The text opacity 0..255; null for the default. |
float ViewRange { get; set; } |
The view distance multiplier (0..64). |
public HologramAlign Align { get; set; }The alignment of the lines.
Background
Section titled “Background”public int Background { get; set; }The background colour, ARGB (0x40000000 is vanilla’s translucent black).
Billboard
Section titled “Billboard”public HologramBillboard Billboard { get; set; }How the text turns towards the players.
DefaultBackground
Section titled “DefaultBackground”public bool DefaultBackground { get; set; }Uses the client’s default background instead of HologramOptions.Background.
LineWidth
Section titled “LineWidth”public int LineWidth { get; set; }The wrap width in pixels (1..1024).
public float Scale { get; set; }The uniform scale (0 .. 64].
SeeThrough
Section titled “SeeThrough”public bool SeeThrough { get; set; }The text shows through blocks.
Shadow
Section titled “Shadow”public bool Shadow { get; set; }Draws a shadow under the text.
ShadowRadius
Section titled “ShadowRadius”public float ShadowRadius { get; set; }The shadow radius (0..16).
ShadowStrength
Section titled “ShadowStrength”public float ShadowStrength { get; set; }The shadow strength (0..1).
TextOpacity
Section titled “TextOpacity”public int? TextOpacity { get; set; }The text opacity 0..255; null for the default.
ViewRange
Section titled “ViewRange”public float ViewRange { get; set; }The view distance multiplier (0..64).