@animech-public/playcanvas
Version:
PlayCanvas WebGL game engine
25 lines (24 loc) • 974 B
TypeScript
/**
* A visual representation of the sky.
*
* @ignore
*/
export class SkyMesh {
/**
* @param {import('../../platform/graphics/graphics-device.js').GraphicsDevice} device - The
* graphics device.
* @param {import('../scene.js').Scene} scene - The scene owning the sky.
* @param {import('../../platform/graphics/texture.js').Texture} texture - The texture of the sky.
* @param {string} type - The type of the sky. One of the SKYMESH_* constants.
*/
constructor(device: import("../../platform/graphics/graphics-device.js").GraphicsDevice, scene: import("../scene.js").Scene, node: any, texture: import("../../platform/graphics/texture.js").Texture, type: string);
/**
* Mesh instance representing the visuals of the sky.
*
* @type {MeshInstance|null}
*/
meshInstance: MeshInstance | null;
skyLayer: import("../layer.js").Layer;
destroy(): void;
}
import { MeshInstance } from '../mesh-instance.js';