Class TTiledMap.TLayer

Unit

Declaration

type TLayer = class(TObject)

Description

Hierarchy

Enclosing Class

Overview

Fields

Public Name: string;
Public Opacity: Single;
Public Visible: Boolean;
Public OffsetX: Single;
Public OffsetY: Single;
Public Properties: TPropertyList;
Public Data: TData;
Public Color: TCastleColorRGB;
Public Width: Integer;
Public Height: Integer;

Methods

Public constructor Create;
Public destructor Destroy; override;
Public function Offset: TVector2;

Description

Fields

Public Name: string;

The name of the layer.

Public Opacity: Single;

The opacity of the layer as a value from 0 to 1. Defaults to 1.

Public Visible: Boolean;

Whether the layer is shown (1) or hidden (0). Defaults to 1.

Public OffsetX: Single;

Rendering offset for this layer in pixels. Defaults to 0. (since 0.14).

Public OffsetY: Single;

Rendering offset for this layer in pixels. Defaults to 0. (since 0.14).

Public Properties: TPropertyList;
 
Public Data: TData;
 
Public Color: TCastleColorRGB;

The color used to display the objects in this group.

Public Width: Integer;

The width of the object group in tiles. Meaningless.

Public Height: Integer;

The height of the object group in tiles. Meaningless.

Methods

Public constructor Create;
 
Public destructor Destroy; override;
 
Public function Offset: TVector2;

OffsetX and OffsetY packed in a vector.


Generated by PasDoc 0.16.0.