MarkingBuilder

Description

abstract class Tinman.Engine.Scenes.Shapes.MarkingBuilder

Derived from

Versioned abstract
IMarkingBuilder

Extended by

HelipadBuilder sealed
RoadBuilder sealed
RunwayBuilder sealed

Abstract base class for IMarkingBuilder implementations.

Subclasses must call the Versioned.VersionIncrement method when the internal state has changed, in order to trigger subsequent calls to ShapeForDefault, ShapeForPavement and ShapeForSpecial

Public / Constants

Marking​Type​Count


public constant MarkingTypeCount → (3:int32)

The number of marking types.

Marking​Type​First


public constant MarkingTypeFirst → (MarkingType.Pavement:MarkingType)

First marking type (inclusive).

Marking​Type​Last


public constant MarkingTypeLast → (MarkingType.Special:MarkingType)

Last marking type (inclusive).

Public / Methods

Color​For

2 overloads


public method ColorFor2 → (2)

type in : MarkingType

The marking type.

color in : int64

The color to use.

Sets the color for the given marking type.

Protected / Constructors

Marking​Builder


protected constructor MarkingBuilder → ()

Creates a new instance of MarkingBuilder.

Protected / Methods

Shape​For​Default


[EmptyBody]
protected virtual method ShapeForDefault → ()

returns → IShape

The shape or null.

Builds the MarkingType.Default shape.

An implementation must use the following properties when building a shape:

Shape​For​Pavement


[EmptyBody]
protected virtual method ShapeForPavement → ()

returns → IShape

The shape or null.

Builds the MarkingType.Pavement shape.

An implementation must use the following properties when building a shape:

Shape​For​Special


[EmptyBody]
protected virtual method ShapeForSpecial → ()

returns → IShape

The shape or null.

Builds the MarkingType.Special shape.

An implementation must use the following properties when building a shape: