ScreenLabelPlacementEntry

Description

struct Tinman.Engine.Drawing.ScreenLabelPlacementEntry

Represents an entry for a IScreenLabel in a ScreenLabelPlacement object.

Public / Constants

None


public static readonly attribute None → (ScreenLabelPlacementEntry)

Represents an empty placement entry.

Public / Attributes

Bounds


public readonly attribute Bounds → (Box2I)

The screen bounds that have been passed to ScreenLabelPlacement.Add.

During rendering, Bounds will be passed to IScreenLabel.RenderScreenLabel.

Depth


public readonly attribute Depth → (float32)

The depth value that has been passed to ScreenLabelPlacement.Add.

During rendering, Depth will be to passed to Graphics.PushDepth.

Label


public readonly attribute Label → (IScreenLabel)

The screen label that has been passed to ScreenLabelPlacement.Add.

Offset


public readonly attribute Offset → (Vec2F)

The sub-pixel offset that has been passed to ScreenLabelPlacement.Add.

During rendering, Offset will be passed to Graphics.Offset.

Priority


public readonly attribute Priority → (int32)

The priority that has been passed to ScreenLabelPlacement.Add.