API Referenceatlasatlas/graphics
Cubemap
Cube texture assembled from face resources, with helpers for updating face colors.
Module: atlas/graphics
Cube texture assembled from face resources, with helpers for updating face colors.
Declaration
export class Cubemap { ... }Constructors
constructor(resources: Resource[]);Properties
resources
resources: Resource[];id
id: number;Methods
getAverageColor
getAverageColor(): Color;fromResourceGroup
static fromResourceGroup(resourceGroup: ResourceGroup): Cubemap | null;updateWithColors
updateWithColors(colors: Color[]): void;