TextureLayerContent

Description

struct Tinman.Engine.Scenes.Entities.TextureLayerContent

Specifies the immutable parameters of a texture layer content.

Public / Constants

None


public static readonly attribute None → (TextureLayerContent)

Specified an empty texture layer content.

Public / Constructors

For


[Pure]
public static method For → (3)

atlasId in : string

[not-empty]
See AtlasId.

contentCacheId opt : string = null

See ContentCacheId.

textureCacheId opt : string = null

See TextureCacheId.

returns → TextureLayerContent

The TextureLayerContent value.

Creates a new instance of TextureLayerContent.

Public / Attributes

Atlas​Id


public readonly attribute AtlasId → (string)

ID of the texture atlas to use for the texture layer content. If not null, must refer to one of the IDs that have been declared via SceneOptions.TextureAtlas.

Texture atlas IDs must be given at construction time and cannot be changed later.

Content​Cache​Id


public readonly attribute ContentCacheId → (string)

ID of the cache to use for content tiles of the texture layer content. If not null, must refer to one of the IDs that have been declared via SceneOptions.CacheId.

The content cache ID may be changed after construction via TextureLayer.CacheId2.

Is​None


public attribute IsNone → (get)

value : bool

true if equal to None,
false if not.

Is this TextureLayerContent value equal to None?

Texture​Cache​Id


public readonly attribute TextureCacheId → (string)

ID of the cache to use for texture tiles of the texture layer content. If not null, must refer to one of the IDs that have been declared via SceneOptions.CacheId.

The texture cache ID may be changed after construction via TextureLayer.CacheId2.