@playcanvas/react
Version:
A React renderer for PlayCanvas – build interactive 3D applications using React's declarative paradigm.
29 lines (28 loc) • 628 B
TypeScript
import { FC } from "react";
import { Asset } from "playcanvas";
interface EnvAtlasProps {
/**
* The asset to use for the environment atlas.
*/
asset: Asset;
/**
* The intensity of the skybox.
* @default 1
*/
skyboxIntensity?: number;
/**
* The luminance of the skybox.
* @default 1
*/
skyboxLuminance?: number;
/**
* Whether to show the skybox.
* @default true
*/
showSkybox?: boolean;
}
/**
* An environment atlas is a texture for rendering a skybox and global reflections.
*/
export declare const EnvAtlas: FC<EnvAtlasProps>;
export {};