Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/parallax_render_source_group

The parent type for parallax render source groups, which govern which parallax render sources should be shown to a client in a given area or z-level. They also allow for the efficient manipulation of parallax render sources and layers within a specified z-level or area, permitting more granular control over the appearance of parallax render sources.

Vars

membersAll clients that currently have render sources from this groups displayed to their screen.
parallax_render_source_typesA list of default parallax layer render source types that should be instantiated on New().
parallax_render_source_types_and_sourcesAn associative list of parallax render source types and the instance of that type belonging to this render source group.
parallax_render_sourcesA list of parallax layer render sources to render to layers on a client's screen.

Procs

add_parallax_render_sourceCreates a new parallax layer render source of the specified type or types in the group, and for each client assigns a parallax layer to it.
recolour_parallax_render_sourcesApplies the provided colour matrix to all eligible parallax layer render sources in the group, and animates the transition.
remove_parallax_render_sourceRemoves the specifed parallax layer render source type or types from the group, and their associated parallax layers.
restore_parallax_render_sources_to_defaultRestores the group's parallax render sources to their default state.

Var Details

members

All clients that currently have render sources from this groups displayed to their screen.

parallax_render_source_types

A list of default parallax layer render source types that should be instantiated on New().

parallax_render_source_types_and_sources

An associative list of parallax render source types and the instance of that type belonging to this render source group.

parallax_render_sources

A list of parallax layer render sources to render to layers on a client's screen.

Proc Details

add_parallax_render_source

Creates a new parallax layer render source of the specified type or types in the group, and for each client assigns a parallax layer to it.

recolour_parallax_render_sources

Applies the provided colour matrix to all eligible parallax layer render sources in the group, and animates the transition.

remove_parallax_render_source

Removes the specifed parallax layer render source type or types from the group, and their associated parallax layers.

restore_parallax_render_sources_to_default

Restores the group's parallax render sources to their default state.