gma.backgroundMaker¶
Provides some functions to transform specification into background
Package
gma/utils/background
Methods¶
- process (manager, value) ->
gma.renderHelper
Dispatcher for determining how to treat background specifications
Parameters
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
value
specification
type
String
- process_skybox (manager, value, type) ->
gma.renderHelper
Processer for skybox
Parameters
manager
value
specification
type
String