gma.backgroundMaker

Provides some functions to transform specification into background

Package gma/utils/background

Properties

z

The z co-ordinate given to all background items

Type Number

Methods

process (manager, value) -> gma.renderHelper

Dispatcher for determining how to treat background specifications

Parameters
manager gma.manager
value specification
sanitise (value, opts)

Function to ensure value.entity is a rectangle

Parameters
value specification
opts Options
process_other (manager, value, type) -> gma.renderHelper

Processer for specifications with no or unknown type

Parameters
manager gma.manager
value specification
type String
process_skybox (manager, value, type) -> gma.renderHelper

Processer for skybox

Parameters
manager gma.manager
value specification
type String
Fork me on GitHub