Skip to content

HologramOptions

Namespace Mc.Scripting · Kind class (sealed)

public sealed class HologramOptions

The look of a hologram (the fields of the client’s text display; the defaults are vanilla’s).

Member Description
HologramOptions()
public HologramOptions()
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.

public int Background { get; set; }

The background colour, ARGB (0x40000000 is vanilla’s translucent black).

public HologramBillboard Billboard { get; set; }

How the text turns towards the players.

public bool DefaultBackground { get; set; }

Uses the client’s default background instead of HologramOptions.Background.

public int LineWidth { get; set; }

The wrap width in pixels (1..1024).

public float Scale { get; set; }

The uniform scale (0 .. 64].

public bool SeeThrough { get; set; }

The text shows through blocks.

public bool Shadow { get; set; }

Draws a shadow under the text.

public float ShadowRadius { get; set; }

The shadow radius (0..16).

public float ShadowStrength { get; set; }

The shadow strength (0..1).

public int? TextOpacity { get; set; }

The text opacity 0..255; null for the default.

public float ViewRange { get; set; }

The view distance multiplier (0..64).

HologramAlign · HologramBillboard