Skip to content

API reference Obsidian.API.Client

EntityLayerAppearance record struct

How an EntityRenderLayer looks for an entity's synced metadata.

public readonly record struct EntityLayerAppearance : IEquatable<EntityLayerAppearance>

In Obsidian.API.Client.

Constructors

EntityLayerAppearance(string, int)

public EntityLayerAppearance(string Texture, int Tint = 16777215);

How an EntityRenderLayer looks for an entity's synced metadata.

Parameters

Texture
The texture, named like EntityRendererProperties.Texture.
Tint
The colour the texture is multiplied by, as 0xRRGGBB.

Properties

Texture

public string Texture { get; init; }

The texture, named like EntityRendererProperties.Texture.

Tint

public int Tint { get; init; }

The colour the texture is multiplied by, as 0xRRGGBB.

On this page